Package io.trino.parquet.reader
Record Class RowGroupInfo
java.lang.Object
java.lang.Record
io.trino.parquet.reader.RowGroupInfo
public record RowGroupInfo(BlockMetadata blockMetaData, long fileRowOffset, Optional<org.apache.parquet.internal.filter2.columnindex.ColumnIndexStore> columnIndexStore)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRowGroupInfo(BlockMetadata blockMetaData, long fileRowOffset, Optional<org.apache.parquet.internal.filter2.columnindex.ColumnIndexStore> columnIndexStore) Creates an instance of aRowGroupInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblockMetaDatarecord component.Optional<org.apache.parquet.internal.filter2.columnindex.ColumnIndexStore> Returns the value of thecolumnIndexStorerecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of thefileRowOffsetrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RowGroupInfo
public RowGroupInfo(BlockMetadata blockMetaData, long fileRowOffset, Optional<org.apache.parquet.internal.filter2.columnindex.ColumnIndexStore> columnIndexStore) Creates an instance of aRowGroupInforecord class.- Parameters:
blockMetaData- the value for theblockMetaDatarecord componentfileRowOffset- the value for thefileRowOffsetrecord componentcolumnIndexStore- the value for thecolumnIndexStorerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 '=='. -
blockMetaData
Returns the value of theblockMetaDatarecord component.- Returns:
- the value of the
blockMetaDatarecord component
-
fileRowOffset
public long fileRowOffset()Returns the value of thefileRowOffsetrecord component.- Returns:
- the value of the
fileRowOffsetrecord component
-
columnIndexStore
public Optional<org.apache.parquet.internal.filter2.columnindex.ColumnIndexStore> columnIndexStore()Returns the value of thecolumnIndexStorerecord component.- Returns:
- the value of the
columnIndexStorerecord component
-