@Generated(value="Autogenerated by Thrift Compiler (0.14.0)", date="2023-06-29") public class DictionaryPageHeader extends Object implements org.apache.thrift.TBase<DictionaryPageHeader,DictionaryPageHeader._Fields>, Serializable, Cloneable, Comparable<DictionaryPageHeader>
Modifier and Type | Class and Description |
---|---|
static class |
DictionaryPageHeader._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
Encoding |
encoding
Encoding using this dictionary page *
|
boolean |
is_sorted
If true, the entries in the dictionary are sorted in ascending order *
|
static Map<DictionaryPageHeader._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
int |
num_values
Number of values in the dictionary *
|
Constructor and Description |
---|
DictionaryPageHeader() |
DictionaryPageHeader(DictionaryPageHeader other)
Performs a deep copy on other.
|
DictionaryPageHeader(int num_values,
Encoding encoding) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(DictionaryPageHeader other) |
DictionaryPageHeader |
deepCopy() |
boolean |
equals(DictionaryPageHeader that) |
boolean |
equals(Object that) |
DictionaryPageHeader._Fields |
fieldForId(int fieldId) |
Encoding |
getEncoding()
Encoding using this dictionary page *
|
Object |
getFieldValue(DictionaryPageHeader._Fields field) |
int |
getNum_values()
Number of values in the dictionary *
|
int |
hashCode() |
boolean |
isIs_sorted()
If true, the entries in the dictionary are sorted in ascending order *
|
boolean |
isSet(DictionaryPageHeader._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetEncoding()
Returns true if field encoding is set (has been assigned a value) and false otherwise
|
boolean |
isSetIs_sorted()
Returns true if field is_sorted is set (has been assigned a value) and false otherwise
|
boolean |
isSetNum_values()
Returns true if field num_values is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
DictionaryPageHeader |
setEncoding(Encoding encoding)
Encoding using this dictionary page *
|
void |
setEncodingIsSet(boolean value) |
void |
setFieldValue(DictionaryPageHeader._Fields field,
Object value) |
DictionaryPageHeader |
setIs_sorted(boolean is_sorted)
If true, the entries in the dictionary are sorted in ascending order *
|
void |
setIs_sortedIsSet(boolean value) |
DictionaryPageHeader |
setNum_values(int num_values)
Number of values in the dictionary *
|
void |
setNum_valuesIsSet(boolean value) |
String |
toString() |
void |
unsetEncoding() |
void |
unsetIs_sorted() |
void |
unsetNum_values() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int num_values
public boolean is_sorted
public static final Map<DictionaryPageHeader._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public DictionaryPageHeader()
public DictionaryPageHeader(int num_values, Encoding encoding)
public DictionaryPageHeader(DictionaryPageHeader other)
public DictionaryPageHeader deepCopy()
deepCopy
in interface org.apache.thrift.TBase<DictionaryPageHeader,DictionaryPageHeader._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<DictionaryPageHeader,DictionaryPageHeader._Fields>
public int getNum_values()
public DictionaryPageHeader setNum_values(int num_values)
public void unsetNum_values()
public boolean isSetNum_values()
public void setNum_valuesIsSet(boolean value)
public DictionaryPageHeader setEncoding(Encoding encoding)
Encoding
public void unsetEncoding()
public boolean isSetEncoding()
public void setEncodingIsSet(boolean value)
public boolean isIs_sorted()
public DictionaryPageHeader setIs_sorted(boolean is_sorted)
public void unsetIs_sorted()
public boolean isSetIs_sorted()
public void setIs_sortedIsSet(boolean value)
public void setFieldValue(DictionaryPageHeader._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<DictionaryPageHeader,DictionaryPageHeader._Fields>
public Object getFieldValue(DictionaryPageHeader._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<DictionaryPageHeader,DictionaryPageHeader._Fields>
public boolean isSet(DictionaryPageHeader._Fields field)
isSet
in interface org.apache.thrift.TBase<DictionaryPageHeader,DictionaryPageHeader._Fields>
public boolean equals(DictionaryPageHeader that)
public int compareTo(DictionaryPageHeader other)
compareTo
in interface Comparable<DictionaryPageHeader>
public DictionaryPageHeader._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<DictionaryPageHeader,DictionaryPageHeader._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.