Package org.apache.ignite.index
Interface BinaryLongIndexRow
-
- All Superinterfaces:
Comparable<BinaryLongIndexRow>
public interface BinaryLongIndexRow extends Comparable<BinaryLongIndexRow>
Byte array key and long value row.Each index row may be either a normal row, or a tombstone. Tombstones are used to explicitly mark removed rows if ordinary removal is not suitable.
Rows are compared by key and value. A normal row and a tombstone row with equal keys and values are considered equal.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static BinaryLongIndexRow
createRow(int keyHash, byte[] key, long value)
static BinaryLongIndexRow
createTombstone(int keyHash, byte[] key, long value)
byte[]
getKey()
int
getKeyHash()
long
getValue()
boolean
isTombstone()
static BinaryLongIndexRow
lowerBound(int keyHash, byte[] key)
static BinaryLongIndexRow
upperBound(int keyHash, byte[] key)
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
getKeyHash
int getKeyHash()
-
getKey
byte[] getKey()
-
getValue
long getValue()
-
isTombstone
boolean isTombstone()
-
lowerBound
static BinaryLongIndexRow lowerBound(int keyHash, byte[] key)
-
upperBound
static BinaryLongIndexRow upperBound(int keyHash, byte[] key)
-
createRow
static BinaryLongIndexRow createRow(int keyHash, byte[] key, long value)
-
createTombstone
static BinaryLongIndexRow createTombstone(int keyHash, byte[] key, long value)
-
-