|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.thrift2.generated.TScan
public class TScan
Any timestamps in the columns are ignored, use timeRange to select by timestamp. Max versions defaults to 1.
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<TColumn> |
columns
|
int |
maxVersions
|
static Map<TScan._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
ByteBuffer |
startRow
|
ByteBuffer |
stopRow
|
TTimeRange |
timeRange
|
Constructor Summary | |
---|---|
TScan()
|
|
TScan(TScan other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
addToColumns(TColumn elem)
|
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<TColumn> |
getColumns()
|
Iterator<TColumn> |
getColumnsIterator()
|
int |
getColumnsSize()
|
Object |
getFieldValue(TScan._Fields field)
|
int |
getMaxVersions()
|
byte[] |
getStartRow()
|
byte[] |
getStopRow()
|
TTimeRange |
getTimeRange()
|
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 |
isSetMaxVersions()
Returns true if field maxVersions 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 |
isSetTimeRange()
Returns true if field timeRange 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<TColumn> columns)
|
void |
setColumnsIsSet(boolean value)
|
void |
setFieldValue(TScan._Fields field,
Object value)
|
TScan |
setMaxVersions(int maxVersions)
|
void |
setMaxVersionsIsSet(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 |
setTimeRange(TTimeRange timeRange)
|
void |
setTimeRangeIsSet(boolean value)
|
String |
toString()
|
void |
unsetCaching()
|
void |
unsetColumns()
|
void |
unsetMaxVersions()
|
void |
unsetStartRow()
|
void |
unsetStopRow()
|
void |
unsetTimeRange()
|
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 List<TColumn> columns
public int caching
public int maxVersions
public TTimeRange timeRange
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 int getColumnsSize()
public Iterator<TColumn> getColumnsIterator()
public void addToColumns(TColumn elem)
public List<TColumn> getColumns()
public TScan setColumns(List<TColumn> 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 int getMaxVersions()
public TScan setMaxVersions(int maxVersions)
public void unsetMaxVersions()
public boolean isSetMaxVersions()
public void setMaxVersionsIsSet(boolean value)
public TTimeRange getTimeRange()
public TScan setTimeRange(TTimeRange timeRange)
public void unsetTimeRange()
public boolean isSetTimeRange()
public void setTimeRangeIsSet(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 |