public static class ThriftHiveMetastore.check_lock_result extends Object implements org.apache.thrift.TBase<ThriftHiveMetastore.check_lock_result,ThriftHiveMetastore.check_lock_result._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ThriftHiveMetastore.check_lock_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.check_lock_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ThriftHiveMetastore.check_lock_result() |
ThriftHiveMetastore.check_lock_result(LockResponse success,
NoSuchTxnException o1,
TxnAbortedException o2,
NoSuchLockException o3) |
ThriftHiveMetastore.check_lock_result(ThriftHiveMetastore.check_lock_result other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ThriftHiveMetastore.check_lock_result other) |
ThriftHiveMetastore.check_lock_result |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ThriftHiveMetastore.check_lock_result that) |
ThriftHiveMetastore.check_lock_result._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(ThriftHiveMetastore.check_lock_result._Fields field) |
NoSuchTxnException |
getO1() |
TxnAbortedException |
getO2() |
NoSuchLockException |
getO3() |
LockResponse |
getSuccess() |
int |
hashCode() |
boolean |
isSet(ThriftHiveMetastore.check_lock_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 |
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.check_lock_result._Fields field,
Object value) |
void |
setO1(NoSuchTxnException o1) |
void |
setO1IsSet(boolean value) |
void |
setO2(TxnAbortedException o2) |
void |
setO2IsSet(boolean value) |
void |
setO3(NoSuchLockException o3) |
void |
setO3IsSet(boolean value) |
void |
setSuccess(LockResponse success) |
void |
setSuccessIsSet(boolean value) |
String |
toString() |
void |
unsetO1() |
void |
unsetO2() |
void |
unsetO3() |
void |
unsetSuccess() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ThriftHiveMetastore.check_lock_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ThriftHiveMetastore.check_lock_result()
public ThriftHiveMetastore.check_lock_result(LockResponse success, NoSuchTxnException o1, TxnAbortedException o2, NoSuchLockException o3)
public ThriftHiveMetastore.check_lock_result(ThriftHiveMetastore.check_lock_result other)
public ThriftHiveMetastore.check_lock_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftHiveMetastore.check_lock_result,ThriftHiveMetastore.check_lock_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftHiveMetastore.check_lock_result,ThriftHiveMetastore.check_lock_result._Fields>
public LockResponse getSuccess()
public void setSuccess(LockResponse success)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
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 NoSuchLockException getO3()
public void setO3(NoSuchLockException o3)
public void unsetO3()
public boolean isSetO3()
public void setO3IsSet(boolean value)
public void setFieldValue(ThriftHiveMetastore.check_lock_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.check_lock_result,ThriftHiveMetastore.check_lock_result._Fields>
public Object getFieldValue(ThriftHiveMetastore.check_lock_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.check_lock_result,ThriftHiveMetastore.check_lock_result._Fields>
public boolean isSet(ThriftHiveMetastore.check_lock_result._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftHiveMetastore.check_lock_result,ThriftHiveMetastore.check_lock_result._Fields>
public boolean equals(ThriftHiveMetastore.check_lock_result that)
public int compareTo(ThriftHiveMetastore.check_lock_result other)
compareTo
in interface Comparable<ThriftHiveMetastore.check_lock_result>
public ThriftHiveMetastore.check_lock_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftHiveMetastore.check_lock_result,ThriftHiveMetastore.check_lock_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ThriftHiveMetastore.check_lock_result,ThriftHiveMetastore.check_lock_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.check_lock_result,ThriftHiveMetastore.check_lock_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.