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

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

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

See Also:
Serialized Form

Nested Class Summary
static class Hbase.scannerOpenWithStopTs_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 List<byte[]> columns
          columns to scan.
static Map<Hbase.scannerOpenWithStopTs_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 byte[] startRow
          Starting row in table to scan.
 byte[] stopRow
          row to stop scanning on.
 byte[] tableName
          name of table
 long timestamp
          timestamp
 
Constructor Summary
Hbase.scannerOpenWithStopTs_args()
           
Hbase.scannerOpenWithStopTs_args(byte[] tableName, byte[] startRow, byte[] stopRow, List<byte[]> columns, long timestamp)
           
Hbase.scannerOpenWithStopTs_args(Hbase.scannerOpenWithStopTs_args other)
          Performs a deep copy on other.
 
Method Summary
 void addToColumns(byte[] elem)
           
 Hbase.scannerOpenWithStopTs_args clone()
          Deprecated. 
 int compareTo(Hbase.scannerOpenWithStopTs_args other)
           
 Hbase.scannerOpenWithStopTs_args deepCopy()
           
 boolean equals(Hbase.scannerOpenWithStopTs_args that)
           
 boolean equals(Object that)
           
 List<byte[]> getColumns()
          columns to scan.
 Iterator<byte[]> getColumnsIterator()
           
 int getColumnsSize()
           
 Object getFieldValue(Hbase.scannerOpenWithStopTs_args._Fields field)
           
 Object getFieldValue(int fieldId)
           
 byte[] getStartRow()
          Starting row in table to scan.
 byte[] getStopRow()
          row to stop scanning on.
 byte[] getTableName()
          name of table
 long getTimestamp()
          timestamp
 int hashCode()
           
 boolean isSet(Hbase.scannerOpenWithStopTs_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 isSetColumns()
          Returns true if field columns is set (has been asigned a value) and false otherwise
 boolean isSetStartRow()
          Returns true if field startRow is set (has been asigned a value) and false otherwise
 boolean isSetStopRow()
          Returns true if field stopRow 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)
           
 Hbase.scannerOpenWithStopTs_args setColumns(List<byte[]> columns)
          columns to scan.
 void setColumnsIsSet(boolean value)
           
 void setFieldValue(Hbase.scannerOpenWithStopTs_args._Fields field, Object value)
           
 void setFieldValue(int fieldID, Object value)
           
 Hbase.scannerOpenWithStopTs_args setStartRow(byte[] startRow)
          Starting row in table to scan.
 void setStartRowIsSet(boolean value)
           
 Hbase.scannerOpenWithStopTs_args setStopRow(byte[] stopRow)
          row to stop scanning on.
 void setStopRowIsSet(boolean value)
           
 Hbase.scannerOpenWithStopTs_args setTableName(byte[] tableName)
          name of table
 void setTableNameIsSet(boolean value)
           
 Hbase.scannerOpenWithStopTs_args setTimestamp(long timestamp)
          timestamp
 void setTimestampIsSet(boolean value)
           
 String toString()
           
 void unsetColumns()
           
 void unsetStartRow()
           
 void unsetStopRow()
           
 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


startRow

public byte[] startRow
Starting row in table to scan. Send "" (empty string) to start at the first row.


stopRow

public byte[] stopRow
row to stop scanning on. This row is *not* included in the scanner's results


columns

public List<byte[]> columns
columns to scan. If column name is a column family, all columns of the specified column family are returned. It's also possible to pass a regex in the column qualifier.


timestamp

public long timestamp
timestamp


metaDataMap

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

Hbase.scannerOpenWithStopTs_args

public Hbase.scannerOpenWithStopTs_args()

Hbase.scannerOpenWithStopTs_args

public Hbase.scannerOpenWithStopTs_args(byte[] tableName,
                                        byte[] startRow,
                                        byte[] stopRow,
                                        List<byte[]> columns,
                                        long timestamp)

Hbase.scannerOpenWithStopTs_args

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

Method Detail

deepCopy

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

clone

@Deprecated
public Hbase.scannerOpenWithStopTs_args clone()
Deprecated. 

Overrides:
clone in class Object

getTableName

public byte[] getTableName()
name of table


setTableName

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

getStartRow

public byte[] getStartRow()
Starting row in table to scan. Send "" (empty string) to start at the first row.


setStartRow

public Hbase.scannerOpenWithStopTs_args setStartRow(byte[] startRow)
Starting row in table to scan. Send "" (empty string) to start at the first row.


unsetStartRow

public void unsetStartRow()

isSetStartRow

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


setStartRowIsSet

public void setStartRowIsSet(boolean value)

getStopRow

public byte[] getStopRow()
row to stop scanning on. This row is *not* included in the scanner's results


setStopRow

public Hbase.scannerOpenWithStopTs_args setStopRow(byte[] stopRow)
row to stop scanning on. This row is *not* included in the scanner's results


unsetStopRow

public void unsetStopRow()

isSetStopRow

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


setStopRowIsSet

public void setStopRowIsSet(boolean value)

getColumnsSize

public int getColumnsSize()

getColumnsIterator

public Iterator<byte[]> getColumnsIterator()

addToColumns

public void addToColumns(byte[] elem)

getColumns

public List<byte[]> getColumns()
columns to scan. If column name is a column family, all columns of the specified column family are returned. It's also possible to pass a regex in the column qualifier.


setColumns

public Hbase.scannerOpenWithStopTs_args setColumns(List<byte[]> columns)
columns to scan. If column name is a column family, all columns of the specified column family are returned. It's also possible to pass a regex in the column qualifier.


unsetColumns

public void unsetColumns()

isSetColumns

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


setColumnsIsSet

public void setColumnsIsSet(boolean value)

getTimestamp

public long getTimestamp()
timestamp


setTimestamp

public Hbase.scannerOpenWithStopTs_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.scannerOpenWithStopTs_args._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<Hbase.scannerOpenWithStopTs_args._Fields>

setFieldValue

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

getFieldValue

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

getFieldValue

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

isSet

public boolean isSet(Hbase.scannerOpenWithStopTs_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.scannerOpenWithStopTs_args._Fields>

isSet

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

equals

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

equals

public boolean equals(Hbase.scannerOpenWithStopTs_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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