@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2017-03-27") public class TScan extends Object implements org.apache.thrift.TBase<TScan,TScan._Fields>, Serializable, Cloneable, Comparable<TScan>
Modifier and Type | Class and Description |
---|---|
static class |
TScan._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 |
TAuthorization |
authorizations |
int |
batchSize |
boolean |
cacheBlocks |
int |
caching |
Map<ByteBuffer,TTimeRange> |
colFamTimeRangeMap |
List<TColumn> |
columns |
ByteBuffer |
filterString |
int |
limit |
int |
maxVersions |
static Map<TScan._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
TReadType |
readType |
boolean |
reversed |
ByteBuffer |
startRow |
ByteBuffer |
stopRow |
TTimeRange |
timeRange |
Constructor and Description |
---|
TScan() |
TScan(TScan other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToColumns(TColumn 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) |
Map<ByteBuffer,ByteBuffer> |
getAttributes() |
int |
getAttributesSize() |
TAuthorization |
getAuthorizations() |
int |
getBatchSize() |
int |
getCaching() |
Map<ByteBuffer,TTimeRange> |
getColFamTimeRangeMap() |
int |
getColFamTimeRangeMapSize() |
List<TColumn> |
getColumns() |
Iterator<TColumn> |
getColumnsIterator() |
int |
getColumnsSize() |
Object |
getFieldValue(TScan._Fields field) |
byte[] |
getFilterString() |
int |
getLimit() |
int |
getMaxVersions() |
TReadType |
getReadType() |
byte[] |
getStartRow() |
byte[] |
getStopRow() |
TTimeRange |
getTimeRange() |
int |
hashCode() |
boolean |
isCacheBlocks() |
boolean |
isReversed() |
boolean |
isSet(TScan._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 |
isSetAuthorizations()
Returns true if field authorizations is set (has been assigned a value) and false otherwise
|
boolean |
isSetBatchSize()
Returns true if field batchSize is set (has been assigned a value) and false otherwise
|
boolean |
isSetCacheBlocks()
Returns true if field cacheBlocks 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 |
isSetColFamTimeRangeMap()
Returns true if field colFamTimeRangeMap 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 |
isSetLimit()
Returns true if field limit 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 |
isSetReadType()
Returns true if field readType is set (has been assigned a value) and false otherwise
|
boolean |
isSetReversed()
Returns true if field reversed 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 |
putToAttributes(ByteBuffer key,
ByteBuffer val) |
void |
putToColFamTimeRangeMap(ByteBuffer key,
TTimeRange val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TScan |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes) |
void |
setAttributesIsSet(boolean value) |
TScan |
setAuthorizations(TAuthorization authorizations) |
void |
setAuthorizationsIsSet(boolean value) |
TScan |
setBatchSize(int batchSize) |
void |
setBatchSizeIsSet(boolean value) |
TScan |
setCacheBlocks(boolean cacheBlocks) |
void |
setCacheBlocksIsSet(boolean value) |
TScan |
setCaching(int caching) |
void |
setCachingIsSet(boolean value) |
TScan |
setColFamTimeRangeMap(Map<ByteBuffer,TTimeRange> colFamTimeRangeMap) |
void |
setColFamTimeRangeMapIsSet(boolean value) |
TScan |
setColumns(List<TColumn> 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 |
setLimit(int limit) |
void |
setLimitIsSet(boolean value) |
TScan |
setMaxVersions(int maxVersions) |
void |
setMaxVersionsIsSet(boolean value) |
TScan |
setReadType(TReadType readType) |
void |
setReadTypeIsSet(boolean value) |
TScan |
setReversed(boolean reversed) |
void |
setReversedIsSet(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 |
unsetAttributes() |
void |
unsetAuthorizations() |
void |
unsetBatchSize() |
void |
unsetCacheBlocks() |
void |
unsetCaching() |
void |
unsetColFamTimeRangeMap() |
void |
unsetColumns() |
void |
unsetFilterString() |
void |
unsetLimit() |
void |
unsetMaxVersions() |
void |
unsetReadType() |
void |
unsetReversed() |
void |
unsetStartRow() |
void |
unsetStopRow() |
void |
unsetTimeRange() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer startRow
public ByteBuffer stopRow
public int caching
public int maxVersions
public TTimeRange timeRange
public ByteBuffer filterString
public int batchSize
public Map<ByteBuffer,ByteBuffer> attributes
public TAuthorization authorizations
public boolean reversed
public boolean cacheBlocks
public Map<ByteBuffer,TTimeRange> colFamTimeRangeMap
public int limit
public static final Map<TScan._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TScan()
public TScan(TScan other)
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 void addToColumns(TColumn elem)
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 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 int getBatchSize()
public TScan setBatchSize(int batchSize)
public void unsetBatchSize()
public boolean isSetBatchSize()
public void setBatchSizeIsSet(boolean value)
public int getAttributesSize()
public void putToAttributes(ByteBuffer key, ByteBuffer val)
public Map<ByteBuffer,ByteBuffer> getAttributes()
public TScan setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public TAuthorization getAuthorizations()
public TScan setAuthorizations(TAuthorization authorizations)
public void unsetAuthorizations()
public boolean isSetAuthorizations()
public void setAuthorizationsIsSet(boolean value)
public boolean isReversed()
public TScan setReversed(boolean reversed)
public void unsetReversed()
public boolean isSetReversed()
public void setReversedIsSet(boolean value)
public boolean isCacheBlocks()
public TScan setCacheBlocks(boolean cacheBlocks)
public void unsetCacheBlocks()
public boolean isSetCacheBlocks()
public void setCacheBlocksIsSet(boolean value)
public int getColFamTimeRangeMapSize()
public void putToColFamTimeRangeMap(ByteBuffer key, TTimeRange val)
public Map<ByteBuffer,TTimeRange> getColFamTimeRangeMap()
public TScan setColFamTimeRangeMap(Map<ByteBuffer,TTimeRange> colFamTimeRangeMap)
public void unsetColFamTimeRangeMap()
public boolean isSetColFamTimeRangeMap()
public void setColFamTimeRangeMapIsSet(boolean value)
public void unsetReadType()
public boolean isSetReadType()
public void setReadTypeIsSet(boolean value)
public int getLimit()
public TScan setLimit(int limit)
public void unsetLimit()
public boolean isSetLimit()
public void setLimitIsSet(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(TScan that)
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 void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2007–2019 Cloudera. All rights reserved.