Class InlineIndexKeyTypeRegistry
- java.lang.Object
-
- org.apache.ignite.internal.cache.query.index.sorted.inline.InlineIndexKeyTypeRegistry
-
public class InlineIndexKeyTypeRegistry extends Object
Provide mapping for java types andIndexKeyTypethat supports inlining.
-
-
Constructor Summary
Constructors Constructor Description InlineIndexKeyTypeRegistry()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InlineIndexKeyTypeget(IndexKeyType expType, IndexKeyTypeSettings keyTypeSettings)Get key type for a class.static InlineIndexKeyTypeget(IndexKey key, IndexKeyType expType, IndexKeyTypeSettings keyTypeSettings)Get key type for specified key.static List<InlineIndexKeyType>types(Collection<IndexKeyDefinition> keyDefs, IndexKeyTypeSettings settings)Return list of key types for specified key definitions and key type settings.
-
-
-
Method Detail
-
get
public static InlineIndexKeyType get(IndexKeyType expType, IndexKeyTypeSettings keyTypeSettings)
Get key type for a class. Used for user queries, where getting type from class. Type is required for cases when class doesn't have strict type relation (nulls, POJO).- Parameters:
expType- Expected type of a key.
-
get
public static InlineIndexKeyType get(IndexKey key, IndexKeyType expType, IndexKeyTypeSettings keyTypeSettings)
Get key type for specified key. Used for user queries, where getting type from class. Type is required for cases when class doesn't have strict type relation (nulls, POJO).- Parameters:
key- Index key.expType- Expected type of a key.keyTypeSettings- Index key type settings.
-
types
public static List<InlineIndexKeyType> types(Collection<IndexKeyDefinition> keyDefs, IndexKeyTypeSettings settings)
Return list of key types for specified key definitions and key type settings.
-
-