Class DateIndexKey
- java.lang.Object
-
- org.apache.ignite.internal.cache.query.index.sorted.keys.DateTimeIndexKey
-
- org.apache.ignite.internal.cache.query.index.sorted.keys.DateIndexKey
-
- All Implemented Interfaces:
IndexKey
public class DateIndexKey extends DateTimeIndexKey
-
-
Constructor Summary
Constructors Constructor Description DateIndexKey(long dateVal)DateIndexKey(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()StringtoString()IndexKeyTypetype()-
Methods inherited from class org.apache.ignite.internal.cache.query.index.sorted.keys.DateTimeIndexKey
isComparableTo
-
-
-
-
Constructor Detail
-
DateIndexKey
public DateIndexKey(Object obj)
-
DateIndexKey
public DateIndexKey(long dateVal)
-
-
Method Detail
-
dateValue
public long dateValue()
- Returns:
- a date value
DateValueUtils.
-
type
public IndexKeyType type()
- Returns:
- Index key type
IndexKeyType.
-
key
public Object key()
- Returns:
- Value of this key.
-
compareTo
public int compareTo(long dateVal, long nanos)- Specified by:
compareToin classDateTimeIndexKey
-
compare
public int compare(IndexKey o)
- Returns:
- Comparison result with other IndexKey.
-
-