Record Class BlockfileHeaderBlock
java.lang.Object
java.lang.Record
io.datarouter.bytes.blockfile.block.decoded.BlockfileHeaderBlock
public record BlockfileHeaderBlock(BinaryDictionary userDictionary, BlockfileValueBlockFormat valueBlockFormat, BlockfileIndexBlockFormat indexBlockFormat, BlockfileCompressor compressor, BlockfileChecksummer checksummer)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionBlockfileHeaderBlock(BinaryDictionary userDictionary, BlockfileValueBlockFormat valueBlockFormat, BlockfileIndexBlockFormat indexBlockFormat, BlockfileCompressor compressor, BlockfileChecksummer checksummer) Creates an instance of aBlockfileHeaderBlockrecord 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.Returns the value of theindexBlockFormatrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserDictionaryrecord component.Returns the value of thevalueBlockFormatrecord component.
-
Constructor Details
-
BlockfileHeaderBlock
public BlockfileHeaderBlock(BinaryDictionary userDictionary, BlockfileValueBlockFormat valueBlockFormat, BlockfileIndexBlockFormat indexBlockFormat, BlockfileCompressor compressor, BlockfileChecksummer checksummer) Creates an instance of aBlockfileHeaderBlockrecord class.- Parameters:
userDictionary- the value for theuserDictionaryrecord componentvalueBlockFormat- the value for thevalueBlockFormatrecord componentindexBlockFormat- the value for theindexBlockFormatrecord 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). -
userDictionary
Returns the value of theuserDictionaryrecord component.- Returns:
- the value of the
userDictionaryrecord component
-
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
-
checksummer
Returns the value of thechecksummerrecord component.- Returns:
- the value of the
checksummerrecord component
-