public abstract class DynamicSerDeStructBase extends DynamicSerDeTypeBase implements java.io.Serializable
fieldid, name, thrift_modechildren, id, parent, parser| Constructor and Description |
|---|
DynamicSerDeStructBase(int i) |
DynamicSerDeStructBase(thrift_grammar p,
int i) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
deserialize(java.lang.Object reuse,
org.apache.thrift.protocol.TProtocol iprot) |
abstract DynamicSerDeFieldList |
getFieldList() |
java.lang.Class |
getRealType() |
void |
initialize() |
boolean |
isPrimitive() |
void |
serialize(java.lang.Object o,
ObjectInspector oi,
org.apache.thrift.protocol.TProtocol oprot)
serialize
The way to serialize a Thrift "table" which in thrift land is really a
function and thus this class's name.
|
get, getType, isList, isMap, toStringdump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toStringpublic DynamicSerDeStructBase(int i)
public DynamicSerDeStructBase(thrift_grammar p, int i)
public abstract DynamicSerDeFieldList getFieldList()
public void initialize()
initialize in class DynamicSerDeTypeBasepublic boolean isPrimitive()
isPrimitive in class DynamicSerDeTypeBasepublic java.lang.Class getRealType()
getRealType in class DynamicSerDeTypeBasepublic java.lang.Object deserialize(java.lang.Object reuse,
org.apache.thrift.protocol.TProtocol iprot)
throws SerDeException,
org.apache.thrift.TException,
java.lang.IllegalAccessException
deserialize in class DynamicSerDeTypeBaseSerDeExceptionorg.apache.thrift.TExceptionjava.lang.IllegalAccessExceptionpublic void serialize(java.lang.Object o,
ObjectInspector oi,
org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException,
SerDeException,
java.lang.NoSuchFieldException,
java.lang.IllegalAccessException
serialize in class DynamicSerDeTypeBaseo - - this list should be in the order of the function's params for
now. If we wanted to remove this requirement, we'd need to make it
a Listorg.apache.thrift.TExceptionSerDeExceptionjava.lang.NoSuchFieldExceptionjava.lang.IllegalAccessExceptionCopyright © 2012 The Apache Software Foundation