public static class THBaseService.put_args extends Object implements org.apache.thrift.TBase<THBaseService.put_args,THBaseService.put_args._Fields>, Serializable, Cloneable, Comparable<THBaseService.put_args>
Modifier and Type | Class and Description |
---|---|
static class |
THBaseService.put_args._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<THBaseService.put_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
table
the table to put data in
|
TPut |
tput
the TPut to put
|
Constructor and Description |
---|
THBaseService.put_args() |
THBaseService.put_args(ByteBuffer table,
TPut tput) |
THBaseService.put_args(THBaseService.put_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
bufferForTable() |
void |
clear() |
int |
compareTo(THBaseService.put_args other) |
THBaseService.put_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(THBaseService.put_args that) |
THBaseService.put_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(THBaseService.put_args._Fields field) |
byte[] |
getTable()
the table to put data in
|
TPut |
getTput()
the TPut to put
|
int |
hashCode() |
boolean |
isSet(THBaseService.put_args._Fields field)
Returns true if field corresponding to fieldID 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
|
boolean |
isSetTput()
Returns true if field tput is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(THBaseService.put_args._Fields field,
Object value) |
THBaseService.put_args |
setTable(byte[] table)
the table to put data in
|
THBaseService.put_args |
setTable(ByteBuffer table) |
void |
setTableIsSet(boolean value) |
THBaseService.put_args |
setTput(TPut tput)
the TPut to put
|
void |
setTputIsSet(boolean value) |
String |
toString() |
void |
unsetTable() |
void |
unsetTput() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer table
public TPut tput
public static final Map<THBaseService.put_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public THBaseService.put_args()
public THBaseService.put_args(ByteBuffer table, TPut tput)
public THBaseService.put_args(THBaseService.put_args other)
public THBaseService.put_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<THBaseService.put_args,THBaseService.put_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<THBaseService.put_args,THBaseService.put_args._Fields>
public byte[] getTable()
public ByteBuffer bufferForTable()
public THBaseService.put_args setTable(byte[] table)
public THBaseService.put_args setTable(ByteBuffer table)
public void unsetTable()
public boolean isSetTable()
public void setTableIsSet(boolean value)
public TPut getTput()
public THBaseService.put_args setTput(TPut tput)
public void unsetTput()
public boolean isSetTput()
public void setTputIsSet(boolean value)
public void setFieldValue(THBaseService.put_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<THBaseService.put_args,THBaseService.put_args._Fields>
public Object getFieldValue(THBaseService.put_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<THBaseService.put_args,THBaseService.put_args._Fields>
public boolean isSet(THBaseService.put_args._Fields field)
isSet
in interface org.apache.thrift.TBase<THBaseService.put_args,THBaseService.put_args._Fields>
public boolean equals(THBaseService.put_args that)
public int compareTo(THBaseService.put_args other)
compareTo
in interface Comparable<THBaseService.put_args>
public THBaseService.put_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<THBaseService.put_args,THBaseService.put_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<THBaseService.put_args,THBaseService.put_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.put_args,THBaseService.put_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.