public static class Hbase.scannerOpenWithPrefix_args extends Object implements org.apache.thrift.TBase<Hbase.scannerOpenWithPrefix_args,Hbase.scannerOpenWithPrefix_args._Fields>, Serializable, Cloneable, Comparable<Hbase.scannerOpenWithPrefix_args>
Modifier and Type | Class and Description |
---|---|
static class |
Hbase.scannerOpenWithPrefix_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
the columns you want returned
|
static Map<Hbase.scannerOpenWithPrefix_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
startAndPrefix
the prefix (and thus start row) of the keys you want
|
ByteBuffer |
tableName
name of table
|
Constructor and Description |
---|
Hbase.scannerOpenWithPrefix_args() |
Hbase.scannerOpenWithPrefix_args(ByteBuffer tableName,
ByteBuffer startAndPrefix,
List<ByteBuffer> columns,
Map<ByteBuffer,ByteBuffer> attributes) |
Hbase.scannerOpenWithPrefix_args(Hbase.scannerOpenWithPrefix_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToColumns(ByteBuffer elem) |
ByteBuffer |
bufferForStartAndPrefix() |
ByteBuffer |
bufferForTableName() |
void |
clear() |
int |
compareTo(Hbase.scannerOpenWithPrefix_args other) |
Hbase.scannerOpenWithPrefix_args |
deepCopy() |
boolean |
equals(Hbase.scannerOpenWithPrefix_args that) |
boolean |
equals(Object that) |
Hbase.scannerOpenWithPrefix_args._Fields |
fieldForId(int fieldId) |
Map<ByteBuffer,ByteBuffer> |
getAttributes()
Scan attributes
|
int |
getAttributesSize() |
List<ByteBuffer> |
getColumns()
the columns you want returned
|
Iterator<ByteBuffer> |
getColumnsIterator() |
int |
getColumnsSize() |
Object |
getFieldValue(Hbase.scannerOpenWithPrefix_args._Fields field) |
byte[] |
getStartAndPrefix()
the prefix (and thus start row) of the keys you want
|
byte[] |
getTableName()
name of table
|
int |
hashCode() |
boolean |
isSet(Hbase.scannerOpenWithPrefix_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 |
isSetStartAndPrefix()
Returns true if field startAndPrefix 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.scannerOpenWithPrefix_args |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
Scan attributes
|
void |
setAttributesIsSet(boolean value) |
Hbase.scannerOpenWithPrefix_args |
setColumns(List<ByteBuffer> columns)
the columns you want returned
|
void |
setColumnsIsSet(boolean value) |
void |
setFieldValue(Hbase.scannerOpenWithPrefix_args._Fields field,
Object value) |
Hbase.scannerOpenWithPrefix_args |
setStartAndPrefix(byte[] startAndPrefix)
the prefix (and thus start row) of the keys you want
|
Hbase.scannerOpenWithPrefix_args |
setStartAndPrefix(ByteBuffer startAndPrefix) |
void |
setStartAndPrefixIsSet(boolean value) |
Hbase.scannerOpenWithPrefix_args |
setTableName(byte[] tableName)
name of table
|
Hbase.scannerOpenWithPrefix_args |
setTableName(ByteBuffer tableName) |
void |
setTableNameIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetColumns() |
void |
unsetStartAndPrefix() |
void |
unsetTableName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer tableName
public ByteBuffer startAndPrefix
public List<ByteBuffer> columns
public Map<ByteBuffer,ByteBuffer> attributes
public static final Map<Hbase.scannerOpenWithPrefix_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Hbase.scannerOpenWithPrefix_args()
public Hbase.scannerOpenWithPrefix_args(ByteBuffer tableName, ByteBuffer startAndPrefix, List<ByteBuffer> columns, Map<ByteBuffer,ByteBuffer> attributes)
public Hbase.scannerOpenWithPrefix_args(Hbase.scannerOpenWithPrefix_args other)
public Hbase.scannerOpenWithPrefix_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Hbase.scannerOpenWithPrefix_args,Hbase.scannerOpenWithPrefix_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Hbase.scannerOpenWithPrefix_args,Hbase.scannerOpenWithPrefix_args._Fields>
public byte[] getTableName()
public ByteBuffer bufferForTableName()
public Hbase.scannerOpenWithPrefix_args setTableName(byte[] tableName)
public Hbase.scannerOpenWithPrefix_args setTableName(ByteBuffer tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public byte[] getStartAndPrefix()
public ByteBuffer bufferForStartAndPrefix()
public Hbase.scannerOpenWithPrefix_args setStartAndPrefix(byte[] startAndPrefix)
public Hbase.scannerOpenWithPrefix_args setStartAndPrefix(ByteBuffer startAndPrefix)
public void unsetStartAndPrefix()
public boolean isSetStartAndPrefix()
public void setStartAndPrefixIsSet(boolean value)
public int getColumnsSize()
public Iterator<ByteBuffer> getColumnsIterator()
public void addToColumns(ByteBuffer elem)
public List<ByteBuffer> getColumns()
public Hbase.scannerOpenWithPrefix_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.scannerOpenWithPrefix_args setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public void setFieldValue(Hbase.scannerOpenWithPrefix_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Hbase.scannerOpenWithPrefix_args,Hbase.scannerOpenWithPrefix_args._Fields>
public Object getFieldValue(Hbase.scannerOpenWithPrefix_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Hbase.scannerOpenWithPrefix_args,Hbase.scannerOpenWithPrefix_args._Fields>
public boolean isSet(Hbase.scannerOpenWithPrefix_args._Fields field)
isSet
in interface org.apache.thrift.TBase<Hbase.scannerOpenWithPrefix_args,Hbase.scannerOpenWithPrefix_args._Fields>
public boolean equals(Hbase.scannerOpenWithPrefix_args that)
public int compareTo(Hbase.scannerOpenWithPrefix_args other)
compareTo
in interface Comparable<Hbase.scannerOpenWithPrefix_args>
public Hbase.scannerOpenWithPrefix_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Hbase.scannerOpenWithPrefix_args,Hbase.scannerOpenWithPrefix_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Hbase.scannerOpenWithPrefix_args,Hbase.scannerOpenWithPrefix_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.scannerOpenWithPrefix_args,Hbase.scannerOpenWithPrefix_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.