public class TGetCatalogsResp extends Object implements org.apache.thrift.TBase<TGetCatalogsResp,TGetCatalogsResp._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
TGetCatalogsResp._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<TGetCatalogsResp._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TGetCatalogsResp() |
TGetCatalogsResp(TGetCatalogsResp other)
Performs a deep copy on other.
|
TGetCatalogsResp(TStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TGetCatalogsResp other) |
TGetCatalogsResp |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TGetCatalogsResp that) |
TGetCatalogsResp._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TGetCatalogsResp._Fields field) |
TOperationHandle |
getOperationHandle() |
TStatus |
getStatus() |
int |
hashCode() |
boolean |
isSet(TGetCatalogsResp._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetOperationHandle()
Returns true if field operationHandle 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(TGetCatalogsResp._Fields field,
Object value) |
void |
setOperationHandle(TOperationHandle operationHandle) |
void |
setOperationHandleIsSet(boolean value) |
void |
setStatus(TStatus status) |
void |
setStatusIsSet(boolean value) |
String |
toString() |
void |
unsetOperationHandle() |
void |
unsetStatus() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TGetCatalogsResp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TGetCatalogsResp()
public TGetCatalogsResp(TStatus status)
public TGetCatalogsResp(TGetCatalogsResp other)
public TGetCatalogsResp deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TGetCatalogsResp,TGetCatalogsResp._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TGetCatalogsResp,TGetCatalogsResp._Fields>
public TStatus getStatus()
public void setStatus(TStatus status)
public void unsetStatus()
public boolean isSetStatus()
public void setStatusIsSet(boolean value)
public TOperationHandle getOperationHandle()
public void setOperationHandle(TOperationHandle operationHandle)
public void unsetOperationHandle()
public boolean isSetOperationHandle()
public void setOperationHandleIsSet(boolean value)
public void setFieldValue(TGetCatalogsResp._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TGetCatalogsResp,TGetCatalogsResp._Fields>
public Object getFieldValue(TGetCatalogsResp._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TGetCatalogsResp,TGetCatalogsResp._Fields>
public boolean isSet(TGetCatalogsResp._Fields field)
isSet
in interface org.apache.thrift.TBase<TGetCatalogsResp,TGetCatalogsResp._Fields>
public boolean equals(TGetCatalogsResp that)
public int compareTo(TGetCatalogsResp other)
compareTo
in interface Comparable<TGetCatalogsResp>
public TGetCatalogsResp._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TGetCatalogsResp,TGetCatalogsResp._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TGetCatalogsResp,TGetCatalogsResp._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<TGetCatalogsResp,TGetCatalogsResp._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.