Record Class BlockfileMergerParams.BlockfileMergerWriteParams
java.lang.Object
java.lang.Record
io.datarouter.bytes.blockfile.io.merge.BlockfileMergerParams.BlockfileMergerWriteParams
- Enclosing class:
BlockfileMergerParams
public static record BlockfileMergerParams.BlockfileMergerWriteParams(BlockfileValueBlockFormat valueBlockFormat, BlockfileIndexBlockFormat indexBlockFormat, BlockfileCompressor compressor, ByteLength minBlockSize, int encodeBatchSize, ExecutorService encodeExec, ByteLength multipartUploadThreshold, int writeThreads, ExecutorService writeExec)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBlockfileMergerWriteParams(BlockfileValueBlockFormat valueBlockFormat, BlockfileIndexBlockFormat indexBlockFormat, BlockfileCompressor compressor, ByteLength minBlockSize, int encodeBatchSize, ExecutorService encodeExec, ByteLength multipartUploadThreshold, int writeThreads, ExecutorService writeExec) Creates an instance of aBlockfileMergerWriteParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecompressorrecord component.intReturns the value of theencodeBatchSizerecord component.Returns the value of theencodeExecrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theindexBlockFormatrecord component.Returns the value of theminBlockSizerecord component.Returns the value of themultipartUploadThresholdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalueBlockFormatrecord component.Returns the value of thewriteExecrecord component.intReturns the value of thewriteThreadsrecord component.
-
Constructor Details
-
BlockfileMergerWriteParams
public BlockfileMergerWriteParams(BlockfileValueBlockFormat valueBlockFormat, BlockfileIndexBlockFormat indexBlockFormat, BlockfileCompressor compressor, ByteLength minBlockSize, int encodeBatchSize, ExecutorService encodeExec, ByteLength multipartUploadThreshold, int writeThreads, ExecutorService writeExec) Creates an instance of aBlockfileMergerWriteParamsrecord class.- Parameters:
valueBlockFormat- the value for thevalueBlockFormatrecord componentindexBlockFormat- the value for theindexBlockFormatrecord componentcompressor- the value for thecompressorrecord componentminBlockSize- the value for theminBlockSizerecord componentencodeBatchSize- the value for theencodeBatchSizerecord componentencodeExec- the value for theencodeExecrecord componentmultipartUploadThreshold- the value for themultipartUploadThresholdrecord componentwriteThreads- the value for thewriteThreadsrecord componentwriteExec- the value for thewriteExecrecord component
-
-
Method Details
-
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 '=='. -
valueBlockFormat
Returns the value of thevalueBlockFormatrecord component.- Returns:
- the value of the
valueBlockFormatrecord component
-
indexBlockFormat
Returns the value of theindexBlockFormatrecord component.- Returns:
- the value of the
indexBlockFormatrecord component
-
compressor
Returns the value of thecompressorrecord component.- Returns:
- the value of the
compressorrecord component
-
minBlockSize
Returns the value of theminBlockSizerecord component.- Returns:
- the value of the
minBlockSizerecord component
-
encodeBatchSize
public int encodeBatchSize()Returns the value of theencodeBatchSizerecord component.- Returns:
- the value of the
encodeBatchSizerecord component
-
encodeExec
Returns the value of theencodeExecrecord component.- Returns:
- the value of the
encodeExecrecord component
-
multipartUploadThreshold
Returns the value of themultipartUploadThresholdrecord component.- Returns:
- the value of the
multipartUploadThresholdrecord component
-
writeThreads
public int writeThreads()Returns the value of thewriteThreadsrecord component.- Returns:
- the value of the
writeThreadsrecord component
-
writeExec
Returns the value of thewriteExecrecord component.- Returns:
- the value of the
writeExecrecord component
-