Record Class RowGroup
java.lang.Object
java.lang.Record
dev.hardwood.metadata.RowGroup
Row group metadata.
-
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
Returns the value of thecolumnsrecord component.- Returns:
- the value of the
columnsrecord component
-
totalByteSize
public long totalByteSize()Returns the value of thetotalByteSizerecord component.- Returns:
- the value of the
totalByteSizerecord component
-
numRows
public long numRows()Returns the value of thenumRowsrecord component.- Returns:
- the value of the
numRowsrecord component
-