public static class ThriftHiveMetastore.commit_txn_result extends Object implements org.apache.thrift.TBase<ThriftHiveMetastore.commit_txn_result,ThriftHiveMetastore.commit_txn_result._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ThriftHiveMetastore.commit_txn_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.commit_txn_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ThriftHiveMetastore.commit_txn_result() |
ThriftHiveMetastore.commit_txn_result(NoSuchTxnException o1,
TxnAbortedException o2) |
ThriftHiveMetastore.commit_txn_result(ThriftHiveMetastore.commit_txn_result other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ThriftHiveMetastore.commit_txn_result other) |
ThriftHiveMetastore.commit_txn_result |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ThriftHiveMetastore.commit_txn_result that) |
ThriftHiveMetastore.commit_txn_result._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(ThriftHiveMetastore.commit_txn_result._Fields field) |
NoSuchTxnException |
getO1() |
TxnAbortedException |
getO2() |
int |
hashCode() |
boolean |
isSet(ThriftHiveMetastore.commit_txn_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
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(ThriftHiveMetastore.commit_txn_result._Fields field,
Object value) |
void |
setO1(NoSuchTxnException o1) |
void |
setO1IsSet(boolean value) |
void |
setO2(TxnAbortedException o2) |
void |
setO2IsSet(boolean value) |
String |
toString() |
void |
unsetO1() |
void |
unsetO2() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ThriftHiveMetastore.commit_txn_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ThriftHiveMetastore.commit_txn_result()
public ThriftHiveMetastore.commit_txn_result(NoSuchTxnException o1, TxnAbortedException o2)
public ThriftHiveMetastore.commit_txn_result(ThriftHiveMetastore.commit_txn_result other)
public ThriftHiveMetastore.commit_txn_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftHiveMetastore.commit_txn_result,ThriftHiveMetastore.commit_txn_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftHiveMetastore.commit_txn_result,ThriftHiveMetastore.commit_txn_result._Fields>
public NoSuchTxnException getO1()
public void setO1(NoSuchTxnException o1)
public void unsetO1()
public boolean isSetO1()
public void setO1IsSet(boolean value)
public TxnAbortedException getO2()
public void setO2(TxnAbortedException o2)
public void unsetO2()
public boolean isSetO2()
public void setO2IsSet(boolean value)
public void setFieldValue(ThriftHiveMetastore.commit_txn_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.commit_txn_result,ThriftHiveMetastore.commit_txn_result._Fields>
public Object getFieldValue(ThriftHiveMetastore.commit_txn_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.commit_txn_result,ThriftHiveMetastore.commit_txn_result._Fields>
public boolean isSet(ThriftHiveMetastore.commit_txn_result._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftHiveMetastore.commit_txn_result,ThriftHiveMetastore.commit_txn_result._Fields>
public boolean equals(ThriftHiveMetastore.commit_txn_result that)
public int compareTo(ThriftHiveMetastore.commit_txn_result other)
compareTo
in interface Comparable<ThriftHiveMetastore.commit_txn_result>
public ThriftHiveMetastore.commit_txn_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftHiveMetastore.commit_txn_result,ThriftHiveMetastore.commit_txn_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ThriftHiveMetastore.commit_txn_result,ThriftHiveMetastore.commit_txn_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.commit_txn_result,ThriftHiveMetastore.commit_txn_result._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.