@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class PartitionsSpecByExprResult extends Object implements org.apache.thrift.TBase<PartitionsSpecByExprResult,PartitionsSpecByExprResult._Fields>, Serializable, Cloneable, Comparable<PartitionsSpecByExprResult>
| Modifier and Type | Class and Description |
|---|---|
static class |
PartitionsSpecByExprResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<PartitionsSpecByExprResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
PartitionsSpecByExprResult() |
PartitionsSpecByExprResult(List<PartitionSpec> partitionsSpec,
boolean hasUnknownPartitions) |
PartitionsSpecByExprResult(PartitionsSpecByExprResult other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToPartitionsSpec(PartitionSpec elem) |
void |
clear() |
int |
compareTo(PartitionsSpecByExprResult other) |
PartitionsSpecByExprResult |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(PartitionsSpecByExprResult that) |
PartitionsSpecByExprResult._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(PartitionsSpecByExprResult._Fields field) |
List<PartitionSpec> |
getPartitionsSpec() |
Iterator<PartitionSpec> |
getPartitionsSpecIterator() |
int |
getPartitionsSpecSize() |
int |
hashCode() |
boolean |
isHasUnknownPartitions() |
boolean |
isSet(PartitionsSpecByExprResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetHasUnknownPartitions()
Returns true if field hasUnknownPartitions is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartitionsSpec()
Returns true if field partitionsSpec is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(PartitionsSpecByExprResult._Fields field,
Object value) |
void |
setHasUnknownPartitions(boolean hasUnknownPartitions) |
void |
setHasUnknownPartitionsIsSet(boolean value) |
void |
setPartitionsSpec(List<PartitionSpec> partitionsSpec) |
void |
setPartitionsSpecIsSet(boolean value) |
String |
toString() |
void |
unsetHasUnknownPartitions() |
void |
unsetPartitionsSpec() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<PartitionsSpecByExprResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public PartitionsSpecByExprResult()
public PartitionsSpecByExprResult(List<PartitionSpec> partitionsSpec, boolean hasUnknownPartitions)
public PartitionsSpecByExprResult(PartitionsSpecByExprResult other)
public PartitionsSpecByExprResult deepCopy()
deepCopy in interface org.apache.thrift.TBase<PartitionsSpecByExprResult,PartitionsSpecByExprResult._Fields>public void clear()
clear in interface org.apache.thrift.TBase<PartitionsSpecByExprResult,PartitionsSpecByExprResult._Fields>public int getPartitionsSpecSize()
public Iterator<PartitionSpec> getPartitionsSpecIterator()
public void addToPartitionsSpec(PartitionSpec elem)
public List<PartitionSpec> getPartitionsSpec()
public void setPartitionsSpec(List<PartitionSpec> partitionsSpec)
public void unsetPartitionsSpec()
public boolean isSetPartitionsSpec()
public void setPartitionsSpecIsSet(boolean value)
public boolean isHasUnknownPartitions()
public void setHasUnknownPartitions(boolean hasUnknownPartitions)
public void unsetHasUnknownPartitions()
public boolean isSetHasUnknownPartitions()
public void setHasUnknownPartitionsIsSet(boolean value)
public void setFieldValue(PartitionsSpecByExprResult._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<PartitionsSpecByExprResult,PartitionsSpecByExprResult._Fields>public Object getFieldValue(PartitionsSpecByExprResult._Fields field)
getFieldValue in interface org.apache.thrift.TBase<PartitionsSpecByExprResult,PartitionsSpecByExprResult._Fields>public boolean isSet(PartitionsSpecByExprResult._Fields field)
isSet in interface org.apache.thrift.TBase<PartitionsSpecByExprResult,PartitionsSpecByExprResult._Fields>public boolean equals(PartitionsSpecByExprResult that)
public int compareTo(PartitionsSpecByExprResult other)
compareTo in interface Comparable<PartitionsSpecByExprResult>public PartitionsSpecByExprResult._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<PartitionsSpecByExprResult,PartitionsSpecByExprResult._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.