public class TGetInfoReq extends Object implements org.apache.thrift.TBase<TGetInfoReq,TGetInfoReq._Fields>, Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
TGetInfoReq._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<TGetInfoReq._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
TGetInfoReq() |
TGetInfoReq(TGetInfoReq other)
Performs a deep copy on other.
|
TGetInfoReq(TSessionHandle sessionHandle,
TGetInfoType infoType) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(TGetInfoReq other) |
TGetInfoReq |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TGetInfoReq that) |
TGetInfoReq._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TGetInfoReq._Fields field) |
TGetInfoType |
getInfoType() |
TSessionHandle |
getSessionHandle() |
int |
hashCode() |
boolean |
isSet(TGetInfoReq._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetInfoType()
Returns true if field infoType is set (has been assigned a value) and false otherwise
|
boolean |
isSetSessionHandle()
Returns true if field sessionHandle is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TGetInfoReq._Fields field,
Object value) |
void |
setInfoType(TGetInfoType infoType) |
void |
setInfoTypeIsSet(boolean value) |
void |
setSessionHandle(TSessionHandle sessionHandle) |
void |
setSessionHandleIsSet(boolean value) |
String |
toString() |
void |
unsetInfoType() |
void |
unsetSessionHandle() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TGetInfoReq._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TGetInfoReq()
public TGetInfoReq(TSessionHandle sessionHandle, TGetInfoType infoType)
public TGetInfoReq(TGetInfoReq other)
public TGetInfoReq deepCopy()
deepCopy in interface org.apache.thrift.TBase<TGetInfoReq,TGetInfoReq._Fields>public void clear()
clear in interface org.apache.thrift.TBase<TGetInfoReq,TGetInfoReq._Fields>public TSessionHandle getSessionHandle()
public void setSessionHandle(TSessionHandle sessionHandle)
public void unsetSessionHandle()
public boolean isSetSessionHandle()
public void setSessionHandleIsSet(boolean value)
public TGetInfoType getInfoType()
TGetInfoTypepublic void setInfoType(TGetInfoType infoType)
TGetInfoTypepublic void unsetInfoType()
public boolean isSetInfoType()
public void setInfoTypeIsSet(boolean value)
public void setFieldValue(TGetInfoReq._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<TGetInfoReq,TGetInfoReq._Fields>public Object getFieldValue(TGetInfoReq._Fields field)
getFieldValue in interface org.apache.thrift.TBase<TGetInfoReq,TGetInfoReq._Fields>public boolean isSet(TGetInfoReq._Fields field)
isSet in interface org.apache.thrift.TBase<TGetInfoReq,TGetInfoReq._Fields>public boolean equals(TGetInfoReq that)
public int compareTo(TGetInfoReq other)
compareTo in interface Comparable<TGetInfoReq>public TGetInfoReq._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<TGetInfoReq,TGetInfoReq._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<TGetInfoReq,TGetInfoReq._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<TGetInfoReq,TGetInfoReq._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.