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 |
static Map<RowGroup._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
long |
num_rows
Number of rows in this row group *
|
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 *
|
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() |
Iterator<ColumnChunk> |
getColumnsIterator() |
int |
getColumnsSize() |
Object |
getFieldValue(RowGroup._Fields field) |
long |
getNum_rows()
Number of rows in this row group *
|
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 *
|
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 |
isSetNum_rows()
Returns true if field num_rows 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
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
RowGroup |
setColumns(List<ColumnChunk> columns) |
void |
setColumnsIsSet(boolean value) |
void |
setFieldValue(RowGroup._Fields field,
Object value) |
RowGroup |
setNum_rows(long num_rows)
Number of rows in this row group *
|
void |
setNum_rowsIsSet(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) |
String |
toString() |
void |
unsetColumns() |
void |
unsetNum_rows() |
void |
unsetSorting_columns() |
void |
unsetTotal_byte_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 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 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.TBase<RowGroup,RowGroup._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<RowGroup,RowGroup._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2015. All rights reserved.