public final class IntegerKey extends ValueKey
BlueCollection or BlueIndex. Values inserted with
this key will be ordered and will fill up an entire segment before creating a new one. I-node usage will grow
as new segments are needed.nullSafeClassComparator| Constructor and Description |
|---|
IntegerKey(int id) |
| 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
|
int |
getId() |
java.lang.Integer |
getIntegerIdIfPresent()
Convenience method to get the underlying Integer value if this is a IntegerKey
|
int |
hashCode() |
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, waitcompareCanonicalClassNames, compareCanonicalClassNames, compareTo, compareWithNullsLast, getLongIdIfPresent, isInRange, unsafeCompareCanonicalClassNamespublic int getId()
public long getGroupingNumber()
BlueKeypublic int hashCode()
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
toString in class java.lang.Objectpublic int postGroupingNumberCompareTo(BlueKey other)
BlueKeypublic java.lang.Integer getIntegerIdIfPresent()
BlueKey