Record Class ColumnChunk
java.lang.Object
java.lang.Record
dev.hardwood.metadata.ColumnChunk
- Record Components:
metaData- column metadataoffsetIndexOffset- file offset of the offset index for this column chunk, ornullif absentoffsetIndexLength- length of the offset index in bytes, ornullif absentcolumnIndexOffset- file offset of the column index for this column chunk, ornullif absentcolumnIndexLength- length of the column index in bytes, ornullif absent
-
Constructor Summary
ConstructorsConstructorDescriptionColumnChunk(ColumnMetaData metaData, Long offsetIndexOffset, Integer offsetIndexLength, Long columnIndexOffset, Integer columnIndexLength) Creates an instance of aColumnChunkrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecolumnIndexLengthrecord component.Returns the value of thecolumnIndexOffsetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metaData()Returns the value of themetaDatarecord component.Returns the value of theoffsetIndexLengthrecord component.Returns the value of theoffsetIndexOffsetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ColumnChunk
public ColumnChunk(ColumnMetaData metaData, Long offsetIndexOffset, Integer offsetIndexLength, Long columnIndexOffset, Integer columnIndexLength) Creates an instance of aColumnChunkrecord class.- Parameters:
metaData- the value for themetaDatarecord componentoffsetIndexOffset- the value for theoffsetIndexOffsetrecord componentoffsetIndexLength- the value for theoffsetIndexLengthrecord componentcolumnIndexOffset- the value for thecolumnIndexOffsetrecord componentcolumnIndexLength- the value for thecolumnIndexLengthrecord 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). -
metaData
-
offsetIndexOffset
Returns the value of theoffsetIndexOffsetrecord component.- Returns:
- the value of the
offsetIndexOffsetrecord component
-
offsetIndexLength
Returns the value of theoffsetIndexLengthrecord component.- Returns:
- the value of the
offsetIndexLengthrecord component
-
columnIndexOffset
Returns the value of thecolumnIndexOffsetrecord component.- Returns:
- the value of the
columnIndexOffsetrecord component
-
columnIndexLength
Returns the value of thecolumnIndexLengthrecord component.- Returns:
- the value of the
columnIndexLengthrecord component
-