Package org.apache.parquet.format
Class SortingColumn
- java.lang.Object
-
- org.apache.parquet.format.SortingColumn
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<SortingColumn>,org.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.13.0)", date="2021-03-17") public class SortingColumn extends Object implements org.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>, Serializable, Cloneable, Comparable<SortingColumn>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSortingColumn._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description intcolumn_idxThe column index (in this row group) *booleandescendingIf true, indicates this column is sorted in descending order.static Map<SortingColumn._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapbooleannulls_firstIf true, nulls will come before non-null values, otherwise, nulls go at the end.
-
Constructor Summary
Constructors Constructor Description SortingColumn()SortingColumn(int column_idx, boolean descending, boolean nulls_first)SortingColumn(SortingColumn other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(SortingColumn other)SortingColumndeepCopy()booleanequals(Object that)booleanequals(SortingColumn that)SortingColumn._FieldsfieldForId(int fieldId)intgetColumn_idx()The column index (in this row group) *ObjectgetFieldValue(SortingColumn._Fields field)inthashCode()booleanisDescending()If true, indicates this column is sorted in descending order.booleanisNulls_first()If true, nulls will come before non-null values, otherwise, nulls go at the end.booleanisSet(SortingColumn._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetColumn_idx()Returns true if field column_idx is set (has been assigned a value) and false otherwisebooleanisSetDescending()Returns true if field descending is set (has been assigned a value) and false otherwisebooleanisSetNulls_first()Returns true if field nulls_first is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)SortingColumnsetColumn_idx(int column_idx)The column index (in this row group) *voidsetColumn_idxIsSet(boolean value)SortingColumnsetDescending(boolean descending)If true, indicates this column is sorted in descending order.voidsetDescendingIsSet(boolean value)voidsetFieldValue(SortingColumn._Fields field, Object value)SortingColumnsetNulls_first(boolean nulls_first)If true, nulls will come before non-null values, otherwise, nulls go at the end.voidsetNulls_firstIsSet(boolean value)StringtoString()voidunsetColumn_idx()voidunsetDescending()voidunsetNulls_first()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
column_idx
public int column_idx
The column index (in this row group) *
-
descending
public boolean descending
If true, indicates this column is sorted in descending order. *
-
nulls_first
public boolean nulls_first
If true, nulls will come before non-null values, otherwise, nulls go at the end.
-
metaDataMap
public static final Map<SortingColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
SortingColumn
public SortingColumn()
-
SortingColumn
public SortingColumn(int column_idx, boolean descending, boolean nulls_first)
-
SortingColumn
public SortingColumn(SortingColumn other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public SortingColumn deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>
-
getColumn_idx
public int getColumn_idx()
The column index (in this row group) *
-
setColumn_idx
public SortingColumn setColumn_idx(int column_idx)
The column index (in this row group) *
-
unsetColumn_idx
public void unsetColumn_idx()
-
isSetColumn_idx
public boolean isSetColumn_idx()
Returns true if field column_idx is set (has been assigned a value) and false otherwise
-
setColumn_idxIsSet
public void setColumn_idxIsSet(boolean value)
-
isDescending
public boolean isDescending()
If true, indicates this column is sorted in descending order. *
-
setDescending
public SortingColumn setDescending(boolean descending)
If true, indicates this column is sorted in descending order. *
-
unsetDescending
public void unsetDescending()
-
isSetDescending
public boolean isSetDescending()
Returns true if field descending is set (has been assigned a value) and false otherwise
-
setDescendingIsSet
public void setDescendingIsSet(boolean value)
-
isNulls_first
public boolean isNulls_first()
If true, nulls will come before non-null values, otherwise, nulls go at the end.
-
setNulls_first
public SortingColumn setNulls_first(boolean nulls_first)
If true, nulls will come before non-null values, otherwise, nulls go at the end.
-
unsetNulls_first
public void unsetNulls_first()
-
isSetNulls_first
public boolean isSetNulls_first()
Returns true if field nulls_first is set (has been assigned a value) and false otherwise
-
setNulls_firstIsSet
public void setNulls_firstIsSet(boolean value)
-
setFieldValue
public void setFieldValue(SortingColumn._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>
-
getFieldValue
public Object getFieldValue(SortingColumn._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>
-
isSet
public boolean isSet(SortingColumn._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>
-
equals
public boolean equals(SortingColumn that)
-
compareTo
public int compareTo(SortingColumn other)
- Specified by:
compareToin interfaceComparable<SortingColumn>
-
fieldForId
public SortingColumn._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<SortingColumn,SortingColumn._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
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-