public static class Hbase.getRows_args extends Object implements org.apache.thrift.TBase<Hbase.getRows_args,Hbase.getRows_args._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Hbase.getRows_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
Get attributes
|
static Map<Hbase.getRows_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<ByteBuffer> |
rows
row keys
|
ByteBuffer |
tableName
name of table
|
Constructor and Description |
---|
Hbase.getRows_args() |
Hbase.getRows_args(ByteBuffer tableName,
List<ByteBuffer> rows,
Map<ByteBuffer,ByteBuffer> attributes) |
Hbase.getRows_args(Hbase.getRows_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToRows(ByteBuffer elem) |
ByteBuffer |
bufferForTableName() |
void |
clear() |
int |
compareTo(Hbase.getRows_args other) |
Hbase.getRows_args |
deepCopy() |
boolean |
equals(Hbase.getRows_args that) |
boolean |
equals(Object that) |
Hbase.getRows_args._Fields |
fieldForId(int fieldId) |
Map<ByteBuffer,ByteBuffer> |
getAttributes()
Get attributes
|
int |
getAttributesSize() |
Object |
getFieldValue(Hbase.getRows_args._Fields field) |
List<ByteBuffer> |
getRows()
row keys
|
Iterator<ByteBuffer> |
getRowsIterator() |
int |
getRowsSize() |
byte[] |
getTableName()
name of table
|
int |
hashCode() |
boolean |
isSet(Hbase.getRows_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 |
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
|
void |
putToAttributes(ByteBuffer key,
ByteBuffer val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Hbase.getRows_args |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
Get attributes
|
void |
setAttributesIsSet(boolean value) |
void |
setFieldValue(Hbase.getRows_args._Fields field,
Object value) |
Hbase.getRows_args |
setRows(List<ByteBuffer> rows)
row keys
|
void |
setRowsIsSet(boolean value) |
Hbase.getRows_args |
setTableName(byte[] tableName)
name of table
|
Hbase.getRows_args |
setTableName(ByteBuffer tableName) |
void |
setTableNameIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetRows() |
void |
unsetTableName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer tableName
public List<ByteBuffer> rows
public Map<ByteBuffer,ByteBuffer> attributes
public static final Map<Hbase.getRows_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Hbase.getRows_args()
public Hbase.getRows_args(ByteBuffer tableName, List<ByteBuffer> rows, Map<ByteBuffer,ByteBuffer> attributes)
public Hbase.getRows_args(Hbase.getRows_args other)
public Hbase.getRows_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Hbase.getRows_args,Hbase.getRows_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Hbase.getRows_args,Hbase.getRows_args._Fields>
public byte[] getTableName()
public ByteBuffer bufferForTableName()
public Hbase.getRows_args setTableName(byte[] tableName)
public Hbase.getRows_args setTableName(ByteBuffer tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public int getRowsSize()
public Iterator<ByteBuffer> getRowsIterator()
public void addToRows(ByteBuffer elem)
public List<ByteBuffer> getRows()
public Hbase.getRows_args setRows(List<ByteBuffer> rows)
public void unsetRows()
public boolean isSetRows()
public void setRowsIsSet(boolean value)
public int getAttributesSize()
public void putToAttributes(ByteBuffer key, ByteBuffer val)
public Map<ByteBuffer,ByteBuffer> getAttributes()
public Hbase.getRows_args setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public void setFieldValue(Hbase.getRows_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Hbase.getRows_args,Hbase.getRows_args._Fields>
public Object getFieldValue(Hbase.getRows_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Hbase.getRows_args,Hbase.getRows_args._Fields>
public boolean isSet(Hbase.getRows_args._Fields field)
isSet
in interface org.apache.thrift.TBase<Hbase.getRows_args,Hbase.getRows_args._Fields>
public boolean equals(Hbase.getRows_args that)
public int compareTo(Hbase.getRows_args other)
compareTo
in interface Comparable<Hbase.getRows_args>
public Hbase.getRows_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Hbase.getRows_args,Hbase.getRows_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Hbase.getRows_args,Hbase.getRows_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.getRows_args,Hbase.getRows_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.