org.apache.hadoop.hbase.thrift.generated
Class Hbase.mutateRows_args

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

public static class Hbase.mutateRows_args
extends Object
implements org.apache.thrift.TBase<Hbase.mutateRows_args._Fields>, Serializable, Cloneable, Comparable<Hbase.mutateRows_args>

See Also:
Serialized Form

Nested Class Summary
static class Hbase.mutateRows_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<Hbase.mutateRows_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 List<BatchMutation> rowBatches
          list of row batches
 byte[] tableName
          name of table
 
Constructor Summary
Hbase.mutateRows_args()
           
Hbase.mutateRows_args(byte[] tableName, List<BatchMutation> rowBatches)
           
Hbase.mutateRows_args(Hbase.mutateRows_args other)
          Performs a deep copy on other.
 
Method Summary
 void addToRowBatches(BatchMutation elem)
           
 Hbase.mutateRows_args clone()
          Deprecated. 
 int compareTo(Hbase.mutateRows_args other)
           
 Hbase.mutateRows_args deepCopy()
           
 boolean equals(Hbase.mutateRows_args that)
           
 boolean equals(Object that)
           
 Object getFieldValue(Hbase.mutateRows_args._Fields field)
           
 Object getFieldValue(int fieldId)
           
 List<BatchMutation> getRowBatches()
          list of row batches
 Iterator<BatchMutation> getRowBatchesIterator()
           
 int getRowBatchesSize()
           
 byte[] getTableName()
          name of table
 int hashCode()
           
 boolean isSet(Hbase.mutateRows_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
 boolean isSet(int fieldID)
           
 boolean isSetRowBatches()
          Returns true if field rowBatches is set (has been asigned a value) and false otherwise
 boolean isSetTableName()
          Returns true if field tableName is set (has been asigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(Hbase.mutateRows_args._Fields field, Object value)
           
 void setFieldValue(int fieldID, Object value)
           
 Hbase.mutateRows_args setRowBatches(List<BatchMutation> rowBatches)
          list of row batches
 void setRowBatchesIsSet(boolean value)
           
 Hbase.mutateRows_args setTableName(byte[] tableName)
          name of table
 void setTableNameIsSet(boolean value)
           
 String toString()
           
 void unsetRowBatches()
           
 void unsetTableName()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

tableName

public byte[] tableName
name of table


rowBatches

public List<BatchMutation> rowBatches
list of row batches


metaDataMap

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

Hbase.mutateRows_args

public Hbase.mutateRows_args()

Hbase.mutateRows_args

public Hbase.mutateRows_args(byte[] tableName,
                             List<BatchMutation> rowBatches)

Hbase.mutateRows_args

public Hbase.mutateRows_args(Hbase.mutateRows_args other)
Performs a deep copy on other.

Method Detail

deepCopy

public Hbase.mutateRows_args deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<Hbase.mutateRows_args._Fields>

clone

@Deprecated
public Hbase.mutateRows_args clone()
Deprecated. 

Overrides:
clone in class Object

getTableName

public byte[] getTableName()
name of table


setTableName

public Hbase.mutateRows_args setTableName(byte[] tableName)
name of table


unsetTableName

public void unsetTableName()

isSetTableName

public boolean isSetTableName()
Returns true if field tableName is set (has been asigned a value) and false otherwise


setTableNameIsSet

public void setTableNameIsSet(boolean value)

getRowBatchesSize

public int getRowBatchesSize()

getRowBatchesIterator

public Iterator<BatchMutation> getRowBatchesIterator()

addToRowBatches

public void addToRowBatches(BatchMutation elem)

getRowBatches

public List<BatchMutation> getRowBatches()
list of row batches


setRowBatches

public Hbase.mutateRows_args setRowBatches(List<BatchMutation> rowBatches)
list of row batches


unsetRowBatches

public void unsetRowBatches()

isSetRowBatches

public boolean isSetRowBatches()
Returns true if field rowBatches is set (has been asigned a value) and false otherwise


setRowBatchesIsSet

public void setRowBatchesIsSet(boolean value)

setFieldValue

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

setFieldValue

public void setFieldValue(int fieldID,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<Hbase.mutateRows_args._Fields>

getFieldValue

public Object getFieldValue(Hbase.mutateRows_args._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<Hbase.mutateRows_args._Fields>

getFieldValue

public Object getFieldValue(int fieldId)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<Hbase.mutateRows_args._Fields>

isSet

public boolean isSet(Hbase.mutateRows_args._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<Hbase.mutateRows_args._Fields>

isSet

public boolean isSet(int fieldID)
Specified by:
isSet in interface org.apache.thrift.TBase<Hbase.mutateRows_args._Fields>

equals

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

equals

public boolean equals(Hbase.mutateRows_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Hbase.mutateRows_args other)
Specified by:
compareTo in interface Comparable<Hbase.mutateRows_args>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<Hbase.mutateRows_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<Hbase.mutateRows_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 © 2011 The Apache Software Foundation. All Rights Reserved.