Record Class BlockfileConcatenatingReader.BlockfileConcatenatingReaderConfig<T>
java.lang.Object
java.lang.Record
io.datarouter.bytes.blockfile.io.read.BlockfileConcatenatingReader.BlockfileConcatenatingReaderConfig<T>
- Enclosing class:
BlockfileConcatenatingReader<T>
public static record BlockfileConcatenatingReader.BlockfileConcatenatingReaderConfig<T>(BlockfileGroup<T> group, Function<BlockfileRow,T> rowDecoder, io.datarouter.scanner.Threads readThreads, ByteLength readChunkSize, ByteLength prefetchBufferSize, ExecutorService prefetchExec, int decodeBatchSize, io.datarouter.scanner.Threads decodeThreads, boolean validateChecksums)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBlockfileConcatenatingReaderConfig(BlockfileGroup<T> group, Function<BlockfileRow, T> rowDecoder, io.datarouter.scanner.Threads readThreads, ByteLength readChunkSize, ByteLength prefetchBufferSize, ExecutorService prefetchExec, int decodeBatchSize, io.datarouter.scanner.Threads decodeThreads, boolean validateChecksums) Creates an instance of aBlockfileConcatenatingReaderConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionapplyTo(BlockfileReaderBuilder<T> readerBuilder) intReturns the value of thedecodeBatchSizerecord component.io.datarouter.scanner.ThreadsReturns the value of thedecodeThreadsrecord component.final booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theprefetchBufferSizerecord component.Returns the value of theprefetchExecrecord component.Returns the value of thereadChunkSizerecord component.io.datarouter.scanner.ThreadsReturns the value of thereadThreadsrecord component.Returns the value of therowDecoderrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thevalidateChecksumsrecord component.
-
Constructor Details
-
BlockfileConcatenatingReaderConfig
public BlockfileConcatenatingReaderConfig(BlockfileGroup<T> group, Function<BlockfileRow, T> rowDecoder, io.datarouter.scanner.Threads readThreads, ByteLength readChunkSize, ByteLength prefetchBufferSize, ExecutorService prefetchExec, int decodeBatchSize, io.datarouter.scanner.Threads decodeThreads, boolean validateChecksums) Creates an instance of aBlockfileConcatenatingReaderConfigrecord class.- Parameters:
group- the value for thegrouprecord componentrowDecoder- the value for therowDecoderrecord componentreadThreads- the value for thereadThreadsrecord componentreadChunkSize- the value for thereadChunkSizerecord componentprefetchBufferSize- the value for theprefetchBufferSizerecord componentprefetchExec- the value for theprefetchExecrecord componentdecodeBatchSize- the value for thedecodeBatchSizerecord componentdecodeThreads- the value for thedecodeThreadsrecord componentvalidateChecksums- the value for thevalidateChecksumsrecord component
-
-
Method Details
-
applyTo
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
group
Returns the value of thegrouprecord component.- Returns:
- the value of the
grouprecord component
-
rowDecoder
Returns the value of therowDecoderrecord component.- Returns:
- the value of the
rowDecoderrecord component
-
readThreads
public io.datarouter.scanner.Threads readThreads()Returns the value of thereadThreadsrecord component.- Returns:
- the value of the
readThreadsrecord component
-
readChunkSize
Returns the value of thereadChunkSizerecord component.- Returns:
- the value of the
readChunkSizerecord component
-
prefetchBufferSize
Returns the value of theprefetchBufferSizerecord component.- Returns:
- the value of the
prefetchBufferSizerecord component
-
prefetchExec
Returns the value of theprefetchExecrecord component.- Returns:
- the value of the
prefetchExecrecord component
-
decodeBatchSize
public int decodeBatchSize()Returns the value of thedecodeBatchSizerecord component.- Returns:
- the value of the
decodeBatchSizerecord component
-
decodeThreads
public io.datarouter.scanner.Threads decodeThreads()Returns the value of thedecodeThreadsrecord component.- Returns:
- the value of the
decodeThreadsrecord component
-
validateChecksums
public boolean validateChecksums()Returns the value of thevalidateChecksumsrecord component.- Returns:
- the value of the
validateChecksumsrecord component
-