public static class THBaseService.getAllRegionLocations_result extends Object implements org.apache.thrift.TBase<THBaseService.getAllRegionLocations_result,THBaseService.getAllRegionLocations_result._Fields>, Serializable, Cloneable, Comparable<THBaseService.getAllRegionLocations_result>
| Modifier and Type | Class and Description |
|---|---|
static class |
THBaseService.getAllRegionLocations_result._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
TIOError |
io |
static Map<THBaseService.getAllRegionLocations_result._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<THRegionLocation> |
success |
| Constructor and Description |
|---|
THBaseService.getAllRegionLocations_result() |
THBaseService.getAllRegionLocations_result(List<THRegionLocation> success,
TIOError io) |
THBaseService.getAllRegionLocations_result(THBaseService.getAllRegionLocations_result other)
Performs a deep copy on other.
|
public List<THRegionLocation> success
public TIOError io
public static final Map<THBaseService.getAllRegionLocations_result._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public THBaseService.getAllRegionLocations_result()
public THBaseService.getAllRegionLocations_result(List<THRegionLocation> success, TIOError io)
public THBaseService.getAllRegionLocations_result(THBaseService.getAllRegionLocations_result other)
public THBaseService.getAllRegionLocations_result deepCopy()
deepCopy in interface org.apache.thrift.TBase<THBaseService.getAllRegionLocations_result,THBaseService.getAllRegionLocations_result._Fields>public void clear()
clear in interface org.apache.thrift.TBase<THBaseService.getAllRegionLocations_result,THBaseService.getAllRegionLocations_result._Fields>public int getSuccessSize()
public Iterator<THRegionLocation> getSuccessIterator()
public void addToSuccess(THRegionLocation elem)
public List<THRegionLocation> getSuccess()
public THBaseService.getAllRegionLocations_result setSuccess(List<THRegionLocation> success)
public void unsetSuccess()
public boolean isSetSuccess()
public void setSuccessIsSet(boolean value)
public TIOError getIo()
public THBaseService.getAllRegionLocations_result setIo(TIOError io)
public void unsetIo()
public boolean isSetIo()
public void setIoIsSet(boolean value)
public void setFieldValue(THBaseService.getAllRegionLocations_result._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<THBaseService.getAllRegionLocations_result,THBaseService.getAllRegionLocations_result._Fields>public Object getFieldValue(THBaseService.getAllRegionLocations_result._Fields field)
getFieldValue in interface org.apache.thrift.TBase<THBaseService.getAllRegionLocations_result,THBaseService.getAllRegionLocations_result._Fields>public boolean isSet(THBaseService.getAllRegionLocations_result._Fields field)
isSet in interface org.apache.thrift.TBase<THBaseService.getAllRegionLocations_result,THBaseService.getAllRegionLocations_result._Fields>public boolean equals(THBaseService.getAllRegionLocations_result that)
public int compareTo(THBaseService.getAllRegionLocations_result other)
compareTo in interface Comparable<THBaseService.getAllRegionLocations_result>public THBaseService.getAllRegionLocations_result._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<THBaseService.getAllRegionLocations_result,THBaseService.getAllRegionLocations_result._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<THBaseService.getAllRegionLocations_result,THBaseService.getAllRegionLocations_result._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<THBaseService.getAllRegionLocations_result,THBaseService.getAllRegionLocations_result._Fields>org.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.