Class JavaObjectIndexKey
- java.lang.Object
-
- org.apache.ignite.internal.cache.query.index.sorted.keys.JavaObjectIndexKey
-
- All Implemented Interfaces:
IndexKey
- Direct Known Subclasses:
CacheJavaObjectIndexKey,PlainJavaObjectIndexKey
public abstract class JavaObjectIndexKey extends Object implements IndexKey
Represents an index key that stores as Java Object.IndexKeyType.JAVA_OBJECT.
-
-
Constructor Summary
Constructors Constructor Description JavaObjectIndexKey()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description byte[]bytes()abstract byte[]bytesNoCopy()intcompare(IndexKey o)inthashCode()StringtoString()IndexKeyTypetype()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.cache.query.index.sorted.keys.IndexKey
isComparableTo, key
-
-
-
-
Method Detail
-
type
public IndexKeyType type()
- Specified by:
typein interfaceIndexKey- Returns:
- Index key type
IndexKeyType.
-
compare
public int compare(IndexKey o)
-
bytesNoCopy
public abstract byte[] bytesNoCopy()
- Returns:
- Cached byte array that represents a Java object.
-
bytes
public byte[] bytes()
- Returns:
- Byte array that represents a Java object.
-
-