@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class GetFieldsResponse extends Object implements org.apache.thrift.TBase<GetFieldsResponse,GetFieldsResponse._Fields>, Serializable, Cloneable, Comparable<GetFieldsResponse>
| Modifier and Type | Class and Description |
|---|---|
static class |
GetFieldsResponse._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<GetFieldsResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
GetFieldsResponse() |
GetFieldsResponse(GetFieldsResponse other)
Performs a deep copy on other.
|
GetFieldsResponse(List<FieldSchema> fields) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToFields(FieldSchema elem) |
void |
clear() |
int |
compareTo(GetFieldsResponse other) |
GetFieldsResponse |
deepCopy() |
boolean |
equals(GetFieldsResponse that) |
boolean |
equals(Object that) |
GetFieldsResponse._Fields |
fieldForId(int fieldId) |
List<FieldSchema> |
getFields() |
Iterator<FieldSchema> |
getFieldsIterator() |
int |
getFieldsSize() |
Object |
getFieldValue(GetFieldsResponse._Fields field) |
int |
hashCode() |
boolean |
isSet(GetFieldsResponse._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(GetFieldsResponse._Fields field,
Object value) |
String |
toString() |
void |
unsetFields() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<GetFieldsResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetFieldsResponse()
public GetFieldsResponse(List<FieldSchema> fields)
public GetFieldsResponse(GetFieldsResponse other)
public GetFieldsResponse deepCopy()
deepCopy in interface org.apache.thrift.TBase<GetFieldsResponse,GetFieldsResponse._Fields>public void clear()
clear in interface org.apache.thrift.TBase<GetFieldsResponse,GetFieldsResponse._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(GetFieldsResponse._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<GetFieldsResponse,GetFieldsResponse._Fields>public Object getFieldValue(GetFieldsResponse._Fields field)
getFieldValue in interface org.apache.thrift.TBase<GetFieldsResponse,GetFieldsResponse._Fields>public boolean isSet(GetFieldsResponse._Fields field)
isSet in interface org.apache.thrift.TBase<GetFieldsResponse,GetFieldsResponse._Fields>public boolean equals(GetFieldsResponse that)
public int compareTo(GetFieldsResponse other)
compareTo in interface Comparable<GetFieldsResponse>public GetFieldsResponse._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<GetFieldsResponse,GetFieldsResponse._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.