@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2023-06-29") public class SortingColumn extends Object implements org.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>, Serializable, Cloneable, Comparable<SortingColumn>
Modifier and Type | Class and Description |
---|---|
static class |
SortingColumn._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
int |
column_idx
The column index (in this row group) *
|
boolean |
descending
If true, indicates this column is sorted in descending order.
|
static Map<SortingColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
nulls_first
If true, nulls will come before non-null values, otherwise,
nulls go at the end.
|
Constructor and Description |
---|
SortingColumn() |
SortingColumn(int column_idx,
boolean descending,
boolean nulls_first) |
SortingColumn(SortingColumn other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(SortingColumn other) |
SortingColumn |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SortingColumn that) |
SortingColumn._Fields |
fieldForId(int fieldId) |
int |
getColumn_idx()
The column index (in this row group) *
|
Object |
getFieldValue(SortingColumn._Fields field) |
int |
hashCode() |
boolean |
isDescending()
If true, indicates this column is sorted in descending order.
|
boolean |
isNulls_first()
If true, nulls will come before non-null values, otherwise,
nulls go at the end.
|
boolean |
isSet(SortingColumn._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumn_idx()
Returns true if field column_idx is set (has been assigned a value) and false otherwise
|
boolean |
isSetDescending()
Returns true if field descending is set (has been assigned a value) and false otherwise
|
boolean |
isSetNulls_first()
Returns true if field nulls_first is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
SortingColumn |
setColumn_idx(int column_idx)
The column index (in this row group) *
|
void |
setColumn_idxIsSet(boolean value) |
SortingColumn |
setDescending(boolean descending)
If true, indicates this column is sorted in descending order.
|
void |
setDescendingIsSet(boolean value) |
void |
setFieldValue(SortingColumn._Fields field,
Object value) |
SortingColumn |
setNulls_first(boolean nulls_first)
If true, nulls will come before non-null values, otherwise,
nulls go at the end.
|
void |
setNulls_firstIsSet(boolean value) |
String |
toString() |
void |
unsetColumn_idx() |
void |
unsetDescending() |
void |
unsetNulls_first() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int column_idx
public boolean descending
public boolean nulls_first
public static final Map<SortingColumn._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public SortingColumn()
public SortingColumn(int column_idx, boolean descending, boolean nulls_first)
public SortingColumn(SortingColumn other)
public SortingColumn deepCopy()
deepCopy
in interface org.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>
public int getColumn_idx()
public SortingColumn setColumn_idx(int column_idx)
public void unsetColumn_idx()
public boolean isSetColumn_idx()
public void setColumn_idxIsSet(boolean value)
public boolean isDescending()
public SortingColumn setDescending(boolean descending)
public void unsetDescending()
public boolean isSetDescending()
public void setDescendingIsSet(boolean value)
public boolean isNulls_first()
public SortingColumn setNulls_first(boolean nulls_first)
public void unsetNulls_first()
public boolean isSetNulls_first()
public void setNulls_firstIsSet(boolean value)
public void setFieldValue(SortingColumn._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>
public Object getFieldValue(SortingColumn._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>
public boolean isSet(SortingColumn._Fields field)
isSet
in interface org.apache.thrift.TBase<SortingColumn,SortingColumn._Fields>
public boolean equals(SortingColumn that)
public int compareTo(SortingColumn other)
compareTo
in interface Comparable<SortingColumn>
public SortingColumn._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<SortingColumn,SortingColumn._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 © 2023 The Apache Software Foundation. All rights reserved.