public class TMutation extends org.apache.thrift.TUnion<TMutation,TMutation._Fields>
Modifier and Type | Class and Description |
---|---|
static class |
TMutation._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<TMutation._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TMutation() |
TMutation(TMutation._Fields setField,
Object value) |
TMutation(TMutation other) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkType(TMutation._Fields setField,
Object value) |
int |
compareTo(TMutation other) |
TMutation |
deepCopy() |
static TMutation |
deleteSingle(TDelete value) |
protected TMutation._Fields |
enumForId(short id) |
boolean |
equals(Object other) |
boolean |
equals(TMutation other) |
TMutation._Fields |
fieldForId(int fieldId) |
TDelete |
getDeleteSingle() |
protected org.apache.thrift.protocol.TField |
getFieldDesc(TMutation._Fields setField) |
TPut |
getPut() |
protected org.apache.thrift.protocol.TStruct |
getStructDesc() |
int |
hashCode() |
boolean |
isSetDeleteSingle() |
boolean |
isSetPut() |
static TMutation |
put(TPut value) |
void |
setDeleteSingle(TDelete value) |
void |
setPut(TPut value) |
protected Object |
standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
org.apache.thrift.protocol.TField field) |
protected void |
standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) |
protected Object |
tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot,
short fieldID) |
protected void |
tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TMutation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TMutation()
public TMutation(TMutation._Fields setField, Object value)
public TMutation(TMutation other)
public TMutation deepCopy()
protected void checkType(TMutation._Fields setField, Object value) throws ClassCastException
checkType
in class org.apache.thrift.TUnion<TMutation,TMutation._Fields>
ClassCastException
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException
standardSchemeReadValue
in class org.apache.thrift.TUnion<TMutation,TMutation._Fields>
org.apache.thrift.TException
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
standardSchemeWriteValue
in class org.apache.thrift.TUnion<TMutation,TMutation._Fields>
org.apache.thrift.TException
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException
tupleSchemeReadValue
in class org.apache.thrift.TUnion<TMutation,TMutation._Fields>
org.apache.thrift.TException
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
tupleSchemeWriteValue
in class org.apache.thrift.TUnion<TMutation,TMutation._Fields>
org.apache.thrift.TException
protected org.apache.thrift.protocol.TField getFieldDesc(TMutation._Fields setField)
getFieldDesc
in class org.apache.thrift.TUnion<TMutation,TMutation._Fields>
protected org.apache.thrift.protocol.TStruct getStructDesc()
getStructDesc
in class org.apache.thrift.TUnion<TMutation,TMutation._Fields>
protected TMutation._Fields enumForId(short id)
enumForId
in class org.apache.thrift.TUnion<TMutation,TMutation._Fields>
public TMutation._Fields fieldForId(int fieldId)
public TPut getPut()
public void setPut(TPut value)
public TDelete getDeleteSingle()
public void setDeleteSingle(TDelete value)
public boolean isSetPut()
public boolean isSetDeleteSingle()
public boolean equals(TMutation other)
public int compareTo(TMutation other)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.