|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thirdparty.thrift_0_9_0.TUnion<T,F>
public abstract class TUnion<T extends TUnion<?,?>,F extends TFieldIdEnum>
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
Object |
getFieldValue()
|
Object |
getFieldValue(F fieldId)
Get a field's value by field variable. |
Object |
getFieldValue(int fieldId)
|
F |
getSetField()
|
boolean |
isSet()
|
boolean |
isSet(F fieldId)
Check if a field is currently set or unset. |
boolean |
isSet(int fieldId)
|
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
void |
setFieldValue(F fieldId,
Object value)
Set a field's value by field variable. |
void |
setFieldValue(int fieldId,
Object value)
|
String |
toString()
|
void |
write(TProtocol oprot)
Writes the objects out to the protocol |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.blur.thirdparty.thrift_0_9_0.TBase |
---|
deepCopy, fieldForId |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
public F getSetField()
public Object getFieldValue()
public Object getFieldValue(F fieldId)
TBase
getFieldValue
in interface TBase<T extends TUnion<?,?>,F extends TFieldIdEnum>
public Object getFieldValue(int fieldId)
public boolean isSet()
public boolean isSet(F fieldId)
TBase
isSet
in interface TBase<T extends TUnion<?,?>,F extends TFieldIdEnum>
public boolean isSet(int fieldId)
public void read(TProtocol iprot) throws TException
TBase
read
in interface TBase<T extends TUnion<?,?>,F extends TFieldIdEnum>
iprot
- Input protocol
TException
public void setFieldValue(F fieldId, Object value)
TBase
setFieldValue
in interface TBase<T extends TUnion<?,?>,F extends TFieldIdEnum>
public void setFieldValue(int fieldId, Object value)
public void write(TProtocol oprot) throws TException
TBase
write
in interface TBase<T extends TUnion<?,?>,F extends TFieldIdEnum>
oprot
- Output protocol
TException
public String toString()
toString
in class Object
public final void clear()
TBase
clear
in interface TBase<T extends TUnion<?,?>,F extends TFieldIdEnum>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |