public class IndexCompositeKey<K extends BlueKey> extends java.lang.Object implements BlueKey
nullSafeClassComparator
Constructor and Description |
---|
IndexCompositeKey(K indexKey,
BlueKey valueKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getGroupingNumber()
Returns the grouping number which helps to determine the order and location of the key/value pairs on disk
|
K |
getIndexKey() |
BlueKey |
getValueKey() |
int |
hashCode() |
boolean |
isInRange(long min,
long max)
Returns true if this key's grouping number is in the range [min, max] inclusive, else false
|
int |
postGroupingNumberCompareTo(BlueKey other)
This is used to order the key/value pairs on disk.
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareCanonicalClassNames, compareCanonicalClassNames, compareTo, compareWithNullsLast, getIntegerIdIfPresent, getLongIdIfPresent, unsafeCompareCanonicalClassNames
public int postGroupingNumberCompareTo(BlueKey other)
BlueKey
postGroupingNumberCompareTo
in interface BlueKey
public long getGroupingNumber()
BlueKey
getGroupingNumber
in interface BlueKey
public int hashCode()
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isInRange(long min, long max)
BlueKey
public K getIndexKey()
public BlueKey getValueKey()