@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class GetSchemaResponse extends Object implements org.apache.thrift.TBase<GetSchemaResponse,GetSchemaResponse._Fields>, Serializable, Cloneable, Comparable<GetSchemaResponse>
| Modifier and Type | Class and Description |
|---|---|
static class |
GetSchemaResponse._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<GetSchemaResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
GetSchemaResponse() |
GetSchemaResponse(GetSchemaResponse other)
Performs a deep copy on other.
|
GetSchemaResponse(List<FieldSchema> fields) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToFields(FieldSchema elem) |
void |
clear() |
int |
compareTo(GetSchemaResponse other) |
GetSchemaResponse |
deepCopy() |
boolean |
equals(GetSchemaResponse that) |
boolean |
equals(Object that) |
GetSchemaResponse._Fields |
fieldForId(int fieldId) |
List<FieldSchema> |
getFields() |
Iterator<FieldSchema> |
getFieldsIterator() |
int |
getFieldsSize() |
Object |
getFieldValue(GetSchemaResponse._Fields field) |
int |
hashCode() |
boolean |
isSet(GetSchemaResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetFields()
Returns true if field fields is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFields(List<FieldSchema> fields) |
void |
setFieldsIsSet(boolean value) |
void |
setFieldValue(GetSchemaResponse._Fields field,
Object value) |
String |
toString() |
void |
unsetFields() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<GetSchemaResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetSchemaResponse()
public GetSchemaResponse(List<FieldSchema> fields)
public GetSchemaResponse(GetSchemaResponse other)
public GetSchemaResponse deepCopy()
deepCopy in interface org.apache.thrift.TBase<GetSchemaResponse,GetSchemaResponse._Fields>public void clear()
clear in interface org.apache.thrift.TBase<GetSchemaResponse,GetSchemaResponse._Fields>public int getFieldsSize()
public Iterator<FieldSchema> getFieldsIterator()
public void addToFields(FieldSchema elem)
public List<FieldSchema> getFields()
public void setFields(List<FieldSchema> fields)
public void unsetFields()
public boolean isSetFields()
public void setFieldsIsSet(boolean value)
public void setFieldValue(GetSchemaResponse._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<GetSchemaResponse,GetSchemaResponse._Fields>public Object getFieldValue(GetSchemaResponse._Fields field)
getFieldValue in interface org.apache.thrift.TBase<GetSchemaResponse,GetSchemaResponse._Fields>public boolean isSet(GetSchemaResponse._Fields field)
isSet in interface org.apache.thrift.TBase<GetSchemaResponse,GetSchemaResponse._Fields>public boolean equals(GetSchemaResponse that)
public int compareTo(GetSchemaResponse other)
compareTo in interface Comparable<GetSchemaResponse>public GetSchemaResponse._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<GetSchemaResponse,GetSchemaResponse._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.