Package io.datarouter.bytes.kvfile.merge
Record Class KvFileMergerParams.Nested.KvFileMergerWriteParams
java.lang.Object
java.lang.Record
io.datarouter.bytes.kvfile.merge.KvFileMergerParams.Nested.KvFileMergerWriteParams
- Enclosing class:
KvFileMergerParams.Nested
public static record KvFileMergerParams.Nested.KvFileMergerWriteParams(BlockfileCompressor compressor, ByteLength minBlockSize, int encodeBatchSize, ExecutorService encodeExec, ByteLength multipartUploadThreshold, int writeThreads, ExecutorService writeExec)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionKvFileMergerWriteParams(BlockfileCompressor compressor, ByteLength minBlockSize, int encodeBatchSize, ExecutorService encodeExec, ByteLength multipartUploadThreshold, int writeThreads, ExecutorService writeExec) Creates an instance of aKvFileMergerWriteParamsrecord 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 theminBlockSizerecord component.Returns the value of themultipartUploadThresholdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewriteExecrecord component.intReturns the value of thewriteThreadsrecord component.
-
Constructor Details
-
KvFileMergerWriteParams
public KvFileMergerWriteParams(BlockfileCompressor compressor, ByteLength minBlockSize, int encodeBatchSize, ExecutorService encodeExec, ByteLength multipartUploadThreshold, int writeThreads, ExecutorService writeExec) Creates an instance of aKvFileMergerWriteParamsrecord class.- Parameters:
compressor- 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
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
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
-