org.apache.hadoop.hbase.thrift2.generated
Class THBaseService.putMultiple_args

java.lang.Object
  extended by org.apache.hadoop.hbase.thrift2.generated.THBaseService.putMultiple_args
All Implemented Interfaces:
Serializable, Cloneable, Comparable<THBaseService.putMultiple_args>, org.apache.thrift.TBase<THBaseService.putMultiple_args,THBaseService.putMultiple_args._Fields>
Enclosing class:
THBaseService

public static class THBaseService.putMultiple_args
extends Object
implements org.apache.thrift.TBase<THBaseService.putMultiple_args,THBaseService.putMultiple_args._Fields>, Serializable, Cloneable

See Also:
Serialized Form

Nested Class Summary
static class THBaseService.putMultiple_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<THBaseService.putMultiple_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 List<TPut> puts
          a list of TPuts to commit
 ByteBuffer table
          the table to put data in
 
Constructor Summary
THBaseService.putMultiple_args()
           
THBaseService.putMultiple_args(ByteBuffer table, List<TPut> puts)
           
THBaseService.putMultiple_args(THBaseService.putMultiple_args other)
          Performs a deep copy on other.
 
Method Summary
 void addToPuts(TPut elem)
           
 ByteBuffer bufferForTable()
           
 void clear()
           
 int compareTo(THBaseService.putMultiple_args other)
           
 THBaseService.putMultiple_args deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(THBaseService.putMultiple_args that)
           
 THBaseService.putMultiple_args._Fields fieldForId(int fieldId)
           
 Object getFieldValue(THBaseService.putMultiple_args._Fields field)
           
 List<TPut> getPuts()
          a list of TPuts to commit
 Iterator<TPut> getPutsIterator()
           
 int getPutsSize()
           
 byte[] getTable()
          the table to put data in
 int hashCode()
           
 boolean isSet(THBaseService.putMultiple_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetPuts()
          Returns true if field puts 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.putMultiple_args._Fields field, Object value)
           
 THBaseService.putMultiple_args setPuts(List<TPut> puts)
          a list of TPuts to commit
 void setPutsIsSet(boolean value)
           
 THBaseService.putMultiple_args setTable(byte[] table)
          the table to put data in
 THBaseService.putMultiple_args setTable(ByteBuffer table)
           
 void setTableIsSet(boolean value)
           
 String toString()
           
 void unsetPuts()
           
 void unsetTable()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

table

public ByteBuffer table
the table to put data in


puts

public List<TPut> puts
a list of TPuts to commit


metaDataMap

public static final Map<THBaseService.putMultiple_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

THBaseService.putMultiple_args

public THBaseService.putMultiple_args()

THBaseService.putMultiple_args

public THBaseService.putMultiple_args(ByteBuffer table,
                                      List<TPut> puts)

THBaseService.putMultiple_args

public THBaseService.putMultiple_args(THBaseService.putMultiple_args other)
Performs a deep copy on other.

Method Detail

deepCopy

public THBaseService.putMultiple_args deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<THBaseService.putMultiple_args,THBaseService.putMultiple_args._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<THBaseService.putMultiple_args,THBaseService.putMultiple_args._Fields>

getTable

public byte[] getTable()
the table to put data in


bufferForTable

public ByteBuffer bufferForTable()

setTable

public THBaseService.putMultiple_args setTable(byte[] table)
the table to put data in


setTable

public THBaseService.putMultiple_args setTable(ByteBuffer table)

unsetTable

public void unsetTable()

isSetTable

public boolean isSetTable()
Returns true if field table is set (has been assigned a value) and false otherwise


setTableIsSet

public void setTableIsSet(boolean value)

getPutsSize

public int getPutsSize()

getPutsIterator

public Iterator<TPut> getPutsIterator()

addToPuts

public void addToPuts(TPut elem)

getPuts

public List<TPut> getPuts()
a list of TPuts to commit


setPuts

public THBaseService.putMultiple_args setPuts(List<TPut> puts)
a list of TPuts to commit


unsetPuts

public void unsetPuts()

isSetPuts

public boolean isSetPuts()
Returns true if field puts is set (has been assigned a value) and false otherwise


setPutsIsSet

public void setPutsIsSet(boolean value)

setFieldValue

public void setFieldValue(THBaseService.putMultiple_args._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<THBaseService.putMultiple_args,THBaseService.putMultiple_args._Fields>

getFieldValue

public Object getFieldValue(THBaseService.putMultiple_args._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<THBaseService.putMultiple_args,THBaseService.putMultiple_args._Fields>

isSet

public boolean isSet(THBaseService.putMultiple_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<THBaseService.putMultiple_args,THBaseService.putMultiple_args._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(THBaseService.putMultiple_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(THBaseService.putMultiple_args other)
Specified by:
compareTo in interface Comparable<THBaseService.putMultiple_args>

fieldForId

public THBaseService.putMultiple_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<THBaseService.putMultiple_args,THBaseService.putMultiple_args._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<THBaseService.putMultiple_args,THBaseService.putMultiple_args._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<THBaseService.putMultiple_args,THBaseService.putMultiple_args._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.