public static class THBaseService.getMultiple_args extends Object implements org.apache.thrift.TBase<THBaseService.getMultiple_args,THBaseService.getMultiple_args._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
THBaseService.getMultiple_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
List<TGet> |
gets
a list of TGets to fetch, the Result list
will have the Results at corresponding positions
or null if there was an error
|
static Map<THBaseService.getMultiple_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
table
the table to get from
|
Constructor and Description |
---|
THBaseService.getMultiple_args() |
THBaseService.getMultiple_args(ByteBuffer table,
List<TGet> gets) |
THBaseService.getMultiple_args(THBaseService.getMultiple_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToGets(TGet elem) |
ByteBuffer |
bufferForTable() |
void |
clear() |
int |
compareTo(THBaseService.getMultiple_args other) |
THBaseService.getMultiple_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(THBaseService.getMultiple_args that) |
THBaseService.getMultiple_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(THBaseService.getMultiple_args._Fields field) |
List<TGet> |
getGets()
a list of TGets to fetch, the Result list
will have the Results at corresponding positions
or null if there was an error
|
Iterator<TGet> |
getGetsIterator() |
int |
getGetsSize() |
byte[] |
getTable()
the table to get from
|
int |
hashCode() |
boolean |
isSet(THBaseService.getMultiple_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetGets()
Returns true if field gets is set (has been assigned a value) and false otherwise
|
boolean |
isSetTable()
Returns true if field table is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(THBaseService.getMultiple_args._Fields field,
Object value) |
THBaseService.getMultiple_args |
setGets(List<TGet> gets)
a list of TGets to fetch, the Result list
will have the Results at corresponding positions
or null if there was an error
|
void |
setGetsIsSet(boolean value) |
THBaseService.getMultiple_args |
setTable(byte[] table)
the table to get from
|
THBaseService.getMultiple_args |
setTable(ByteBuffer table) |
void |
setTableIsSet(boolean value) |
String |
toString() |
void |
unsetGets() |
void |
unsetTable() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer table
public List<TGet> gets
public static final Map<THBaseService.getMultiple_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public THBaseService.getMultiple_args()
public THBaseService.getMultiple_args(ByteBuffer table, List<TGet> gets)
public THBaseService.getMultiple_args(THBaseService.getMultiple_args other)
public THBaseService.getMultiple_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<THBaseService.getMultiple_args,THBaseService.getMultiple_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<THBaseService.getMultiple_args,THBaseService.getMultiple_args._Fields>
public byte[] getTable()
public ByteBuffer bufferForTable()
public THBaseService.getMultiple_args setTable(byte[] table)
public THBaseService.getMultiple_args setTable(ByteBuffer table)
public void unsetTable()
public boolean isSetTable()
public void setTableIsSet(boolean value)
public int getGetsSize()
public void addToGets(TGet elem)
public List<TGet> getGets()
public THBaseService.getMultiple_args setGets(List<TGet> gets)
public void unsetGets()
public boolean isSetGets()
public void setGetsIsSet(boolean value)
public void setFieldValue(THBaseService.getMultiple_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<THBaseService.getMultiple_args,THBaseService.getMultiple_args._Fields>
public Object getFieldValue(THBaseService.getMultiple_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<THBaseService.getMultiple_args,THBaseService.getMultiple_args._Fields>
public boolean isSet(THBaseService.getMultiple_args._Fields field)
isSet
in interface org.apache.thrift.TBase<THBaseService.getMultiple_args,THBaseService.getMultiple_args._Fields>
public boolean equals(THBaseService.getMultiple_args that)
public int compareTo(THBaseService.getMultiple_args other)
compareTo
in interface Comparable<THBaseService.getMultiple_args>
public THBaseService.getMultiple_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<THBaseService.getMultiple_args,THBaseService.getMultiple_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<THBaseService.getMultiple_args,THBaseService.getMultiple_args._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<THBaseService.getMultiple_args,THBaseService.getMultiple_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.