Class BlockfileIndexer
java.lang.Object
io.datarouter.bytes.blockfile.io.write.BlockfileIndexer
-
Constructor Summary
ConstructorsConstructorDescriptionBlockfileIndexer(BlockfileWriterState writerState, int maxRecordsPerLevel, Optional<ByteLength> optTargetBlockSize, BlockfileIndexBlockCodec indexBlockCodec) -
Method Summary
Modifier and TypeMethodDescriptionio.datarouter.scanner.Scanner<BlockfileIndexTokens> io.datarouter.scanner.Scanner<BlockfileIndexTokens> voidonValueBlockWrite(long globalBlockId, long valueBlockId, BlockfileRowIdRange rowIdRange, BlockfileRowRange rowRange, BlockfileByteRange byteRange)
-
Constructor Details
-
BlockfileIndexer
public BlockfileIndexer(BlockfileWriterState writerState, int maxRecordsPerLevel, Optional<ByteLength> optTargetBlockSize, BlockfileIndexBlockCodec indexBlockCodec)
-
-
Method Details
-
onValueBlockWrite
public void onValueBlockWrite(long globalBlockId, long valueBlockId, BlockfileRowIdRange rowIdRange, BlockfileRowRange rowRange, BlockfileByteRange byteRange) -
drainCompletedBlocks
-
drainAllBlocks
-