Package org.apache.parquet.format
Class RowGroup
java.lang.Object
org.apache.parquet.format.RowGroup
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<RowGroup>,org.apache.thrift.TBase<RowGroup,,RowGroup._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.23.0)",
date="2026-08-06")
public class RowGroup
extends Object
implements org.apache.thrift.TBase<RowGroup,RowGroup._Fields>, Serializable, Cloneable, Comparable<RowGroup>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionMetadata for each column chunk in this row group.longByte offset from beginning of file to first page (data or dictionary) in this row group *static final Map<RowGroup._Fields,org.apache.thrift.meta_data.FieldMetaData> longNumber of rows in this row group *shortRow group ordinal in the file *If set, specifies a sort ordering of the rows in this RowGroup.longTotal byte size of all the uncompressed column data in this row group *longTotal byte size of all compressed (and potentially encrypted) column data in this row group * -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToColumns(ColumnChunk elem) voidvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) Metadata for each column chunk in this row group.intgetFieldValue(RowGroup._Fields field) longByte offset from beginning of file to first page (data or dictionary) in this row group *longNumber of rows in this row group *shortRow group ordinal in the file *If set, specifies a sort ordering of the rows in this RowGroup.intlongTotal byte size of all the uncompressed column data in this row group *longTotal byte size of all compressed (and potentially encrypted) column data in this row group *inthashCode()booleanisSet(RowGroup._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field columns is set (has been assigned a value) and false otherwisebooleanReturns true if field file_offset is set (has been assigned a value) and false otherwisebooleanReturns true if field num_rows is set (has been assigned a value) and false otherwisebooleanReturns true if field ordinal is set (has been assigned a value) and false otherwisebooleanReturns true if field sorting_columns is set (has been assigned a value) and false otherwisebooleanReturns true if field total_byte_size is set (has been assigned a value) and false otherwisebooleanReturns true if field total_compressed_size is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setColumns(List<ColumnChunk> columns) Metadata for each column chunk in this row group.voidsetColumnsIsSet(boolean value) voidsetFieldValue(RowGroup._Fields field, Object value) setFile_offset(long file_offset) Byte offset from beginning of file to first page (data or dictionary) in this row group *voidsetFile_offsetIsSet(boolean value) setNum_rows(long num_rows) Number of rows in this row group *voidsetNum_rowsIsSet(boolean value) setOrdinal(short ordinal) Row group ordinal in the file *voidsetOrdinalIsSet(boolean value) setSorting_columns(List<SortingColumn> sorting_columns) If set, specifies a sort ordering of the rows in this RowGroup.voidsetSorting_columnsIsSet(boolean value) setTotal_byte_size(long total_byte_size) Total byte size of all the uncompressed column data in this row group *voidsetTotal_byte_sizeIsSet(boolean value) setTotal_compressed_size(long total_compressed_size) Total byte size of all compressed (and potentially encrypted) column data in this row group *voidsetTotal_compressed_sizeIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
columns
Metadata for each column chunk in this row group. This list must have the same order as the SchemaElement list in FileMetaData. -
total_byte_size
public long total_byte_sizeTotal byte size of all the uncompressed column data in this row group * -
num_rows
public long num_rowsNumber of rows in this row group * -
sorting_columns
If set, specifies a sort ordering of the rows in this RowGroup. The sorting columns can be a subset of all the columns. -
file_offset
public long file_offsetByte offset from beginning of file to first page (data or dictionary) in this row group * -
total_compressed_size
public long total_compressed_sizeTotal byte size of all compressed (and potentially encrypted) column data in this row group * -
ordinal
public short ordinalRow group ordinal in the file * -
metaDataMap
-
-
Constructor Details
-
RowGroup
public RowGroup() -
RowGroup
-
RowGroup
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<RowGroup,RowGroup._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<RowGroup,RowGroup._Fields>
-
getColumnsSize
public int getColumnsSize() -
getColumnsIterator
-
addToColumns
-
getColumns
Metadata for each column chunk in this row group. This list must have the same order as the SchemaElement list in FileMetaData. -
setColumns
Metadata for each column chunk in this row group. This list must have the same order as the SchemaElement list in FileMetaData. -
unsetColumns
public void unsetColumns() -
isSetColumns
public boolean isSetColumns()Returns true if field columns is set (has been assigned a value) and false otherwise -
setColumnsIsSet
public void setColumnsIsSet(boolean value) -
getTotal_byte_size
public long getTotal_byte_size()Total byte size of all the uncompressed column data in this row group * -
setTotal_byte_size
Total byte size of all the uncompressed column data in this row group * -
unsetTotal_byte_size
public void unsetTotal_byte_size() -
isSetTotal_byte_size
public boolean isSetTotal_byte_size()Returns true if field total_byte_size is set (has been assigned a value) and false otherwise -
setTotal_byte_sizeIsSet
public void setTotal_byte_sizeIsSet(boolean value) -
getNum_rows
public long getNum_rows()Number of rows in this row group * -
setNum_rows
Number of rows in this row group * -
unsetNum_rows
public void unsetNum_rows() -
isSetNum_rows
public boolean isSetNum_rows()Returns true if field num_rows is set (has been assigned a value) and false otherwise -
setNum_rowsIsSet
public void setNum_rowsIsSet(boolean value) -
getSorting_columnsSize
public int getSorting_columnsSize() -
getSorting_columnsIterator
-
addToSorting_columns
-
getSorting_columns
If set, specifies a sort ordering of the rows in this RowGroup. The sorting columns can be a subset of all the columns. -
setSorting_columns
If set, specifies a sort ordering of the rows in this RowGroup. The sorting columns can be a subset of all the columns. -
unsetSorting_columns
public void unsetSorting_columns() -
isSetSorting_columns
public boolean isSetSorting_columns()Returns true if field sorting_columns is set (has been assigned a value) and false otherwise -
setSorting_columnsIsSet
public void setSorting_columnsIsSet(boolean value) -
getFile_offset
public long getFile_offset()Byte offset from beginning of file to first page (data or dictionary) in this row group * -
setFile_offset
Byte offset from beginning of file to first page (data or dictionary) in this row group * -
unsetFile_offset
public void unsetFile_offset() -
isSetFile_offset
public boolean isSetFile_offset()Returns true if field file_offset is set (has been assigned a value) and false otherwise -
setFile_offsetIsSet
public void setFile_offsetIsSet(boolean value) -
getTotal_compressed_size
public long getTotal_compressed_size()Total byte size of all compressed (and potentially encrypted) column data in this row group * -
setTotal_compressed_size
Total byte size of all compressed (and potentially encrypted) column data in this row group * -
unsetTotal_compressed_size
public void unsetTotal_compressed_size() -
isSetTotal_compressed_size
public boolean isSetTotal_compressed_size()Returns true if field total_compressed_size is set (has been assigned a value) and false otherwise -
setTotal_compressed_sizeIsSet
public void setTotal_compressed_sizeIsSet(boolean value) -
getOrdinal
public short getOrdinal()Row group ordinal in the file * -
setOrdinal
Row group ordinal in the file * -
unsetOrdinal
public void unsetOrdinal() -
isSetOrdinal
public boolean isSetOrdinal()Returns true if field ordinal is set (has been assigned a value) and false otherwise -
setOrdinalIsSet
public void setOrdinalIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<RowGroup,RowGroup._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<RowGroup,RowGroup._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<RowGroup,RowGroup._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<RowGroup>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<RowGroup,RowGroup._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException - Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-