Record Class BlockfileValueBlockEncoder.BlockfileValueBlockEncoderConfig
java.lang.Object
java.lang.Record
io.datarouter.bytes.blockfile.encoding.valueblock.BlockfileValueBlockEncoder.BlockfileValueBlockEncoderConfig
- Enclosing class:
BlockfileValueBlockEncoder
public static record BlockfileValueBlockEncoder.BlockfileValueBlockEncoderConfig(BlockfileValueBlockFormat valueBlockFormat, BlockfileCompressor compressor, BlockfileChecksummer checksummer)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBlockfileValueBlockEncoderConfig(BlockfileValueBlockFormat valueBlockFormat, BlockfileCompressor compressor, BlockfileChecksummer checksummer) Creates an instance of aBlockfileValueBlockEncoderConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechecksummerrecord component.Returns the value of thecompressorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of thevalueBlockFormatrecord component.
-
Constructor Details
-
BlockfileValueBlockEncoderConfig
public BlockfileValueBlockEncoderConfig(BlockfileValueBlockFormat valueBlockFormat, BlockfileCompressor compressor, BlockfileChecksummer checksummer) Creates an instance of aBlockfileValueBlockEncoderConfigrecord class.- Parameters:
valueBlockFormat- the value for thevalueBlockFormatrecord componentcompressor- the value for thecompressorrecord componentchecksummer- the value for thechecksummerrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
valueBlockFormat
Returns the value of thevalueBlockFormatrecord component.- Returns:
- the value of the
valueBlockFormatrecord component
-
compressor
Returns the value of thecompressorrecord component.- Returns:
- the value of the
compressorrecord component
-
checksummer
Returns the value of thechecksummerrecord component.- Returns:
- the value of the
checksummerrecord component
-