Class BlockfileReaderBuilder<T>
java.lang.Object
io.datarouter.bytes.blockfile.io.read.BlockfileReaderBuilder<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockfileReaderBuilder(BlockfileGroup<T> blockfile, BlockfileMetadataReader<T> metadataReader, Function<BlockfileRow, T> rowDecoder) -
Method Summary
Modifier and TypeMethodDescriptionbuild()setDecodeBatchSize(int decodeBatchSize) setDecodeThreads(io.datarouter.scanner.Threads decodeThreads) setReadChunkSize(ByteLength readChunkSize) setReadThreads(io.datarouter.scanner.Threads readThreads) setValidateChecksums(boolean validateChecksums)
-
Field Details
-
DEFAULT_READ_CHUNK_SIZE
-
DEFAULT_DECODE_BATCH_SIZE
public static final int DEFAULT_DECODE_BATCH_SIZE- See Also:
-
DEFAULT_VALIDATE_CHECKSUMS
public static final boolean DEFAULT_VALIDATE_CHECKSUMS- See Also:
-
-
Constructor Details
-
BlockfileReaderBuilder
public BlockfileReaderBuilder(BlockfileGroup<T> blockfile, BlockfileMetadataReader<T> metadataReader, Function<BlockfileRow, T> rowDecoder)
-
-
Method Details
-
setReadThreads
-
setReadChunkSize
-
setDecodeBatchSize
-
setDecodeThreads
-
setValidateChecksums
-
enableChecksumValidation
-
build
-