Interface BranchBlockEncoder
- All Superinterfaces:
BlockEncoder,DataBlockEncoder
- All Known Implementing Classes:
BranchBlockV1Encoder
public interface BranchBlockEncoder extends DataBlockEncoder
-
Field Summary
Fields Modifier and Type Field Description static Comparator<BranchBlockEncoder>LEVEL_AND_BLOCK_ID_COMPARATOR -
Method Summary
Modifier and Type Method Description voidadd(int blockId, long keyId, SnapshotEntry entry, int childBlockId)intblockId()EncodedBlockencode(BlockQueue.FileIdsAndEndings fileIdsAndEndings)intfirstChildBlockId()default booleanisEmpty()intlevel()Methods inherited from interface io.datarouter.filesystem.snapshot.encode.BlockEncoder
formatMethods inherited from interface io.datarouter.filesystem.snapshot.encode.DataBlockEncoder
numBytes, numRecords
-
Field Details
-
LEVEL_AND_BLOCK_ID_COMPARATOR
-
-
Method Details
-
add
-
level
int level() -
blockId
int blockId() -
firstChildBlockId
int firstChildBlockId() -
isEmpty
default boolean isEmpty() -
encode
-