Class BlockfileRowVersion
java.lang.Object
io.datarouter.bytes.blockfile.row.BlockfileRowVersion
Equivalent to BlockfileRow but without the value field.
The encoding should match BlockfileRow but without the value information.
-
Constructor Summary
ConstructorsConstructorDescriptionBlockfileRowVersion(byte[] bytes, int offset, int length, int keyOffset, int keyLength, int versionOffset, int versionLength, BlockfileRowOp op) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]static intcompareKey(BlockfileRowVersion left, BlockfileRowVersion right) intcompareKeyBytes(byte[] otherBytes, int otherOffset, int otherLength) static intintcompareToKey(byte[] otherKey) static intcompareVersion(BlockfileRowVersion left, BlockfileRowVersion right) byte[]byte[]byte[]static BlockfileRowVersioncreate(byte[] key, byte[] version, BlockfileRowOp op) booleanbooleanequalsKeyBytes(byte[] otherBytes, int otherOffset, int otherLength) static booleanequalsKeyOptimized(BlockfileRowVersion left, BlockfileRowVersion right) static booleanequalsVersion(BlockfileRowVersion left, BlockfileRowVersion right) inthashCode()intintintlength()intoffset()op()static BlockfileRowVersionputWithoutVersion(byte[] key) toString()intint
-
Constructor Details
-
BlockfileRowVersion
public BlockfileRowVersion(byte[] bytes, int offset, int length, int keyOffset, int keyLength, int versionOffset, int versionLength, BlockfileRowOp op)
-
-
Method Details
-
create
-
putWithoutVersion
-
compareKeyBytes
public int compareKeyBytes(byte[] otherBytes, int otherOffset, int otherLength) -
equalsKeyBytes
public boolean equalsKeyBytes(byte[] otherBytes, int otherOffset, int otherLength) -
equalsKeyOptimized
-
equalsVersion
-
equals
-
hashCode
-
compareToKey
public int compareToKey(byte[] otherKey) -
compareKey
-
compareVersion
-
compareKeyVersionOpOptimized
-
backingBytes
public byte[] backingBytes() -
copyOfBytes
public byte[] copyOfBytes() -
offset
public int offset() -
length
public int length() -
keyOffset
public int keyOffset() -
keyLength
public int keyLength() -
copyOfKey
public byte[] copyOfKey() -
versionOffset
public int versionOffset() -
versionLength
public int versionLength() -
copyOfVersion
public byte[] copyOfVersion() -
op
-
toString
-