@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2019-04-04") public class TDelete extends Object implements org.apache.thrift.TBase<TDelete,TDelete._Fields>, Serializable, Cloneable, Comparable<TDelete>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TDelete._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| 限定符和类型 | 字段和说明 |
|---|---|
Map<ByteBuffer,ByteBuffer> |
attributes |
List<TColumn> |
columns |
TDeleteType |
deleteType |
TDurability |
durability |
static Map<TDelete._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
ByteBuffer |
row |
long |
timestamp |
| 构造器和说明 |
|---|
TDelete() |
TDelete(ByteBuffer row) |
TDelete(TDelete other)
Performs a deep copy on other.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addToColumns(TColumn elem) |
ByteBuffer |
bufferForRow() |
void |
clear() |
int |
compareTo(TDelete other) |
TDelete |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TDelete that) |
TDelete._Fields |
fieldForId(int fieldId) |
Map<ByteBuffer,ByteBuffer> |
getAttributes() |
int |
getAttributesSize() |
List<TColumn> |
getColumns() |
Iterator<TColumn> |
getColumnsIterator() |
int |
getColumnsSize() |
TDeleteType |
getDeleteType() |
TDurability |
getDurability() |
Object |
getFieldValue(TDelete._Fields field) |
byte[] |
getRow() |
long |
getTimestamp() |
int |
hashCode() |
boolean |
isSet(TDelete._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 |
isSetColumns()
Returns true if field columns is set (has been assigned a value) and false otherwise
|
boolean |
isSetDeleteType()
Returns true if field deleteType 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 |
isSetRow()
Returns true if field row 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) |
TDelete |
setAttributes(Map<ByteBuffer,ByteBuffer> attributes) |
void |
setAttributesIsSet(boolean value) |
TDelete |
setColumns(List<TColumn> columns) |
void |
setColumnsIsSet(boolean value) |
TDelete |
setDeleteType(TDeleteType deleteType) |
void |
setDeleteTypeIsSet(boolean value) |
TDelete |
setDurability(TDurability durability) |
void |
setDurabilityIsSet(boolean value) |
void |
setFieldValue(TDelete._Fields field,
Object value) |
TDelete |
setRow(byte[] row) |
TDelete |
setRow(ByteBuffer row) |
void |
setRowIsSet(boolean value) |
TDelete |
setTimestamp(long timestamp) |
void |
setTimestampIsSet(boolean value) |
String |
toString() |
void |
unsetAttributes() |
void |
unsetColumns() |
void |
unsetDeleteType() |
void |
unsetDurability() |
void |
unsetRow() |
void |
unsetTimestamp() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ByteBuffer row
public long timestamp
public TDeleteType deleteType
TDeleteTypepublic Map<ByteBuffer,ByteBuffer> attributes
public TDurability durability
TDurabilitypublic static final Map<TDelete._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TDelete()
public TDelete(ByteBuffer row)
public TDelete(TDelete other)
public TDelete deepCopy()
deepCopy 在接口中 org.apache.thrift.TBase<TDelete,TDelete._Fields>public void clear()
clear 在接口中 org.apache.thrift.TBase<TDelete,TDelete._Fields>public byte[] getRow()
public ByteBuffer bufferForRow()
public TDelete setRow(byte[] row)
public TDelete 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 TDelete setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(boolean value)
public TDeleteType getDeleteType()
TDeleteTypepublic TDelete setDeleteType(TDeleteType deleteType)
TDeleteTypepublic void unsetDeleteType()
public boolean isSetDeleteType()
public void setDeleteTypeIsSet(boolean value)
public int getAttributesSize()
public void putToAttributes(ByteBuffer key, ByteBuffer val)
public Map<ByteBuffer,ByteBuffer> getAttributes()
public TDelete setAttributes(Map<ByteBuffer,ByteBuffer> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public TDurability getDurability()
TDurabilitypublic TDelete setDurability(TDurability durability)
TDurabilitypublic void unsetDurability()
public boolean isSetDurability()
public void setDurabilityIsSet(boolean value)
public void setFieldValue(TDelete._Fields field, Object value)
setFieldValue 在接口中 org.apache.thrift.TBase<TDelete,TDelete._Fields>public Object getFieldValue(TDelete._Fields field)
getFieldValue 在接口中 org.apache.thrift.TBase<TDelete,TDelete._Fields>public boolean isSet(TDelete._Fields field)
isSet 在接口中 org.apache.thrift.TBase<TDelete,TDelete._Fields>public boolean equals(TDelete that)
public int compareTo(TDelete other)
compareTo 在接口中 Comparable<TDelete>public TDelete._Fields fieldForId(int fieldId)
fieldForId 在接口中 org.apache.thrift.TBase<TDelete,TDelete._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.