org.apache.hadoop.hive.serde2.dynamic_type
Class DynamicSerDeTypeBase
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
- All Implemented Interfaces:
- Serializable, Node
- Direct Known Subclasses:
- DynamicSerDeStructBase, DynamicSerDeTypeBool, DynamicSerDeTypeByte, DynamicSerDeTypedef, DynamicSerDeTypeDouble, DynamicSerDeTypei16, DynamicSerDeTypei32, DynamicSerDeTypei64, DynamicSerDeTypeList, DynamicSerDeTypeMap, DynamicSerDeTypeSet, DynamicSerDeTypeString
public abstract class DynamicSerDeTypeBase
- extends DynamicSerDeSimpleNode
- implements Serializable
- See Also:
- Serialized Form
DynamicSerDeTypeBase
public DynamicSerDeTypeBase(int i)
DynamicSerDeTypeBase
public DynamicSerDeTypeBase(thrift_grammar p,
int i)
initialize
public void initialize()
getRealType
public Class getRealType()
throws SerDeException
- Throws:
SerDeException
get
public Object get(Object obj)
deserialize
public abstract Object deserialize(Object reuse,
org.apache.thrift.protocol.TProtocol iprot)
throws SerDeException,
org.apache.thrift.TException,
IllegalAccessException
- Throws:
SerDeException
org.apache.thrift.TException
IllegalAccessException
serialize
public abstract void serialize(Object o,
ObjectInspector oi,
org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException,
SerDeException,
NoSuchFieldException,
IllegalAccessException
- Throws:
org.apache.thrift.TException
SerDeException
NoSuchFieldException
IllegalAccessException
toString
public String toString()
- Overrides:
toString
in class SimpleNode
getType
public byte getType()
isPrimitive
public boolean isPrimitive()
isList
public boolean isList()
isMap
public boolean isMap()
Copyright © 2009 The Apache Software Foundation