@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2019-05-07") public class TGet extends Object implements org.apache.thrift.TBase<TGet,TGet._Fields>, Serializable, Cloneable, Comparable<TGet>
| Modifier and Type | Class and Description |
|---|---|
static class |
TGet._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 |
boolean |
cacheBlocks |
List<TColumn> |
columns |
TConsistency |
consistency |
boolean |
existence_only |
ByteBuffer |
filterBytes |
ByteBuffer |
filterString |
int |
maxVersions |
static Map<TGet._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
row |
int |
storeLimit |
int |
storeOffset |
int |
targetReplicaId |
TTimeRange |
timeRange |
long |
timestamp |
| Constructor and Description |
|---|
TGet() |
TGet(ByteBuffer row) |
TGet(TGet other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToColumns(TColumn elem) |
ByteBuffer |
bufferForFilterBytes() |
ByteBuffer |
bufferForFilterString() |
ByteBuffer |
bufferForRow() |
void |
clear() |
int |
compareTo(TGet other) |
TGet |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TGet that) |
TGet._Fields |
fieldForId(int fieldId) |
Map<ByteBuffer,ByteBuffer> |
getAttributes() |
int |
getAttributesSize() |
TAuthorization |
getAuthorizations() |
List<TColumn> |
getColumns() |
Iterator<TColumn> |
getColumnsIterator() |
int |
getColumnsSize() |
TConsistency |
getConsistency() |
Object |
getFieldValue(TGet._Fields field) |
byte[] |
getFilterBytes() |
byte[] |
getFilterString() |
int |
getMaxVersions() |
byte[] |
getRow() |
int |
getStoreLimit() |
int |
getStoreOffset() |
int |
getTargetReplicaId() |
TTimeRange |
getTimeRange() |
long |
getTimestamp() |
int |
hashCode() |
boolean |
isCacheBlocks() |
boolean |
isExistence_only() |
boolean |
isSet(TGet._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 |
isSetCacheBlocks()
Returns true if field cacheBlocks 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 |
isSetConsistency()
Returns true if field consistency is set (has been assigned a value) and false otherwise
|
boolean |
isSetExistence_only()
Returns true if field existence_only is set (has been assigned a value) and false otherwise
|
boolean |
isSetFilterBytes()
Returns true if field filterBytes 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 |
isSetMaxVersions()
Returns true if field maxVersions is set (has been assigned a value) and false otherwise
|
boolean |
isSetRow()
Returns true if field row is set (has been assigned a value) and false otherwise
|
boolean |
isSetStoreLimit()
Returns true if field storeLimit is set (has been assigned a value) and false otherwise
|
boolean |
isSetStoreOffset()
Returns true if field storeOffset is set (has been assigned a value) and false otherwise
|
boolean |
isSetTargetReplicaId()
Returns true if field targetReplicaId 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
|
boolean |
isSetTimestamp()
Returns true if field timestamp is set (has been assigned a value) and false otherwise
|
void |
putToAttributes(ByteBuffer key,
ByteBuffer val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TGet |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes) |
void |
setAttributesIsSet(boolean value) |
TGet |
setAuthorizations(TAuthorization authorizations) |
void |
setAuthorizationsIsSet(boolean value) |
TGet |
setCacheBlocks(boolean cacheBlocks) |
void |
setCacheBlocksIsSet(boolean value) |
TGet |
setColumns(List<TColumn> columns) |
void |
setColumnsIsSet(boolean value) |
TGet |
setConsistency(TConsistency consistency) |
void |
setConsistencyIsSet(boolean value) |
TGet |
setExistence_only(boolean existence_only) |
void |
setExistence_onlyIsSet(boolean value) |
void |
setFieldValue(TGet._Fields field,
Object value) |
TGet |
setFilterBytes(byte[] filterBytes) |
TGet |
setFilterBytes(ByteBuffer filterBytes) |
void |
setFilterBytesIsSet(boolean value) |
TGet |
setFilterString(byte[] filterString) |
TGet |
setFilterString(ByteBuffer filterString) |
void |
setFilterStringIsSet(boolean value) |
TGet |
setMaxVersions(int maxVersions) |
void |
setMaxVersionsIsSet(boolean value) |
TGet |
setRow(byte[] row) |
TGet |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
TGet |
setStoreLimit(int storeLimit) |
void |
setStoreLimitIsSet(boolean value) |
TGet |
setStoreOffset(int storeOffset) |
void |
setStoreOffsetIsSet(boolean value) |
TGet |
setTargetReplicaId(int targetReplicaId) |
void |
setTargetReplicaIdIsSet(boolean value) |
TGet |
setTimeRange(TTimeRange timeRange) |
void |
setTimeRangeIsSet(boolean value) |
TGet |
setTimestamp(long timestamp) |
void |
setTimestampIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetAuthorizations() |
void |
unsetCacheBlocks() |
void |
unsetColumns() |
void |
unsetConsistency() |
void |
unsetExistence_only() |
void |
unsetFilterBytes() |
void |
unsetFilterString() |
void |
unsetMaxVersions() |
void |
unsetRow() |
void |
unsetStoreLimit() |
void |
unsetStoreOffset() |
void |
unsetTargetReplicaId() |
void |
unsetTimeRange() |
void |
unsetTimestamp() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer row
public long timestamp
public TTimeRange timeRange
public int maxVersions
public ByteBuffer filterString
public Map<ByteBuffer,ByteBuffer> attributes
public TAuthorization authorizations
public TConsistency consistency
TConsistencypublic int targetReplicaId
public boolean cacheBlocks
public int storeLimit
public int storeOffset
public boolean existence_only
public ByteBuffer filterBytes
public static final Map<TGet._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TGet()
public TGet(ByteBuffer row)
public TGet(TGet other)
public TGet deepCopy()
deepCopy in interface org.apache.thrift.TBase<TGet,TGet._Fields>public void clear()
clear in interface org.apache.thrift.TBase<TGet,TGet._Fields>public byte[] getRow()
public ByteBuffer bufferForRow()
public TGet setRow(byte[] row)
public TGet setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getColumnsSize()
public void addToColumns(TColumn elem)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public long getTimestamp()
public TGet setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(boolean value)
public TTimeRange getTimeRange()
public TGet setTimeRange(TTimeRange timeRange)
public void unsetTimeRange()
public boolean isSetTimeRange()
public void setTimeRangeIsSet(boolean value)
public int getMaxVersions()
public TGet setMaxVersions(int maxVersions)
public void unsetMaxVersions()
public boolean isSetMaxVersions()
public void setMaxVersionsIsSet(boolean value)
public byte[] getFilterString()
public ByteBuffer bufferForFilterString()
public TGet setFilterString(byte[] filterString)
public TGet setFilterString(ByteBuffer filterString)
public void unsetFilterString()
public boolean isSetFilterString()
public void setFilterStringIsSet(boolean value)
public int getAttributesSize()
public void putToAttributes(ByteBuffer key, ByteBuffer val)
public Map<ByteBuffer,ByteBuffer> getAttributes()
public TGet setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public TAuthorization getAuthorizations()
public TGet setAuthorizations(TAuthorization authorizations)
public void unsetAuthorizations()
public boolean isSetAuthorizations()
public void setAuthorizationsIsSet(boolean value)
public TConsistency getConsistency()
TConsistencypublic TGet setConsistency(TConsistency consistency)
TConsistencypublic void unsetConsistency()
public boolean isSetConsistency()
public void setConsistencyIsSet(boolean value)
public int getTargetReplicaId()
public TGet setTargetReplicaId(int targetReplicaId)
public void unsetTargetReplicaId()
public boolean isSetTargetReplicaId()
public void setTargetReplicaIdIsSet(boolean value)
public boolean isCacheBlocks()
public TGet setCacheBlocks(boolean cacheBlocks)
public void unsetCacheBlocks()
public boolean isSetCacheBlocks()
public void setCacheBlocksIsSet(boolean value)
public int getStoreLimit()
public TGet setStoreLimit(int storeLimit)
public void unsetStoreLimit()
public boolean isSetStoreLimit()
public void setStoreLimitIsSet(boolean value)
public int getStoreOffset()
public TGet setStoreOffset(int storeOffset)
public void unsetStoreOffset()
public boolean isSetStoreOffset()
public void setStoreOffsetIsSet(boolean value)
public boolean isExistence_only()
public TGet setExistence_only(boolean existence_only)
public void unsetExistence_only()
public boolean isSetExistence_only()
public void setExistence_onlyIsSet(boolean value)
public byte[] getFilterBytes()
public ByteBuffer bufferForFilterBytes()
public TGet setFilterBytes(byte[] filterBytes)
public TGet setFilterBytes(ByteBuffer filterBytes)
public void unsetFilterBytes()
public boolean isSetFilterBytes()
public void setFilterBytesIsSet(boolean value)
public void setFieldValue(TGet._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<TGet,TGet._Fields>public Object getFieldValue(TGet._Fields field)
getFieldValue in interface org.apache.thrift.TBase<TGet,TGet._Fields>public boolean isSet(TGet._Fields field)
isSet in interface org.apache.thrift.TBase<TGet,TGet._Fields>public boolean equals(TGet that)
public int compareTo(TGet other)
compareTo in interface Comparable<TGet>public TGet._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<TGet,TGet._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.