@InterfaceAudience.Public @InterfaceStability.Stable public static class ThriftHiveMetastore.exchange_partitions_result extends Object implements org.apache.thrift.TBase<ThriftHiveMetastore.exchange_partitions_result,ThriftHiveMetastore.exchange_partitions_result._Fields>, Serializable, Cloneable, Comparable<ThriftHiveMetastore.exchange_partitions_result>
Modifier and Type | Class and Description |
---|---|
static class |
ThriftHiveMetastore.exchange_partitions_result._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<ThriftHiveMetastore.exchange_partitions_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
exchange_partitions_result() |
exchange_partitions_result(List<Partition> success,
MetaException o1,
NoSuchObjectException o2,
InvalidObjectException o3,
InvalidInputException o4) |
exchange_partitions_result(ThriftHiveMetastore.exchange_partitions_result other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToSuccess(Partition elem) |
void |
clear() |
int |
compareTo(ThriftHiveMetastore.exchange_partitions_result other) |
ThriftHiveMetastore.exchange_partitions_result |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ThriftHiveMetastore.exchange_partitions_result that) |
ThriftHiveMetastore.exchange_partitions_result._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(ThriftHiveMetastore.exchange_partitions_result._Fields field) |
MetaException |
getO1() |
NoSuchObjectException |
getO2() |
InvalidObjectException |
getO3() |
InvalidInputException |
getO4() |
List<Partition> |
getSuccess() |
Iterator<Partition> |
getSuccessIterator() |
int |
getSuccessSize() |
int |
hashCode() |
boolean |
isSet(ThriftHiveMetastore.exchange_partitions_result._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetO1()
Returns true if field o1 is set (has been assigned a value) and false otherwise
|
boolean |
isSetO2()
Returns true if field o2 is set (has been assigned a value) and false otherwise
|
boolean |
isSetO3()
Returns true if field o3 is set (has been assigned a value) and false otherwise
|
boolean |
isSetO4()
Returns true if field o4 is set (has been assigned a value) and false otherwise
|
boolean |
isSetSuccess()
Returns true if field success is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(ThriftHiveMetastore.exchange_partitions_result._Fields field,
Object value) |
void |
setO1(MetaException o1) |
void |
setO1IsSet(boolean value) |
void |
setO2(NoSuchObjectException o2) |
void |
setO2IsSet(boolean value) |
void |
setO3(InvalidObjectException o3) |
void |
setO3IsSet(boolean value) |
void |
setO4(InvalidInputException o4) |
void |
setO4IsSet(boolean value) |
void |
setSuccess(List<Partition> success) |
void |
setSuccessIsSet(boolean value) |
String |
toString() |
void |
unsetO1() |
void |
unsetO2() |
void |
unsetO3() |
void |
unsetO4() |
void |
unsetSuccess() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ThriftHiveMetastore.exchange_partitions_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public exchange_partitions_result()
public exchange_partitions_result(List<Partition> success, MetaException o1, NoSuchObjectException o2, InvalidObjectException o3, InvalidInputException o4)
public exchange_partitions_result(ThriftHiveMetastore.exchange_partitions_result other)
public ThriftHiveMetastore.exchange_partitions_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftHiveMetastore.exchange_partitions_result,ThriftHiveMetastore.exchange_partitions_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftHiveMetastore.exchange_partitions_result,ThriftHiveMetastore.exchange_partitions_result._Fields>
public int getSuccessSize()
public void addToSuccess(Partition elem)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
public MetaException getO1()
public void setO1(MetaException o1)
public void unsetO1()
public boolean isSetO1()
public void setO1IsSet(boolean value)
public NoSuchObjectException getO2()
public void setO2(NoSuchObjectException o2)
public void unsetO2()
public boolean isSetO2()
public void setO2IsSet(boolean value)
public InvalidObjectException getO3()
public void setO3(InvalidObjectException o3)
public void unsetO3()
public boolean isSetO3()
public void setO3IsSet(boolean value)
public InvalidInputException getO4()
public void setO4(InvalidInputException o4)
public void unsetO4()
public boolean isSetO4()
public void setO4IsSet(boolean value)
public void setFieldValue(ThriftHiveMetastore.exchange_partitions_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.exchange_partitions_result,ThriftHiveMetastore.exchange_partitions_result._Fields>
public Object getFieldValue(ThriftHiveMetastore.exchange_partitions_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.exchange_partitions_result,ThriftHiveMetastore.exchange_partitions_result._Fields>
public boolean isSet(ThriftHiveMetastore.exchange_partitions_result._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftHiveMetastore.exchange_partitions_result,ThriftHiveMetastore.exchange_partitions_result._Fields>
public boolean equals(ThriftHiveMetastore.exchange_partitions_result that)
public int compareTo(ThriftHiveMetastore.exchange_partitions_result other)
compareTo
in interface Comparable<ThriftHiveMetastore.exchange_partitions_result>
public ThriftHiveMetastore.exchange_partitions_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftHiveMetastore.exchange_partitions_result,ThriftHiveMetastore.exchange_partitions_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ThriftHiveMetastore.exchange_partitions_result,ThriftHiveMetastore.exchange_partitions_result._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ThriftHiveMetastore.exchange_partitions_result,ThriftHiveMetastore.exchange_partitions_result._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.