Class TimestampIndexKey
- java.lang.Object
-
- org.apache.ignite.internal.cache.query.index.sorted.keys.DateTimeIndexKey
-
- org.apache.ignite.internal.cache.query.index.sorted.keys.TimestampIndexKey
-
- All Implemented Interfaces:
IndexKey
public class TimestampIndexKey extends DateTimeIndexKey
-
-
Constructor Summary
Constructors Constructor Description TimestampIndexKey(long dateVal, long nanos)TimestampIndexKey(Object obj)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(IndexKey o)intcompareTo(long dateVal, long nanos)longdateValue()Objectkey()longnanos()StringtoString()IndexKeyTypetype()-
Methods inherited from class org.apache.ignite.internal.cache.query.index.sorted.keys.DateTimeIndexKey
isComparableTo
-
-
-
-
Constructor Detail
-
TimestampIndexKey
public TimestampIndexKey(Object obj)
-
TimestampIndexKey
public TimestampIndexKey(long dateVal, long nanos)
-
-
Method Detail
-
key
public Object key()
- Returns:
- Value of this key.
-
dateValue
public long dateValue()
- Returns:
- a date value
DateValueUtils.
-
nanos
public long nanos()
- Returns:
- nanoseconds since midnight.
-
type
public IndexKeyType type()
- Returns:
- Index key type
IndexKeyType.
-
compareTo
public int compareTo(long dateVal, long nanos)- Specified by:
compareToin classDateTimeIndexKey
-
compare
public int compare(IndexKey o)
- Returns:
- Comparison result with other IndexKey.
-
-