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

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

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

See Also:
Serialized Form

Nested Class Summary
static class Hbase.scannerOpenWithStop_args._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 Map<ByteBuffer,ByteBuffer> attributes
          Scan attributes
 List<ByteBuffer> columns
          columns to scan.
static Map<Hbase.scannerOpenWithStop_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 ByteBuffer startRow
          Starting row in table to scan.
 ByteBuffer stopRow
          row to stop scanning on.
 ByteBuffer tableName
          name of table
 
Constructor Summary
Hbase.scannerOpenWithStop_args()
           
Hbase.scannerOpenWithStop_args(ByteBuffer tableName, ByteBuffer startRow, ByteBuffer stopRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes)
           
Hbase.scannerOpenWithStop_args(Hbase.scannerOpenWithStop_args other)
          Performs a deep copy on other.
 
Method Summary
 void addToColumns(ByteBuffer elem)
           
 ByteBuffer bufferForStartRow()
           
 ByteBuffer bufferForStopRow()
           
 ByteBuffer bufferForTableName()
           
 void clear()
           
 int compareTo(Hbase.scannerOpenWithStop_args other)
           
 Hbase.scannerOpenWithStop_args deepCopy()
           
 boolean equals(Hbase.scannerOpenWithStop_args that)
           
 boolean equals(Object that)
           
 Hbase.scannerOpenWithStop_args._Fields fieldForId(int fieldId)
           
 Map<ByteBuffer,ByteBuffer> getAttributes()
          Scan attributes
 int getAttributesSize()
           
 List<ByteBuffer> getColumns()
          columns to scan.
 Iterator<ByteBuffer> getColumnsIterator()
           
 int getColumnsSize()
           
 Object getFieldValue(Hbase.scannerOpenWithStop_args._Fields field)
           
 byte[] getStartRow()
          Starting row in table to scan.
 byte[] getStopRow()
          row to stop scanning on.
 byte[] getTableName()
          name of table
 int hashCode()
           
 boolean isSet(Hbase.scannerOpenWithStop_args._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetAttributes()
          Returns true if field attributes is set (has been assigned a value) and false otherwise
 boolean isSetColumns()
          Returns true if field columns is set (has been assigned a value) and false otherwise
 boolean isSetStartRow()
          Returns true if field startRow is set (has been assigned a value) and false otherwise
 boolean isSetStopRow()
          Returns true if field stopRow 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
 void putToAttributes(ByteBuffer key, ByteBuffer val)
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 Hbase.scannerOpenWithStop_args setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
          Scan attributes
 void setAttributesIsSet(boolean value)
           
 Hbase.scannerOpenWithStop_args setColumns(List<ByteBuffer> columns)
          columns to scan.
 void setColumnsIsSet(boolean value)
           
 void setFieldValue(Hbase.scannerOpenWithStop_args._Fields field, Object value)
           
 Hbase.scannerOpenWithStop_args setStartRow(byte[] startRow)
          Starting row in table to scan.
 Hbase.scannerOpenWithStop_args setStartRow(ByteBuffer startRow)
           
 void setStartRowIsSet(boolean value)
           
 Hbase.scannerOpenWithStop_args setStopRow(byte[] stopRow)
          row to stop scanning on.
 Hbase.scannerOpenWithStop_args setStopRow(ByteBuffer stopRow)
           
 void setStopRowIsSet(boolean value)
           
 Hbase.scannerOpenWithStop_args setTableName(byte[] tableName)
          name of table
 Hbase.scannerOpenWithStop_args setTableName(ByteBuffer tableName)
           
 void setTableNameIsSet(boolean value)
           
 String toString()
           
 void unsetAttributes()
           
 void unsetColumns()
           
 void unsetStartRow()
           
 void unsetStopRow()
           
 void unsetTableName()
           
 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 table


startRow

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


stopRow

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


columns

public List<ByteBuffer> 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.


attributes

public Map<ByteBuffer,ByteBuffer> attributes
Scan attributes


metaDataMap

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

Hbase.scannerOpenWithStop_args

public Hbase.scannerOpenWithStop_args()

Hbase.scannerOpenWithStop_args

public Hbase.scannerOpenWithStop_args(ByteBuffer tableName,
                                      ByteBuffer startRow,
                                      ByteBuffer stopRow,
                                      List<ByteBuffer> columns,
                                      Map<ByteBuffer,ByteBuffer> attributes)

Hbase.scannerOpenWithStop_args

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

Method Detail

deepCopy

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

clear

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

getTableName

public byte[] getTableName()
name of table


bufferForTableName

public ByteBuffer bufferForTableName()

setTableName

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


setTableName

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

getStartRow

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


bufferForStartRow

public ByteBuffer bufferForStartRow()

setStartRow

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


setStartRow

public Hbase.scannerOpenWithStop_args setStartRow(ByteBuffer startRow)

unsetStartRow

public void unsetStartRow()

isSetStartRow

public boolean isSetStartRow()
Returns true if field startRow is set (has been assigned 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


bufferForStopRow

public ByteBuffer bufferForStopRow()

setStopRow

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


setStopRow

public Hbase.scannerOpenWithStop_args setStopRow(ByteBuffer stopRow)

unsetStopRow

public void unsetStopRow()

isSetStopRow

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


setStopRowIsSet

public void setStopRowIsSet(boolean value)

getColumnsSize

public int getColumnsSize()

getColumnsIterator

public Iterator<ByteBuffer> getColumnsIterator()

addToColumns

public void addToColumns(ByteBuffer elem)

getColumns

public List<ByteBuffer> 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.scannerOpenWithStop_args setColumns(List<ByteBuffer> 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 assigned a value) and false otherwise


setColumnsIsSet

public void setColumnsIsSet(boolean value)

getAttributesSize

public int getAttributesSize()

putToAttributes

public void putToAttributes(ByteBuffer key,
                            ByteBuffer val)

getAttributes

public Map<ByteBuffer,ByteBuffer> getAttributes()
Scan attributes


setAttributes

public Hbase.scannerOpenWithStop_args setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
Scan attributes


unsetAttributes

public void unsetAttributes()

isSetAttributes

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


setAttributesIsSet

public void setAttributesIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

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

equals

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

equals

public boolean equals(Hbase.scannerOpenWithStop_args that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public Hbase.scannerOpenWithStop_args._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<Hbase.scannerOpenWithStop_args,Hbase.scannerOpenWithStop_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.scannerOpenWithStop_args,Hbase.scannerOpenWithStop_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.scannerOpenWithStop_args,Hbase.scannerOpenWithStop_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.