public class IndexKeyFactory extends Object
| Constructor and Description |
|---|
IndexKeyFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
register(int keyType,
Function<Object,IndexKey> wrapper)
Register wrapper for custom IndexKey type.
|
static void |
registerDateValueFactory(int keyType,
BiFunction<Long,Long,IndexKey> factory)
Register factory for date/time index key types.
|
static IndexKey |
wrap(Object o,
int keyType,
CacheObjectValueContext coctx,
IndexKeyTypeSettings keyTypeSettings)
Wraps user object to
IndexKey object. |
static IndexKey |
wrapDateValue(int keyType,
long dateVal,
long nanos)
Wraps a date value and nanos to related date/time IndexKey.
|
public static void register(int keyType,
Function<Object,IndexKey> wrapper)
public static void registerDateValueFactory(int keyType,
BiFunction<Long,Long,IndexKey> factory)
public static IndexKey wrapDateValue(int keyType, long dateVal, long nanos)
public static IndexKey wrap(Object o, int keyType, CacheObjectValueContext coctx, IndexKeyTypeSettings keyTypeSettings)
IndexKey object.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021