|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thrift.generated.RecordMutation
public class RecordMutation
The RowMutation defines how the given Record is to be mutated.
Nested Class Summary | |
---|---|
static class |
RecordMutation._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
static Map<RecordMutation._Fields,FieldMetaData> |
metaDataMap
|
Record |
record
The Record to mutate. |
RecordMutationType |
recordMutationType
Define how to mutate the given Record. |
Constructor Summary | |
---|---|
RecordMutation()
|
|
RecordMutation(RecordMutation other)
Performs a deep copy on other. |
|
RecordMutation(RecordMutationType recordMutationType,
Record record)
|
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(RecordMutation other)
|
RecordMutation |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(RecordMutation that)
|
RecordMutation._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
Object |
getFieldValue(RecordMutation._Fields field)
Get a field's value by field variable. |
Record |
getRecord()
The Record to mutate. |
RecordMutationType |
getRecordMutationType()
Define how to mutate the given Record. |
int |
hashCode()
|
boolean |
isSet(RecordMutation._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetRecord()
Returns true if field record is set (has been assigned a value) and false otherwise |
boolean |
isSetRecordMutationType()
Returns true if field recordMutationType is set (has been assigned a value) and false otherwise |
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
void |
setFieldValue(RecordMutation._Fields field,
Object value)
Set a field's value by field variable. |
RecordMutation |
setRecord(Record record)
The Record to mutate. |
void |
setRecordIsSet(boolean value)
|
RecordMutation |
setRecordMutationType(RecordMutationType recordMutationType)
Define how to mutate the given Record. |
void |
setRecordMutationTypeIsSet(boolean value)
|
String |
toString()
|
void |
unsetRecord()
|
void |
unsetRecordMutationType()
|
void |
validate()
|
void |
write(TProtocol oprot)
Writes the objects out to the protocol |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public RecordMutationType recordMutationType
RecordMutationType
public Record record
public static final Map<RecordMutation._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public RecordMutation()
public RecordMutation(RecordMutationType recordMutationType, Record record)
public RecordMutation(RecordMutation other)
Method Detail |
---|
public RecordMutation deepCopy()
deepCopy
in interface TBase<RecordMutation,RecordMutation._Fields>
public void clear()
TBase
clear
in interface TBase<RecordMutation,RecordMutation._Fields>
public RecordMutationType getRecordMutationType()
RecordMutationType
public RecordMutation setRecordMutationType(RecordMutationType recordMutationType)
RecordMutationType
public void unsetRecordMutationType()
public boolean isSetRecordMutationType()
public void setRecordMutationTypeIsSet(boolean value)
public Record getRecord()
public RecordMutation setRecord(Record record)
public void unsetRecord()
public boolean isSetRecord()
public void setRecordIsSet(boolean value)
public void setFieldValue(RecordMutation._Fields field, Object value)
TBase
setFieldValue
in interface TBase<RecordMutation,RecordMutation._Fields>
public Object getFieldValue(RecordMutation._Fields field)
TBase
getFieldValue
in interface TBase<RecordMutation,RecordMutation._Fields>
public boolean isSet(RecordMutation._Fields field)
isSet
in interface TBase<RecordMutation,RecordMutation._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(RecordMutation that)
public int hashCode()
hashCode
in class Object
public int compareTo(RecordMutation other)
compareTo
in interface Comparable<RecordMutation>
public RecordMutation._Fields fieldForId(int fieldId)
TBase
fieldForId
in interface TBase<RecordMutation,RecordMutation._Fields>
public void read(TProtocol iprot) throws TException
TBase
read
in interface TBase<RecordMutation,RecordMutation._Fields>
iprot
- Input protocol
TException
public void write(TProtocol oprot) throws TException
TBase
write
in interface TBase<RecordMutation,RecordMutation._Fields>
oprot
- Output protocol
TException
public String toString()
toString
in class Object
public void validate() throws TException
TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |