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 Details

    • KvFileMergerWriteParams

      public KvFileMergerWriteParams(BlockfileCompressor compressor, ByteLength minBlockSize, int encodeBatchSize, ExecutorService encodeExec, ByteLength multipartUploadThreshold, int writeThreads, ExecutorService writeExec)
      Creates an instance of a KvFileMergerWriteParams record class.
      Parameters:
      compressor - the value for the compressor record component
      minBlockSize - the value for the minBlockSize record component
      encodeBatchSize - the value for the encodeBatchSize record component
      encodeExec - the value for the encodeExec record component
      multipartUploadThreshold - the value for the multipartUploadThreshold record component
      writeThreads - the value for the writeThreads record component
      writeExec - the value for the writeExec record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • compressor

      public BlockfileCompressor compressor()
      Returns the value of the compressor record component.
      Returns:
      the value of the compressor record component
    • minBlockSize

      public ByteLength minBlockSize()
      Returns the value of the minBlockSize record component.
      Returns:
      the value of the minBlockSize record component
    • encodeBatchSize

      public int encodeBatchSize()
      Returns the value of the encodeBatchSize record component.
      Returns:
      the value of the encodeBatchSize record component
    • encodeExec

      public ExecutorService encodeExec()
      Returns the value of the encodeExec record component.
      Returns:
      the value of the encodeExec record component
    • multipartUploadThreshold

      public ByteLength multipartUploadThreshold()
      Returns the value of the multipartUploadThreshold record component.
      Returns:
      the value of the multipartUploadThreshold record component
    • writeThreads

      public int writeThreads()
      Returns the value of the writeThreads record component.
      Returns:
      the value of the writeThreads record component
    • writeExec

      public ExecutorService writeExec()
      Returns the value of the writeExec record component.
      Returns:
      the value of the writeExec record component