public static class Hbase.scannerOpen_args extends Object implements org.apache.thrift.TBase<Hbase.scannerOpen_args,Hbase.scannerOpen_args._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Hbase.scannerOpen_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
Map<ByteBuffer,ByteBuffer> |
attributes
Scan attributes
|
List<ByteBuffer> |
columns
columns to scan.
|
static Map<Hbase.scannerOpen_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
startRow
Starting row in table to scan.
|
ByteBuffer |
tableName
name of table
|
Constructor and Description |
---|
Hbase.scannerOpen_args() |
Hbase.scannerOpen_args(ByteBuffer tableName,
ByteBuffer startRow,
List<ByteBuffer> columns,
Map<ByteBuffer,ByteBuffer> attributes) |
Hbase.scannerOpen_args(Hbase.scannerOpen_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToColumns(ByteBuffer elem) |
ByteBuffer |
bufferForStartRow() |
ByteBuffer |
bufferForTableName() |
void |
clear() |
int |
compareTo(Hbase.scannerOpen_args other) |
Hbase.scannerOpen_args |
deepCopy() |
boolean |
equals(Hbase.scannerOpen_args that) |
boolean |
equals(Object that) |
Hbase.scannerOpen_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.scannerOpen_args._Fields field) |
byte[] |
getStartRow()
Starting row in table to scan.
|
byte[] |
getTableName()
name of table
|
int |
hashCode() |
boolean |
isSet(Hbase.scannerOpen_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 |
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.scannerOpen_args |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
Scan attributes
|
void |
setAttributesIsSet(boolean value) |
Hbase.scannerOpen_args |
setColumns(List<ByteBuffer> columns)
columns to scan.
|
void |
setColumnsIsSet(boolean value) |
void |
setFieldValue(Hbase.scannerOpen_args._Fields field,
Object value) |
Hbase.scannerOpen_args |
setStartRow(byte[] startRow)
Starting row in table to scan.
|
Hbase.scannerOpen_args |
setStartRow(ByteBuffer startRow) |
void |
setStartRowIsSet(boolean value) |
Hbase.scannerOpen_args |
setTableName(byte[] tableName)
name of table
|
Hbase.scannerOpen_args |
setTableName(ByteBuffer tableName) |
void |
setTableNameIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetColumns() |
void |
unsetStartRow() |
void |
unsetTableName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer tableName
public ByteBuffer startRow
public List<ByteBuffer> columns
public Map<ByteBuffer,ByteBuffer> attributes
public static final Map<Hbase.scannerOpen_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Hbase.scannerOpen_args()
public Hbase.scannerOpen_args(ByteBuffer tableName, ByteBuffer startRow, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes)
public Hbase.scannerOpen_args(Hbase.scannerOpen_args other)
public Hbase.scannerOpen_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Hbase.scannerOpen_args,Hbase.scannerOpen_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Hbase.scannerOpen_args,Hbase.scannerOpen_args._Fields>
public byte[] getTableName()
public ByteBuffer bufferForTableName()
public Hbase.scannerOpen_args setTableName(byte[] tableName)
public Hbase.scannerOpen_args setTableName(ByteBuffer tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public byte[] getStartRow()
public ByteBuffer bufferForStartRow()
public Hbase.scannerOpen_args setStartRow(byte[] startRow)
public Hbase.scannerOpen_args setStartRow(ByteBuffer startRow)
public void unsetStartRow()
public boolean isSetStartRow()
public void setStartRowIsSet(boolean value)
public int getColumnsSize()
public Iterator<ByteBuffer> getColumnsIterator()
public void addToColumns(ByteBuffer elem)
public List<ByteBuffer> getColumns()
public Hbase.scannerOpen_args setColumns(List<ByteBuffer> columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public int getAttributesSize()
public void putToAttributes(ByteBuffer key, ByteBuffer val)
public Map<ByteBuffer,ByteBuffer> getAttributes()
public Hbase.scannerOpen_args setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public void setFieldValue(Hbase.scannerOpen_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Hbase.scannerOpen_args,Hbase.scannerOpen_args._Fields>
public Object getFieldValue(Hbase.scannerOpen_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Hbase.scannerOpen_args,Hbase.scannerOpen_args._Fields>
public boolean isSet(Hbase.scannerOpen_args._Fields field)
isSet
in interface org.apache.thrift.TBase<Hbase.scannerOpen_args,Hbase.scannerOpen_args._Fields>
public boolean equals(Hbase.scannerOpen_args that)
public int compareTo(Hbase.scannerOpen_args other)
compareTo
in interface Comparable<Hbase.scannerOpen_args>
public Hbase.scannerOpen_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Hbase.scannerOpen_args,Hbase.scannerOpen_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Hbase.scannerOpen_args,Hbase.scannerOpen_args._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<Hbase.scannerOpen_args,Hbase.scannerOpen_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.