Class BlockfileV1IndexBlockCodec
java.lang.Object
io.datarouter.bytes.blockfile.encoding.indexblock.impl.BlockfileV1IndexBlockCodec
- All Implemented Interfaces:
BlockfileIndexBlockCodec
Sections:
- block length
- block type
- number of index entries
- children info table: blockId, fromItemId, toItemId, fromBytes, length, indexEntryOffset
- concatenation of index entries
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecode(byte[] bytes) decodeChild(BlockfileIndexBlock indexBlock, int childIndex) encode(BlockfileIndexBlockInput input) intestEncodedBytes(BlockfileIndexEntry indexEntry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.bytes.blockfile.encoding.indexblock.BlockfileIndexBlockCodec
childContainingRowId, childContainingValueBlockId, firstChild, firstChildContainingKey, lastChild, lastChildContainingKey, rangeEndIndex, rangeStartIndex, scanChildren, scanChildrenDesc
-
Constructor Details
-
BlockfileV1IndexBlockCodec
public BlockfileV1IndexBlockCodec()
-
-
Method Details
-
estEncodedBytes
- Specified by:
estEncodedBytesin interfaceBlockfileIndexBlockCodec
-
encode
- Specified by:
encodein interfaceBlockfileIndexBlockCodec
-
decode
- Specified by:
decodein interfaceBlockfileIndexBlockCodec
-
decodeChild
- Specified by:
decodeChildin interfaceBlockfileIndexBlockCodec
-