org.apache.hadoop.hive.serde2.dynamic_type
Class DynamicSerDeStructBase
java.lang.Object
org.apache.hadoop.hive.serde2.dynamic_type.SimpleNode
org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeSimpleNode
org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeTypeBase
org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeStructBase
- All Implemented Interfaces:
- Serializable, Node
- Direct Known Subclasses:
- DynamicSerDeFunction, DynamicSerDeStruct
public abstract class DynamicSerDeStructBase
- extends DynamicSerDeTypeBase
- implements Serializable
- See Also:
- Serialized Form
DynamicSerDeStructBase
public DynamicSerDeStructBase(int i)
DynamicSerDeStructBase
public DynamicSerDeStructBase(thrift_grammar p,
int i)
getFieldList
public abstract DynamicSerDeFieldList getFieldList()
initialize
public void initialize()
- Overrides:
initialize
in class DynamicSerDeTypeBase
isPrimitive
public boolean isPrimitive()
- Overrides:
isPrimitive
in class DynamicSerDeTypeBase
getRealType
public Class getRealType()
- Overrides:
getRealType
in class DynamicSerDeTypeBase
deserialize
public Object deserialize(Object reuse,
org.apache.thrift.protocol.TProtocol iprot)
throws SerDeException,
org.apache.thrift.TException,
IllegalAccessException
- Specified by:
deserialize
in class DynamicSerDeTypeBase
- Throws:
SerDeException
org.apache.thrift.TException
IllegalAccessException
serialize
public void serialize(Object o,
ObjectInspector oi,
org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException,
SerDeException,
NoSuchFieldException,
IllegalAccessException
- serialize
The way to serialize a Thrift "table" which in thrift land is really a function and thus this class's name.
- Specified by:
serialize
in class DynamicSerDeTypeBase
- Parameters:
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 List> with the String being the field name.
- Throws:
org.apache.thrift.TException
SerDeException
NoSuchFieldException
IllegalAccessException
Copyright © 2009 The Apache Software Foundation