Record Class RowGroup
java.lang.Object
java.lang.Record
dev.hardwood.metadata.RowGroup
- Record Components:
columns- metadata for each column chunk in this row grouptotalByteSize- total byte size of all uncompressed column data in this row groupnumRows- number of rows in this row group
Row group metadata.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRowGroup(List<ColumnChunk> columns, long totalByteSize, long numRows) Creates an instance of aRowGrouprecord class. -
Method Summary
Modifier and TypeMethodDescriptioncolumns()Returns the value of thecolumnsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longnumRows()Returns the value of thenumRowsrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalByteSizerecord component.
-
Constructor Details
-
RowGroup
Creates an instance of aRowGrouprecord class.- Parameters:
columns- the value for thecolumnsrecord componenttotalByteSize- the value for thetotalByteSizerecord componentnumRows- the value for thenumRowsrecord 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 thecomparemethod from their corresponding wrapper classes. -
columns
-
totalByteSize
public long totalByteSize()Returns the value of thetotalByteSizerecord component.- Returns:
- the value of the
totalByteSizerecord component
-
numRows
-