public class Mutation extends java.lang.Object implements org.apache.thrift.TBase<Mutation,Mutation._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Mutation>
Modifier and Type | Class and Description |
---|---|
static class |
Mutation._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
ColumnOrSuperColumn |
column_or_supercolumn |
Deletion |
deletion |
static java.util.Map<Mutation._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
Mutation() |
Mutation(Mutation other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(Mutation other) |
Mutation |
deepCopy() |
boolean |
equals(Mutation that) |
boolean |
equals(java.lang.Object that) |
Mutation._Fields |
fieldForId(int fieldId) |
ColumnOrSuperColumn |
getColumn_or_supercolumn() |
Deletion |
getDeletion() |
java.lang.Object |
getFieldValue(Mutation._Fields field) |
int |
hashCode() |
boolean |
isSet(Mutation._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetColumn_or_supercolumn()
Returns true if field column_or_supercolumn is set (has been assigned a value) and false otherwise
|
boolean |
isSetDeletion()
Returns true if field deletion is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Mutation |
setColumn_or_supercolumn(ColumnOrSuperColumn column_or_supercolumn) |
void |
setColumn_or_supercolumnIsSet(boolean value) |
Mutation |
setDeletion(Deletion deletion) |
void |
setDeletionIsSet(boolean value) |
void |
setFieldValue(Mutation._Fields field,
java.lang.Object value) |
java.lang.String |
toString() |
void |
unsetColumn_or_supercolumn() |
void |
unsetDeletion() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public ColumnOrSuperColumn column_or_supercolumn
public Deletion deletion
public static final java.util.Map<Mutation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Mutation()
public Mutation(Mutation other)
public Mutation deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Mutation,Mutation._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Mutation,Mutation._Fields>
public ColumnOrSuperColumn getColumn_or_supercolumn()
public Mutation setColumn_or_supercolumn(ColumnOrSuperColumn column_or_supercolumn)
public void unsetColumn_or_supercolumn()
public boolean isSetColumn_or_supercolumn()
public void setColumn_or_supercolumnIsSet(boolean value)
public Deletion getDeletion()
public void unsetDeletion()
public boolean isSetDeletion()
public void setDeletionIsSet(boolean value)
public void setFieldValue(Mutation._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<Mutation,Mutation._Fields>
public java.lang.Object getFieldValue(Mutation._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Mutation,Mutation._Fields>
public boolean isSet(Mutation._Fields field)
isSet
in interface org.apache.thrift.TBase<Mutation,Mutation._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(Mutation that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(Mutation other)
compareTo
in interface java.lang.Comparable<Mutation>
public Mutation._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Mutation,Mutation._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Mutation,Mutation._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<Mutation,Mutation._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2020 The Apache Software Foundation