@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2016-05-27") 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 |
List<TColumn> |
columns |
ByteBuffer |
filterString |
int |
maxVersions |
static Map<TGet._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
row |
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 |
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() |
Object |
getFieldValue(TGet._Fields field) |
byte[] |
getFilterString() |
int |
getMaxVersions() |
byte[] |
getRow() |
TTimeRange |
getTimeRange() |
long |
getTimestamp() |
int |
hashCode() |
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 |
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 |
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 |
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 |
setColumns(List<TColumn> columns) |
void |
setColumnsIsSet(boolean value) |
void |
setFieldValue(TGet._Fields field,
Object 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 |
setTimeRange(TTimeRange timeRange) |
void |
setTimeRangeIsSet(boolean value) |
TGet |
setTimestamp(long timestamp) |
void |
setTimestampIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetAuthorizations() |
void |
unsetColumns() |
void |
unsetFilterString() |
void |
unsetMaxVersions() |
void |
unsetRow() |
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 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 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.TBase<TGet,TGet._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<TGet,TGet._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.