public class TGetOperationStatusResp extends Object implements org.apache.thrift.TBase<TGetOperationStatusResp,TGetOperationStatusResp._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TGetOperationStatusResp._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<TGetOperationStatusResp._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TGetOperationStatusResp() |
TGetOperationStatusResp(TGetOperationStatusResp other)
Performs a deep copy on other.
|
TGetOperationStatusResp(TStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TGetOperationStatusResp other) |
TGetOperationStatusResp |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TGetOperationStatusResp that) |
TGetOperationStatusResp._Fields |
fieldForId(int fieldId) |
int |
getErrorCode() |
String |
getErrorMessage() |
Object |
getFieldValue(TGetOperationStatusResp._Fields field) |
TOperationState |
getOperationState() |
String |
getSqlState() |
TStatus |
getStatus() |
int |
hashCode() |
boolean |
isSet(TGetOperationStatusResp._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetErrorCode()
Returns true if field errorCode is set (has been assigned a value) and false otherwise
|
boolean |
isSetErrorMessage()
Returns true if field errorMessage is set (has been assigned a value) and false otherwise
|
boolean |
isSetOperationState()
Returns true if field operationState is set (has been assigned a value) and false otherwise
|
boolean |
isSetSqlState()
Returns true if field sqlState is set (has been assigned a value) and false otherwise
|
boolean |
isSetStatus()
Returns true if field status is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setErrorCode(int errorCode) |
void |
setErrorCodeIsSet(boolean value) |
void |
setErrorMessage(String errorMessage) |
void |
setErrorMessageIsSet(boolean value) |
void |
setFieldValue(TGetOperationStatusResp._Fields field,
Object value) |
void |
setOperationState(TOperationState operationState) |
void |
setOperationStateIsSet(boolean value) |
void |
setSqlState(String sqlState) |
void |
setSqlStateIsSet(boolean value) |
void |
setStatus(TStatus status) |
void |
setStatusIsSet(boolean value) |
String |
toString() |
void |
unsetErrorCode() |
void |
unsetErrorMessage() |
void |
unsetOperationState() |
void |
unsetSqlState() |
void |
unsetStatus() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TGetOperationStatusResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TGetOperationStatusResp()
public TGetOperationStatusResp(TStatus status)
public TGetOperationStatusResp(TGetOperationStatusResp other)
public TGetOperationStatusResp deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TGetOperationStatusResp,TGetOperationStatusResp._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TGetOperationStatusResp,TGetOperationStatusResp._Fields>
public TStatus getStatus()
public void setStatus(TStatus status)
public void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean value)
public TOperationState getOperationState()
TOperationState
public void setOperationState(TOperationState operationState)
TOperationState
public void unsetOperationState()
public boolean isSetOperationState()
public void setOperationStateIsSet(boolean value)
public String getSqlState()
public void setSqlState(String sqlState)
public void unsetSqlState()
public boolean isSetSqlState()
public void setSqlStateIsSet(boolean value)
public int getErrorCode()
public void setErrorCode(int errorCode)
public void unsetErrorCode()
public boolean isSetErrorCode()
public void setErrorCodeIsSet(boolean value)
public String getErrorMessage()
public void setErrorMessage(String errorMessage)
public void unsetErrorMessage()
public boolean isSetErrorMessage()
public void setErrorMessageIsSet(boolean value)
public void setFieldValue(TGetOperationStatusResp._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TGetOperationStatusResp,TGetOperationStatusResp._Fields>
public Object getFieldValue(TGetOperationStatusResp._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TGetOperationStatusResp,TGetOperationStatusResp._Fields>
public boolean isSet(TGetOperationStatusResp._Fields field)
isSet
in interface org.apache.thrift.TBase<TGetOperationStatusResp,TGetOperationStatusResp._Fields>
public boolean equals(TGetOperationStatusResp that)
public int compareTo(TGetOperationStatusResp other)
compareTo
in interface Comparable<TGetOperationStatusResp>
public TGetOperationStatusResp._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TGetOperationStatusResp,TGetOperationStatusResp._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TGetOperationStatusResp,TGetOperationStatusResp._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<TGetOperationStatusResp,TGetOperationStatusResp._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.