Record Class BlockfileFooterBlock
java.lang.Object
java.lang.Record
io.datarouter.bytes.blockfile.block.decoded.BlockfileFooterBlock
public record BlockfileFooterBlock(RecordByteArrayField headerBytes, BinaryDictionary userDictionary, BlockfileLocation headerBlockLocation, BlockfileLocation rootIndexBlockLocation, long numValueBlocks, long numIndexBlocks)
extends Record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockfileFooterBlock(RecordByteArrayField headerBytes, BinaryDictionary userDictionary, BlockfileLocation headerBlockLocation, BlockfileLocation rootIndexBlockLocation, long numValueBlocks, long numIndexBlocks) Creates an instance of aBlockfileFooterBlockrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theheaderBlockLocationrecord component.Returns the value of theheaderBytesrecord component.longReturns the value of thenumIndexBlocksrecord component.longReturns the value of thenumValueBlocksrecord component.Returns the value of therootIndexBlockLocationrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserDictionaryrecord component.
-
Field Details
-
VALUE_CODEC
-
-
Constructor Details
-
BlockfileFooterBlock
public BlockfileFooterBlock(RecordByteArrayField headerBytes, BinaryDictionary userDictionary, BlockfileLocation headerBlockLocation, BlockfileLocation rootIndexBlockLocation, long numValueBlocks, long numIndexBlocks) Creates an instance of aBlockfileFooterBlockrecord class.- Parameters:
headerBytes- the value for theheaderBytesrecord componentuserDictionary- the value for theuserDictionaryrecord componentheaderBlockLocation- the value for theheaderBlockLocationrecord componentrootIndexBlockLocation- the value for therootIndexBlockLocationrecord componentnumValueBlocks- the value for thenumValueBlocksrecord componentnumIndexBlocks- the value for thenumIndexBlocksrecord 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 '=='. -
headerBytes
Returns the value of theheaderBytesrecord component.- Returns:
- the value of the
headerBytesrecord component
-
userDictionary
Returns the value of theuserDictionaryrecord component.- Returns:
- the value of the
userDictionaryrecord component
-
headerBlockLocation
Returns the value of theheaderBlockLocationrecord component.- Returns:
- the value of the
headerBlockLocationrecord component
-
rootIndexBlockLocation
Returns the value of therootIndexBlockLocationrecord component.- Returns:
- the value of the
rootIndexBlockLocationrecord component
-
numValueBlocks
public long numValueBlocks()Returns the value of thenumValueBlocksrecord component.- Returns:
- the value of the
numValueBlocksrecord component
-
numIndexBlocks
public long numIndexBlocks()Returns the value of thenumIndexBlocksrecord component.- Returns:
- the value of the
numIndexBlocksrecord component
-