@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2019-04-04") public class TAppend extends Object implements org.apache.thrift.TBase<TAppend,TAppend._Fields>, Serializable, Cloneable, Comparable<TAppend>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TAppend._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| 限定符和类型 | 字段和说明 |
|---|---|
Map<ByteBuffer,ByteBuffer> |
attributes |
TCellVisibility |
cellVisibility |
List<TColumnValue> |
columns |
TDurability |
durability |
static Map<TAppend._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
returnResults |
ByteBuffer |
row |
| 构造器和说明 |
|---|
TAppend() |
TAppend(ByteBuffer row,
List<TColumnValue> columns) |
TAppend(TAppend other)
Performs a deep copy on other.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addToColumns(TColumnValue elem) |
ByteBuffer |
bufferForRow() |
void |
clear() |
int |
compareTo(TAppend other) |
TAppend |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TAppend that) |
TAppend._Fields |
fieldForId(int fieldId) |
Map<ByteBuffer,ByteBuffer> |
getAttributes() |
int |
getAttributesSize() |
TCellVisibility |
getCellVisibility() |
List<TColumnValue> |
getColumns() |
Iterator<TColumnValue> |
getColumnsIterator() |
int |
getColumnsSize() |
TDurability |
getDurability() |
Object |
getFieldValue(TAppend._Fields field) |
byte[] |
getRow() |
int |
hashCode() |
boolean |
isReturnResults() |
boolean |
isSet(TAppend._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 |
isSetCellVisibility()
Returns true if field cellVisibility 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 |
isSetDurability()
Returns true if field durability is set (has been assigned a value) and false otherwise
|
boolean |
isSetReturnResults()
Returns true if field returnResults 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
|
void |
putToAttributes(ByteBuffer key,
ByteBuffer val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TAppend |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes) |
void |
setAttributesIsSet(boolean value) |
TAppend |
setCellVisibility(TCellVisibility cellVisibility) |
void |
setCellVisibilityIsSet(boolean value) |
TAppend |
setColumns(List<TColumnValue> columns) |
void |
setColumnsIsSet(boolean value) |
TAppend |
setDurability(TDurability durability) |
void |
setDurabilityIsSet(boolean value) |
void |
setFieldValue(TAppend._Fields field,
Object value) |
TAppend |
setReturnResults(boolean returnResults) |
void |
setReturnResultsIsSet(boolean value) |
TAppend |
setRow(byte[] row) |
TAppend |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetCellVisibility() |
void |
unsetColumns() |
void |
unsetDurability() |
void |
unsetReturnResults() |
void |
unsetRow() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer row
public List<TColumnValue> columns
public Map<ByteBuffer,ByteBuffer> attributes
public TDurability durability
TDurabilitypublic TCellVisibility cellVisibility
public boolean returnResults
public static final Map<TAppend._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TAppend()
public TAppend(ByteBuffer row, List<TColumnValue> columns)
public TAppend(TAppend other)
public TAppend deepCopy()
deepCopy 在接口中 org.apache.thrift.TBase<TAppend,TAppend._Fields>public void clear()
clear 在接口中 org.apache.thrift.TBase<TAppend,TAppend._Fields>public byte[] getRow()
public ByteBuffer bufferForRow()
public TAppend setRow(byte[] row)
public TAppend setRow(ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getColumnsSize()
public Iterator<TColumnValue> getColumnsIterator()
public void addToColumns(TColumnValue elem)
public List<TColumnValue> getColumns()
public TAppend setColumns(List<TColumnValue> columns)
public void unsetColumns()
public boolean isSetColumns()
public void setColumnsIsSet(boolean value)
public int getAttributesSize()
public void putToAttributes(ByteBuffer key, ByteBuffer val)
public Map<ByteBuffer,ByteBuffer> getAttributes()
public TAppend setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public TDurability getDurability()
TDurabilitypublic TAppend setDurability(TDurability durability)
TDurabilitypublic void unsetDurability()
public boolean isSetDurability()
public void setDurabilityIsSet(boolean value)
public TCellVisibility getCellVisibility()
public TAppend setCellVisibility(TCellVisibility cellVisibility)
public void unsetCellVisibility()
public boolean isSetCellVisibility()
public void setCellVisibilityIsSet(boolean value)
public boolean isReturnResults()
public TAppend setReturnResults(boolean returnResults)
public void unsetReturnResults()
public boolean isSetReturnResults()
public void setReturnResultsIsSet(boolean value)
public void setFieldValue(TAppend._Fields field, Object value)
setFieldValue 在接口中 org.apache.thrift.TBase<TAppend,TAppend._Fields>public Object getFieldValue(TAppend._Fields field)
getFieldValue 在接口中 org.apache.thrift.TBase<TAppend,TAppend._Fields>public boolean isSet(TAppend._Fields field)
isSet 在接口中 org.apache.thrift.TBase<TAppend,TAppend._Fields>public boolean equals(TAppend that)
public int compareTo(TAppend other)
compareTo 在接口中 Comparable<TAppend>public TAppend._Fields fieldForId(int fieldId)
fieldForId 在接口中 org.apache.thrift.TBase<TAppend,TAppend._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read 在接口中 org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write 在接口中 org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2019. All rights reserved.