@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-05-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 |
---|---|
int |
batchSize |
boolean |
cacheBlocks |
int |
caching |
List<ByteBuffer> |
columns |
ByteBuffer |
filterString |
static Map<TScan._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
reversed |
boolean |
sortColumns |
ByteBuffer |
startRow |
ByteBuffer |
stopRow |
long |
timestamp |
Constructor and Description |
---|
TScan() |
TScan(TScan other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
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 |
getBatchSize() |
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 |
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 |
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 |
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 |
isSetReversed()
Returns true if field reversed is set (has been assigned a value) and false otherwise
|
boolean |
isSetSortColumns()
Returns true if field sortColumns 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
|
boolean |
isSortColumns() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
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 |
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 |
setReversed(boolean reversed) |
void |
setReversedIsSet(boolean value) |
TScan |
setSortColumns(boolean sortColumns) |
void |
setSortColumnsIsSet(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 |
unsetBatchSize() |
void |
unsetCacheBlocks() |
void |
unsetCaching() |
void |
unsetColumns() |
void |
unsetFilterString() |
void |
unsetReversed() |
void |
unsetSortColumns() |
void |
unsetStartRow() |
void |
unsetStopRow() |
void |
unsetTimestamp() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer startRow
public ByteBuffer stopRow
public long timestamp
public List<ByteBuffer> columns
public int caching
public ByteBuffer filterString
public int batchSize
public boolean sortColumns
public boolean reversed
public boolean cacheBlocks
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 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 int getBatchSize()
public TScan setBatchSize(int batchSize)
public void unsetBatchSize()
public boolean isSetBatchSize()
public void setBatchSizeIsSet(boolean value)
public boolean isSortColumns()
public TScan setSortColumns(boolean sortColumns)
public void unsetSortColumns()
public boolean isSetSortColumns()
public void setSortColumnsIsSet(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 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 The Apache Software Foundation. All rights reserved.