@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2024-10-26") public class RowGroup extends Object implements org.apache.thrift.TBase<RowGroup,RowGroup._Fields>, Serializable, Cloneable, Comparable<RowGroup>
Modifier and Type | Class and Description |
---|---|
static class |
RowGroup._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
List<ColumnChunk> |
columns
Metadata for each column chunk in this row group.
|
long |
file_offset
Byte offset from beginning of file to first page (data or dictionary)
in this row group *
|
static Map<RowGroup._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
num_rows
Number of rows in this row group *
|
short |
ordinal
Row group ordinal in the file *
|
List<SortingColumn> |
sorting_columns
If set, specifies a sort ordering of the rows in this RowGroup.
|
long |
total_byte_size
Total byte size of all the uncompressed column data in this row group *
|
long |
total_compressed_size
Total byte size of all compressed (and potentially encrypted) column data
in this row group *
|
Constructor and Description |
---|
RowGroup() |
RowGroup(List<ColumnChunk> columns,
long total_byte_size,
long num_rows) |
RowGroup(RowGroup other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToColumns(ColumnChunk elem) |
void |
addToSorting_columns(SortingColumn elem) |
void |
clear() |
int |
compareTo(RowGroup other) |
RowGroup |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(RowGroup that) |
RowGroup._Fields |
fieldForId(int fieldId) |
List<ColumnChunk> |
getColumns()
Metadata for each column chunk in this row group.
|
Iterator<ColumnChunk> |
getColumnsIterator() |
int |
getColumnsSize() |
Object |
getFieldValue(RowGroup._Fields field) |
long |
getFile_offset()
Byte offset from beginning of file to first page (data or dictionary)
in this row group *
|
long |
getNum_rows()
Number of rows in this row group *
|
short |
getOrdinal()
Row group ordinal in the file *
|
List<SortingColumn> |
getSorting_columns()
If set, specifies a sort ordering of the rows in this RowGroup.
|
Iterator<SortingColumn> |
getSorting_columnsIterator() |
int |
getSorting_columnsSize() |
long |
getTotal_byte_size()
Total byte size of all the uncompressed column data in this row group *
|
long |
getTotal_compressed_size()
Total byte size of all compressed (and potentially encrypted) column data
in this row group *
|
int |
hashCode() |
boolean |
isSet(RowGroup._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumns()
Returns true if field columns is set (has been assigned a value) and false otherwise
|
boolean |
isSetFile_offset()
Returns true if field file_offset is set (has been assigned a value) and false otherwise
|
boolean |
isSetNum_rows()
Returns true if field num_rows is set (has been assigned a value) and false otherwise
|
boolean |
isSetOrdinal()
Returns true if field ordinal is set (has been assigned a value) and false otherwise
|
boolean |
isSetSorting_columns()
Returns true if field sorting_columns is set (has been assigned a value) and false otherwise
|
boolean |
isSetTotal_byte_size()
Returns true if field total_byte_size is set (has been assigned a value) and false otherwise
|
boolean |
isSetTotal_compressed_size()
Returns true if field total_compressed_size is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
RowGroup |
setColumns(List<ColumnChunk> columns)
Metadata for each column chunk in this row group.
|
void |
setColumnsIsSet(boolean value) |
void |
setFieldValue(RowGroup._Fields field,
Object value) |
RowGroup |
setFile_offset(long file_offset)
Byte offset from beginning of file to first page (data or dictionary)
in this row group *
|
void |
setFile_offsetIsSet(boolean value) |
RowGroup |
setNum_rows(long num_rows)
Number of rows in this row group *
|
void |
setNum_rowsIsSet(boolean value) |
RowGroup |
setOrdinal(short ordinal)
Row group ordinal in the file *
|
void |
setOrdinalIsSet(boolean value) |
RowGroup |
setSorting_columns(List<SortingColumn> sorting_columns)
If set, specifies a sort ordering of the rows in this RowGroup.
|
void |
setSorting_columnsIsSet(boolean value) |
RowGroup |
setTotal_byte_size(long total_byte_size)
Total byte size of all the uncompressed column data in this row group *
|
void |
setTotal_byte_sizeIsSet(boolean value) |
RowGroup |
setTotal_compressed_size(long total_compressed_size)
Total byte size of all compressed (and potentially encrypted) column data
in this row group *
|
void |
setTotal_compressed_sizeIsSet(boolean value) |
String |
toString() |
void |
unsetColumns() |
void |
unsetFile_offset() |
void |
unsetNum_rows() |
void |
unsetOrdinal() |
void |
unsetSorting_columns() |
void |
unsetTotal_byte_size() |
void |
unsetTotal_compressed_size() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public List<ColumnChunk> columns
public long total_byte_size
public long num_rows
public List<SortingColumn> sorting_columns
public long file_offset
public long total_compressed_size
public short ordinal
public static final Map<RowGroup._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public RowGroup()
public RowGroup(List<ColumnChunk> columns, long total_byte_size, long num_rows)
public RowGroup(RowGroup other)
public RowGroup deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RowGroup,RowGroup._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<RowGroup,RowGroup._Fields>
public int getColumnsSize()
public Iterator<ColumnChunk> getColumnsIterator()
public void addToColumns(ColumnChunk elem)
public List<ColumnChunk> getColumns()
public RowGroup setColumns(List<ColumnChunk> columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public long getTotal_byte_size()
public RowGroup setTotal_byte_size(long total_byte_size)
public void unsetTotal_byte_size()
public boolean isSetTotal_byte_size()
public void setTotal_byte_sizeIsSet(boolean value)
public long getNum_rows()
public RowGroup setNum_rows(long num_rows)
public void unsetNum_rows()
public boolean isSetNum_rows()
public void setNum_rowsIsSet(boolean value)
public int getSorting_columnsSize()
public Iterator<SortingColumn> getSorting_columnsIterator()
public void addToSorting_columns(SortingColumn elem)
public List<SortingColumn> getSorting_columns()
public RowGroup setSorting_columns(List<SortingColumn> sorting_columns)
public void unsetSorting_columns()
public boolean isSetSorting_columns()
public void setSorting_columnsIsSet(boolean value)
public long getFile_offset()
public RowGroup setFile_offset(long file_offset)
public void unsetFile_offset()
public boolean isSetFile_offset()
public void setFile_offsetIsSet(boolean value)
public long getTotal_compressed_size()
public RowGroup setTotal_compressed_size(long total_compressed_size)
public void unsetTotal_compressed_size()
public boolean isSetTotal_compressed_size()
public void setTotal_compressed_sizeIsSet(boolean value)
public short getOrdinal()
public RowGroup setOrdinal(short ordinal)
public void unsetOrdinal()
public boolean isSetOrdinal()
public void setOrdinalIsSet(boolean value)
public void setFieldValue(RowGroup._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<RowGroup,RowGroup._Fields>
public Object getFieldValue(RowGroup._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RowGroup,RowGroup._Fields>
public boolean isSet(RowGroup._Fields field)
isSet
in interface org.apache.thrift.TBase<RowGroup,RowGroup._Fields>
public boolean equals(RowGroup that)
public int compareTo(RowGroup other)
compareTo
in interface Comparable<RowGroup>
public RowGroup._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<RowGroup,RowGroup._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2024 The Apache Software Foundation. All rights reserved.