Interface IndexKey
-
- All Known Implementing Classes:
BooleanIndexKey,ByteIndexKey,BytesIndexKey,CacheJavaObjectIndexKey,DateIndexKey,DateTimeIndexKey,DecimalIndexKey,DoubleIndexKey,FloatIndexKey,IntegerIndexKey,JavaObjectIndexKey,LongIndexKey,NullIndexKey,NumericIndexKey,PlainJavaObjectIndexKey,ShortIndexKey,SignedBytesIndexKey,StringIndexKey,TimeIndexKey,TimestampIndexKey,UuidIndexKey
public interface IndexKeyClass that represnts a single index key.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description intcompare(IndexKey o)default booleanisComparableTo(IndexKey k)Objectkey()IndexKeyTypetype()
-
-
-
Method Detail
-
key
Object key()
- Returns:
- Value of this key.
-
type
IndexKeyType type()
- Returns:
- Index key type
IndexKeyType.
-
compare
int compare(IndexKey o) throws IgniteCheckedException
- Returns:
- Comparison result with other IndexKey.
- Throws:
IgniteCheckedException
-
isComparableTo
default boolean isComparableTo(IndexKey k)
- Returns:
Trueif index key can be compared to another index key (in case keys have different types).
-
-