@Generated(value="Autogenerated by Thrift Compiler (0.9.3)",
date="2017-06-27")
public class TDelete
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TDelete>
| Modifier and Type | Class and Description |
|---|---|
static class |
TDelete._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
java.util.Map<java.nio.ByteBuffer,java.nio.ByteBuffer> |
attributes |
java.util.List<TColumn> |
columns |
TDeleteType |
deleteType |
TDurability |
durability |
static java.util.Map<TDelete._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
java.nio.ByteBuffer |
row |
long |
timestamp |
| Constructor and Description |
|---|
TDelete() |
TDelete(java.nio.ByteBuffer row) |
TDelete(TDelete other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToColumns(TColumn elem) |
java.nio.ByteBuffer |
bufferForRow() |
void |
clear() |
int |
compareTo(TDelete other) |
TDelete |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(TDelete that) |
TDelete._Fields |
fieldForId(int fieldId) |
java.util.Map<java.nio.ByteBuffer,java.nio.ByteBuffer> |
getAttributes() |
int |
getAttributesSize() |
java.util.List<TColumn> |
getColumns() |
java.util.Iterator<TColumn> |
getColumnsIterator() |
int |
getColumnsSize() |
TDeleteType |
getDeleteType() |
TDurability |
getDurability() |
java.lang.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(java.nio.ByteBuffer key,
java.nio.ByteBuffer val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TDelete |
setAttributes(java.util.Map<java.nio.ByteBuffer,java.nio.ByteBuffer> attributes) |
void |
setAttributesIsSet(boolean value) |
TDelete |
setColumns(java.util.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,
java.lang.Object value) |
TDelete |
setRow(byte[] row) |
TDelete |
setRow(java.nio.ByteBuffer row) |
void |
setRowIsSet(boolean value) |
TDelete |
setTimestamp(long timestamp) |
void |
setTimestampIsSet(boolean value) |
java.lang.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 java.nio.ByteBuffer row
public java.util.List<TColumn> columns
public long timestamp
public TDeleteType deleteType
TDeleteTypepublic java.util.Map<java.nio.ByteBuffer,java.nio.ByteBuffer> attributes
public TDurability durability
TDurabilitypublic static final java.util.Map<TDelete._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TDelete()
public TDelete(java.nio.ByteBuffer row)
public TDelete(TDelete other)
public TDelete deepCopy()
public void clear()
public byte[] getRow()
public java.nio.ByteBuffer bufferForRow()
public TDelete setRow(byte[] row)
public TDelete setRow(java.nio.ByteBuffer row)
public void unsetRow()
public boolean isSetRow()
public void setRowIsSet(boolean value)
public int getColumnsSize()
public java.util.Iterator<TColumn> getColumnsIterator()
public void addToColumns(TColumn elem)
public java.util.List<TColumn> getColumns()
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(java.nio.ByteBuffer key,
java.nio.ByteBuffer val)
public java.util.Map<java.nio.ByteBuffer,java.nio.ByteBuffer> getAttributes()
public TDelete setAttributes(java.util.Map<java.nio.ByteBuffer,java.nio.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, java.lang.Object value)
public java.lang.Object getFieldValue(TDelete._Fields field)
public boolean isSet(TDelete._Fields field)
public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(TDelete that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(TDelete other)
compareTo in interface java.lang.Comparable<TDelete>public TDelete._Fields fieldForId(int fieldId)
public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException