|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.thrift.generated.TScan
public class TScan
A Scan object is used to specify scanner parameters when opening a scanner.
Nested Class Summary | |
---|---|
static class |
TScan._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
int |
caching
|
List<ByteBuffer> |
columns
|
ByteBuffer |
filterString
|
static Map<TScan._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
ByteBuffer |
startRow
|
ByteBuffer |
stopRow
|
long |
timestamp
|
Constructor Summary | |
---|---|
TScan()
|
|
TScan(TScan other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToColumns(ByteBuffer elem)
|
ByteBuffer |
bufferForFilterString()
|
ByteBuffer |
bufferForStartRow()
|
ByteBuffer |
bufferForStopRow()
|
void |
clear()
|
int |
compareTo(TScan other)
|
TScan |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(TScan that)
|
TScan._Fields |
fieldForId(int fieldId)
|
int |
getCaching()
|
List<ByteBuffer> |
getColumns()
|
Iterator<ByteBuffer> |
getColumnsIterator()
|
int |
getColumnsSize()
|
Object |
getFieldValue(TScan._Fields field)
|
byte[] |
getFilterString()
|
byte[] |
getStartRow()
|
byte[] |
getStopRow()
|
long |
getTimestamp()
|
int |
hashCode()
|
boolean |
isSet(TScan._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetCaching()
Returns true if field caching 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 |
isSetFilterString()
Returns true if field filterString 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 |
isSetTimestamp()
Returns true if field timestamp is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
TScan |
setCaching(int caching)
|
void |
setCachingIsSet(boolean value)
|
TScan |
setColumns(List<ByteBuffer> columns)
|
void |
setColumnsIsSet(boolean value)
|
void |
setFieldValue(TScan._Fields field,
Object value)
|
TScan |
setFilterString(byte[] filterString)
|
TScan |
setFilterString(ByteBuffer filterString)
|
void |
setFilterStringIsSet(boolean value)
|
TScan |
setStartRow(byte[] startRow)
|
TScan |
setStartRow(ByteBuffer startRow)
|
void |
setStartRowIsSet(boolean value)
|
TScan |
setStopRow(byte[] stopRow)
|
TScan |
setStopRow(ByteBuffer stopRow)
|
void |
setStopRowIsSet(boolean value)
|
TScan |
setTimestamp(long timestamp)
|
void |
setTimestampIsSet(boolean value)
|
String |
toString()
|
void |
unsetCaching()
|
void |
unsetColumns()
|
void |
unsetFilterString()
|
void |
unsetStartRow()
|
void |
unsetStopRow()
|
void |
unsetTimestamp()
|
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 |
---|
public ByteBuffer startRow
public ByteBuffer stopRow
public long timestamp
public List<ByteBuffer> columns
public int caching
public ByteBuffer filterString
public static final Map<TScan._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TScan()
public TScan(TScan other)
Method Detail |
---|
public TScan deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TScan,TScan._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TScan,TScan._Fields>
public byte[] getStartRow()
public ByteBuffer bufferForStartRow()
public TScan setStartRow(byte[] startRow)
public TScan setStartRow(ByteBuffer startRow)
public void unsetStartRow()
public boolean isSetStartRow()
public void setStartRowIsSet(boolean value)
public byte[] getStopRow()
public ByteBuffer bufferForStopRow()
public TScan setStopRow(byte[] stopRow)
public TScan setStopRow(ByteBuffer stopRow)
public void unsetStopRow()
public boolean isSetStopRow()
public void setStopRowIsSet(boolean value)
public long getTimestamp()
public TScan setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(boolean value)
public int getColumnsSize()
public Iterator<ByteBuffer> getColumnsIterator()
public void addToColumns(ByteBuffer elem)
public List<ByteBuffer> getColumns()
public TScan setColumns(List<ByteBuffer> columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public int getCaching()
public TScan setCaching(int caching)
public void unsetCaching()
public boolean isSetCaching()
public void setCachingIsSet(boolean value)
public byte[] getFilterString()
public ByteBuffer bufferForFilterString()
public TScan setFilterString(byte[] filterString)
public TScan setFilterString(ByteBuffer filterString)
public void unsetFilterString()
public boolean isSetFilterString()
public void setFilterStringIsSet(boolean value)
public void setFieldValue(TScan._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TScan,TScan._Fields>
public Object getFieldValue(TScan._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TScan,TScan._Fields>
public boolean isSet(TScan._Fields field)
isSet
in interface org.apache.thrift.TBase<TScan,TScan._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(TScan that)
public int hashCode()
hashCode
in class Object
public int compareTo(TScan other)
compareTo
in interface Comparable<TScan>
public TScan._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TScan,TScan._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TScan,TScan._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<TScan,TScan._Fields>
org.apache.thrift.TException
public String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |