public class TCloseSessionResp extends Object implements org.apache.thrift.TBase<TCloseSessionResp,TCloseSessionResp._Fields>, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
TCloseSessionResp._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<TCloseSessionResp._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
TCloseSessionResp() |
TCloseSessionResp(TCloseSessionResp other)
Performs a deep copy on other.
|
TCloseSessionResp(TStatus status) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(TCloseSessionResp other) |
TCloseSessionResp |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TCloseSessionResp that) |
TCloseSessionResp._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TCloseSessionResp._Fields field) |
TStatus |
getStatus() |
int |
hashCode() |
boolean |
isSet(TCloseSessionResp._Fields field)
Returns true if field corresponding to fieldID 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 |
setFieldValue(TCloseSessionResp._Fields field,
Object value) |
void |
setStatus(TStatus status) |
void |
setStatusIsSet(boolean value) |
String |
toString() |
void |
unsetStatus() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TCloseSessionResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TCloseSessionResp()
public TCloseSessionResp(TStatus status)
public TCloseSessionResp(TCloseSessionResp other)
public TCloseSessionResp deepCopy()
deepCopy in interface org.apache.thrift.TBase<TCloseSessionResp,TCloseSessionResp._Fields>public void clear()
clear in interface org.apache.thrift.TBase<TCloseSessionResp,TCloseSessionResp._Fields>public TStatus getStatus()
public void setStatus(TStatus status)
public void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean value)
public void setFieldValue(TCloseSessionResp._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<TCloseSessionResp,TCloseSessionResp._Fields>public Object getFieldValue(TCloseSessionResp._Fields field)
getFieldValue in interface org.apache.thrift.TBase<TCloseSessionResp,TCloseSessionResp._Fields>public boolean isSet(TCloseSessionResp._Fields field)
isSet in interface org.apache.thrift.TBase<TCloseSessionResp,TCloseSessionResp._Fields>public boolean equals(TCloseSessionResp that)
public int compareTo(TCloseSessionResp other)
compareTo in interface Comparable<TCloseSessionResp>public TCloseSessionResp._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<TCloseSessionResp,TCloseSessionResp._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<TCloseSessionResp,TCloseSessionResp._Fields>org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TBase<TCloseSessionResp,TCloseSessionResp._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.