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

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

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

See Also:
Serialized Form

Nested Class Summary
static class Hbase.getRowsTs_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<Hbase.getRowsTs_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 List<ByteBuffer> rows
          row keys
 ByteBuffer tableName
          name of the table
 long timestamp
          timestamp
 
Constructor Summary
Hbase.getRowsTs_args()
           
Hbase.getRowsTs_args(ByteBuffer tableName, List<ByteBuffer> rows, long timestamp)
           
Hbase.getRowsTs_args(Hbase.getRowsTs_args other)
          Performs a deep copy on other.
 
Method Summary
 void addToRows(ByteBuffer elem)
           
 ByteBuffer bufferForTableName()
           
 void clear()
           
 int compareTo(Hbase.getRowsTs_args other)
           
 Hbase.getRowsTs_args deepCopy()
           
 boolean equals(Hbase.getRowsTs_args that)
           
 boolean equals(Object that)
           
 Hbase.getRowsTs_args._Fields fieldForId(int fieldId)
           
 Object getFieldValue(Hbase.getRowsTs_args._Fields field)
           
 List<ByteBuffer> getRows()
          row keys
 Iterator<ByteBuffer> getRowsIterator()
           
 int getRowsSize()
           
 byte[] getTableName()
          name of the table
 long getTimestamp()
          timestamp
 int hashCode()
           
 boolean isSet(Hbase.getRowsTs_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetRows()
          Returns true if field rows is set (has been assigned a value) and false otherwise
 boolean isSetTableName()
          Returns true if field tableName is set (has been assigned a value) and false otherwise
 boolean isSetTimestamp()
          Returns true if field timestamp is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(Hbase.getRowsTs_args._Fields field, Object value)
           
 Hbase.getRowsTs_args setRows(List<ByteBuffer> rows)
          row keys
 void setRowsIsSet(boolean value)
           
 Hbase.getRowsTs_args setTableName(byte[] tableName)
          name of the table
 Hbase.getRowsTs_args setTableName(ByteBuffer tableName)
           
 void setTableNameIsSet(boolean value)
           
 Hbase.getRowsTs_args setTimestamp(long timestamp)
          timestamp
 void setTimestampIsSet(boolean value)
           
 String toString()
           
 void unsetRows()
           
 void unsetTableName()
           
 void unsetTimestamp()
           
 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

tableName

public ByteBuffer tableName
name of the table


rows

public List<ByteBuffer> rows
row keys


timestamp

public long timestamp
timestamp


metaDataMap

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

Hbase.getRowsTs_args

public Hbase.getRowsTs_args()

Hbase.getRowsTs_args

public Hbase.getRowsTs_args(ByteBuffer tableName,
                            List<ByteBuffer> rows,
                            long timestamp)

Hbase.getRowsTs_args

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

Method Detail

deepCopy

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

clear

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

getTableName

public byte[] getTableName()
name of the table


bufferForTableName

public ByteBuffer bufferForTableName()

setTableName

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


setTableName

public Hbase.getRowsTs_args setTableName(ByteBuffer tableName)

unsetTableName

public void unsetTableName()

isSetTableName

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


setTableNameIsSet

public void setTableNameIsSet(boolean value)

getRowsSize

public int getRowsSize()

getRowsIterator

public Iterator<ByteBuffer> getRowsIterator()

addToRows

public void addToRows(ByteBuffer elem)

getRows

public List<ByteBuffer> getRows()
row keys


setRows

public Hbase.getRowsTs_args setRows(List<ByteBuffer> rows)
row keys


unsetRows

public void unsetRows()

isSetRows

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


setRowsIsSet

public void setRowsIsSet(boolean value)

getTimestamp

public long getTimestamp()
timestamp


setTimestamp

public Hbase.getRowsTs_args setTimestamp(long timestamp)
timestamp


unsetTimestamp

public void unsetTimestamp()

isSetTimestamp

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


setTimestampIsSet

public void setTimestampIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

public boolean isSet(Hbase.getRowsTs_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<Hbase.getRowsTs_args,Hbase.getRowsTs_args._Fields>

equals

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

equals

public boolean equals(Hbase.getRowsTs_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public Hbase.getRowsTs_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<Hbase.getRowsTs_args,Hbase.getRowsTs_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<Hbase.getRowsTs_args,Hbase.getRowsTs_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.getRowsTs_args,Hbase.getRowsTs_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 © 2012 The Apache Software Foundation. All Rights Reserved.