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

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

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

See Also:
Serialized Form

Nested Class Summary
static class Hbase.mutateRowTs_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<Hbase.mutateRowTs_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 List<Mutation> mutations
          list of mutation commands
 byte[] row
          row key
 byte[] tableName
          name of table
 long timestamp
          timestamp
 
Constructor Summary
Hbase.mutateRowTs_args()
           
Hbase.mutateRowTs_args(byte[] tableName, byte[] row, List<Mutation> mutations, long timestamp)
           
Hbase.mutateRowTs_args(Hbase.mutateRowTs_args other)
          Performs a deep copy on other.
 
Method Summary
 void addToMutations(Mutation elem)
           
 Hbase.mutateRowTs_args clone()
          Deprecated. 
 int compareTo(Hbase.mutateRowTs_args other)
           
 Hbase.mutateRowTs_args deepCopy()
           
 boolean equals(Hbase.mutateRowTs_args that)
           
 boolean equals(Object that)
           
 Object getFieldValue(Hbase.mutateRowTs_args._Fields field)
           
 Object getFieldValue(int fieldId)
           
 List<Mutation> getMutations()
          list of mutation commands
 Iterator<Mutation> getMutationsIterator()
           
 int getMutationsSize()
           
 byte[] getRow()
          row key
 byte[] getTableName()
          name of table
 long getTimestamp()
          timestamp
 int hashCode()
           
 boolean isSet(Hbase.mutateRowTs_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 isSetMutations()
          Returns true if field mutations is set (has been asigned a value) and false otherwise
 boolean isSetRow()
          Returns true if field row 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
 boolean isSetTimestamp()
          Returns true if field timestamp is set (has been asigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(Hbase.mutateRowTs_args._Fields field, Object value)
           
 void setFieldValue(int fieldID, Object value)
           
 Hbase.mutateRowTs_args setMutations(List<Mutation> mutations)
          list of mutation commands
 void setMutationsIsSet(boolean value)
           
 Hbase.mutateRowTs_args setRow(byte[] row)
          row key
 void setRowIsSet(boolean value)
           
 Hbase.mutateRowTs_args setTableName(byte[] tableName)
          name of table
 void setTableNameIsSet(boolean value)
           
 Hbase.mutateRowTs_args setTimestamp(long timestamp)
          timestamp
 void setTimestampIsSet(boolean value)
           
 String toString()
           
 void unsetMutations()
           
 void unsetRow()
           
 void unsetTableName()
           
 void unsetTimestamp()
           
 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


row

public byte[] row
row key


mutations

public List<Mutation> mutations
list of mutation commands


timestamp

public long timestamp
timestamp


metaDataMap

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

Hbase.mutateRowTs_args

public Hbase.mutateRowTs_args()

Hbase.mutateRowTs_args

public Hbase.mutateRowTs_args(byte[] tableName,
                              byte[] row,
                              List<Mutation> mutations,
                              long timestamp)

Hbase.mutateRowTs_args

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

Method Detail

deepCopy

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

clone

@Deprecated
public Hbase.mutateRowTs_args clone()
Deprecated. 

Overrides:
clone in class Object

getTableName

public byte[] getTableName()
name of table


setTableName

public Hbase.mutateRowTs_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)

getRow

public byte[] getRow()
row key


setRow

public Hbase.mutateRowTs_args setRow(byte[] row)
row key


unsetRow

public void unsetRow()

isSetRow

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


setRowIsSet

public void setRowIsSet(boolean value)

getMutationsSize

public int getMutationsSize()

getMutationsIterator

public Iterator<Mutation> getMutationsIterator()

addToMutations

public void addToMutations(Mutation elem)

getMutations

public List<Mutation> getMutations()
list of mutation commands


setMutations

public Hbase.mutateRowTs_args setMutations(List<Mutation> mutations)
list of mutation commands


unsetMutations

public void unsetMutations()

isSetMutations

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


setMutationsIsSet

public void setMutationsIsSet(boolean value)

getTimestamp

public long getTimestamp()
timestamp


setTimestamp

public Hbase.mutateRowTs_args setTimestamp(long timestamp)
timestamp


unsetTimestamp

public void unsetTimestamp()

isSetTimestamp

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


setTimestampIsSet

public void setTimestampIsSet(boolean value)

setFieldValue

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

setFieldValue

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

getFieldValue

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

getFieldValue

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

isSet

public boolean isSet(Hbase.mutateRowTs_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.mutateRowTs_args._Fields>

isSet

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

equals

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

equals

public boolean equals(Hbase.mutateRowTs_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Hbase.mutateRowTs_args other)
Specified by:
compareTo in interface Comparable<Hbase.mutateRowTs_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.mutateRowTs_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.mutateRowTs_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.