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.23.0)",
date="2026-08-06")
public class SortingColumn
extends Object
implements org.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>, Serializable, Cloneable, Comparable<SortingColumn>
Sort order within a RowGroup of a leaf column
- 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 TypeFieldDescriptionintThe ordinal position of the column (in this row group) *booleanIf true, indicates this column is sorted in descending orderstatic final Map<SortingColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> booleanIf true, nulls will come before non-null values, otherwise, nulls go at the end. -
Constructor Summary
ConstructorsConstructorDescriptionSortingColumn(int column_idx, boolean descending, boolean nulls_first) SortingColumn(SortingColumn other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(SortingColumn other) deepCopy()booleanbooleanequals(SortingColumn that) fieldForId(int fieldId) intThe ordinal position of the column (in this row group) *inthashCode()booleanIf true, indicates this column is sorted in descending orderbooleanIf 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 otherwisebooleanReturns true if field column_idx is set (has been assigned a value) and false otherwisebooleanReturns true if field descending is set (has been assigned a value) and false otherwisebooleanReturns true if field nulls_first is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setColumn_idx(int column_idx) The ordinal position of the column (in this row group) *voidsetColumn_idxIsSet(boolean value) setDescending(boolean descending) If true, indicates this column is sorted in descending ordervoidsetDescendingIsSet(boolean value) voidsetFieldValue(SortingColumn._Fields field, Object value) setNulls_first(boolean nulls_first) If true, nulls will come before non-null values, otherwise, nulls go at the end.voidsetNulls_firstIsSet(boolean value) toString()voidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
column_idx
public int column_idxThe ordinal position of the column (in this row group) * -
descending
public boolean descendingIf true, indicates this column is sorted in descending order. * -
nulls_first
public boolean nulls_firstIf 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 Details
-
SortingColumn
public SortingColumn() -
SortingColumn
public SortingColumn(int column_idx, boolean descending, boolean nulls_first) -
SortingColumn
Performs a deep copy on other.
-
-
Method Details
-
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 ordinal position of the column (in this row group) * -
setColumn_idx
The ordinal position of the column (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
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
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
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<SortingColumn,SortingColumn._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<SortingColumn,SortingColumn._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<SortingColumn>
-
fieldForId
- 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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-