public static class ThriftHiveMetastore.unlock_result extends Object implements org.apache.thrift.TBase<ThriftHiveMetastore.unlock_result,ThriftHiveMetastore.unlock_result._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
ThriftHiveMetastore.unlock_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.unlock_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ThriftHiveMetastore.unlock_result() |
ThriftHiveMetastore.unlock_result(NoSuchLockException o1,
TxnOpenException o2) |
ThriftHiveMetastore.unlock_result(ThriftHiveMetastore.unlock_result other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ThriftHiveMetastore.unlock_result other) |
ThriftHiveMetastore.unlock_result |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ThriftHiveMetastore.unlock_result that) |
ThriftHiveMetastore.unlock_result._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(ThriftHiveMetastore.unlock_result._Fields field) |
NoSuchLockException |
getO1() |
TxnOpenException |
getO2() |
int |
hashCode() |
boolean |
isSet(ThriftHiveMetastore.unlock_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.unlock_result._Fields field,
Object value) |
void |
setO1(NoSuchLockException o1) |
void |
setO1IsSet(boolean value) |
void |
setO2(TxnOpenException 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.unlock_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public ThriftHiveMetastore.unlock_result()
public ThriftHiveMetastore.unlock_result(NoSuchLockException o1, TxnOpenException o2)
public ThriftHiveMetastore.unlock_result(ThriftHiveMetastore.unlock_result other)
public ThriftHiveMetastore.unlock_result deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftHiveMetastore.unlock_result,ThriftHiveMetastore.unlock_result._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftHiveMetastore.unlock_result,ThriftHiveMetastore.unlock_result._Fields>
public NoSuchLockException getO1()
public void setO1(NoSuchLockException o1)
public void unsetO1()
public boolean isSetO1()
public void setO1IsSet(boolean value)
public TxnOpenException getO2()
public void setO2(TxnOpenException o2)
public void unsetO2()
public boolean isSetO2()
public void setO2IsSet(boolean value)
public void setFieldValue(ThriftHiveMetastore.unlock_result._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.unlock_result,ThriftHiveMetastore.unlock_result._Fields>
public Object getFieldValue(ThriftHiveMetastore.unlock_result._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.unlock_result,ThriftHiveMetastore.unlock_result._Fields>
public boolean isSet(ThriftHiveMetastore.unlock_result._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftHiveMetastore.unlock_result,ThriftHiveMetastore.unlock_result._Fields>
public boolean equals(ThriftHiveMetastore.unlock_result that)
public int compareTo(ThriftHiveMetastore.unlock_result other)
compareTo
in interface Comparable<ThriftHiveMetastore.unlock_result>
public ThriftHiveMetastore.unlock_result._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftHiveMetastore.unlock_result,ThriftHiveMetastore.unlock_result._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ThriftHiveMetastore.unlock_result,ThriftHiveMetastore.unlock_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.unlock_result,ThriftHiveMetastore.unlock_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.