org.apache.hadoop.hive.serde2.dynamic_type
Class DynamicSerDeTypeBase

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.dynamic_type.SimpleNode
      extended by org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeSimpleNode
          extended by 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

DynamicSerDeTypeBase.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeSimpleNode
fieldid, name, thrift_mode
 
Fields inherited from class org.apache.hadoop.hive.serde2.dynamic_type.SimpleNode
children, id, parent, parser
 
Constructor Summary
DynamicSerDeTypeBase(int i)
           
DynamicSerDeTypeBase(thrift_grammar p, int i)
           
 
Method Summary
abstract  Object deserialize(Object reuse, org.apache.thrift.protocol.TProtocol iprot)
           
 Object get(Object obj)
           
 Class getRealType()
           
 byte getType()
           
 void initialize()
           
 boolean isList()
           
 boolean isMap()
           
 boolean isPrimitive()
           
abstract  void serialize(Object o, ObjectInspector oi, org.apache.thrift.protocol.TProtocol oprot)
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.hive.serde2.dynamic_type.SimpleNode
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynamicSerDeTypeBase

public DynamicSerDeTypeBase(int i)

DynamicSerDeTypeBase

public DynamicSerDeTypeBase(thrift_grammar p,
                            int i)
Method Detail

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 © 2010 The Apache Software Foundation