Interface BlockfileIndexBlockCodec
- All Known Implementing Classes:
BlockfileV1IndexBlockCodec
public interface BlockfileIndexBlockCodec
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault BlockfileIndexEntrychildContainingRowId(BlockfileIndexBlock block, long rowId) default BlockfileIndexEntrychildContainingValueBlockId(BlockfileIndexBlock block, long valueBlockId) decode(byte[] bytes) decodeChild(BlockfileIndexBlock block, int childIndex) encode(BlockfileIndexBlockInput input) intestEncodedBytes(BlockfileIndexEntry indexEntry) default BlockfileIndexEntryfirstChild(BlockfileIndexBlock block) default Optional<BlockfileIndexEntry> firstChildContainingKey(BlockfileIndexBlock block, byte[] key) default BlockfileIndexEntrylastChild(BlockfileIndexBlock block) default Optional<BlockfileIndexEntry> lastChildContainingKey(BlockfileIndexBlock block, byte[] key) default intrangeEndIndex(BlockfileIndexBlock block, byte[] key) default intrangeStartIndex(BlockfileIndexBlock block, byte[] key) default io.datarouter.scanner.Scanner<BlockfileIndexEntry> scanChildren(BlockfileIndexBlock block) default io.datarouter.scanner.Scanner<BlockfileIndexEntry>
-
Field Details
-
logger
static final org.slf4j.Logger logger
-
-
Method Details
-
encode
-
decode
-
estEncodedBytes
-
decodeChild
-
firstChild
-
lastChild
-
scanChildren
-
scanChildrenDesc
default io.datarouter.scanner.Scanner<BlockfileIndexEntry> scanChildrenDesc(BlockfileIndexBlock block) -
childContainingValueBlockId
default BlockfileIndexEntry childContainingValueBlockId(BlockfileIndexBlock block, long valueBlockId) -
childContainingRowId
-
firstChildContainingKey
default Optional<BlockfileIndexEntry> firstChildContainingKey(BlockfileIndexBlock block, byte[] key) -
lastChildContainingKey
-
rangeStartIndex
-
rangeEndIndex
-