public abstract class DynamicSerDeStructBase extends DynamicSerDeTypeBase implements Serializable
fieldid, name, thrift_mode
children, id, parent, parser
Constructor and Description |
---|
DynamicSerDeStructBase(int i) |
DynamicSerDeStructBase(thrift_grammar p,
int i) |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(Object reuse,
org.apache.thrift.protocol.TProtocol iprot) |
abstract DynamicSerDeFieldList |
getFieldList() |
Class |
getRealType() |
void |
initialize() |
boolean |
isPrimitive() |
void |
serialize(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, toString
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString
public DynamicSerDeStructBase(int i)
public DynamicSerDeStructBase(thrift_grammar p, int i)
public abstract DynamicSerDeFieldList getFieldList()
public void initialize()
initialize
in class DynamicSerDeTypeBase
public boolean isPrimitive()
isPrimitive
in class DynamicSerDeTypeBase
public Class getRealType()
getRealType
in class DynamicSerDeTypeBase
public Object deserialize(Object reuse, org.apache.thrift.protocol.TProtocol iprot) throws SerDeException, org.apache.thrift.TException, IllegalAccessException
deserialize
in class DynamicSerDeTypeBase
SerDeException
org.apache.thrift.TException
IllegalAccessException
public void serialize(Object o, ObjectInspector oi, org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException, SerDeException, NoSuchFieldException, IllegalAccessException
serialize
in class DynamicSerDeTypeBase
o
- - 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.TException
SerDeException
NoSuchFieldException
IllegalAccessException
Copyright © 2017 The Apache Software Foundation. All rights reserved.