Interface LeafBlockEncoder
- All Superinterfaces:
BlockEncoder,DataBlockEncoder
- All Known Implementing Classes:
LeafBlockV1Encoder
public interface LeafBlockEncoder extends DataBlockEncoder
-
Field Summary
Fields Modifier and Type Field Description static Comparator<LeafBlockEncoder>BLOCK_ID_COMPARATOR -
Method Summary
Modifier and Type Method Description voidadd(int blockId, long keyId, SnapshotEntry entry, int[] valueBlockIds, int[] valueIndexes)voidassertKeysSorted()intblockId()EncodedBlockencode(BlockQueue.FileIdsAndEndings[] fileIdsAndEndings)byte[]firstKey()intfirstValueBlockId(int column)intnumValueBlocks(int column)Methods inherited from interface io.datarouter.filesystem.snapshot.encode.DataBlockEncoder
numBytes, numRecords
-
Field Details
-
Method Details
-
add
-
firstKey
byte[] firstKey() -
assertKeysSorted
void assertKeysSorted() -
blockId
int blockId() -
firstValueBlockId
int firstValueBlockId(int column) -
numValueBlocks
int numValueBlocks(int column) -
encode
-