Class TimeIndexKey
- java.lang.Object
-
- org.apache.ignite.internal.cache.query.index.sorted.keys.TimeIndexKey
-
-
Constructor Summary
Constructors Constructor Description TimeIndexKey(long nanos)TimeIndexKey(Object obj)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(IndexKey o)Objectkey()longnanos()StringtoString()IndexKeyTypetype()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.internal.cache.query.index.sorted.keys.IndexKey
isComparableTo
-
-
-
-
Constructor Detail
-
TimeIndexKey
public TimeIndexKey(Object obj)
-
TimeIndexKey
public TimeIndexKey(long nanos)
-
-
Method Detail
-
nanos
public long nanos()
- Returns:
- nanoseconds since midnight.
-
type
public IndexKeyType type()
- Specified by:
typein interfaceIndexKey- Returns:
- Index key type
IndexKeyType.
-
compare
public int compare(IndexKey o)
-
-