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

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
              extended by org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeTypeList
All Implemented Interfaces:
Serializable, Node

public class DynamicSerDeTypeList
extends 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
DynamicSerDeTypeList(int i)
           
DynamicSerDeTypeList(thrift_grammar p, int i)
           
 
Method Summary
 ArrayList<Object> deserialize(Object reuse, com.facebook.thrift.protocol.TProtocol iprot)
           
 DynamicSerDeTypeBase getElementType()
           
 Class getRealType()
           
 byte getType()
           
 boolean isList()
           
 boolean isPrimitive()
           
 void serialize(Object o, ObjectInspector oi, com.facebook.thrift.protocol.TProtocol oprot)
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeTypeBase
get, initialize, isMap
 
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

DynamicSerDeTypeList

public DynamicSerDeTypeList(int i)

DynamicSerDeTypeList

public DynamicSerDeTypeList(thrift_grammar p,
                            int i)
Method Detail

isPrimitive

public boolean isPrimitive()
Overrides:
isPrimitive in class DynamicSerDeTypeBase

isList

public boolean isList()
Overrides:
isList in class DynamicSerDeTypeBase

getRealType

public Class getRealType()
Overrides:
getRealType in class DynamicSerDeTypeBase

getElementType

public DynamicSerDeTypeBase getElementType()

toString

public String toString()
Overrides:
toString in class DynamicSerDeTypeBase

deserialize

public ArrayList<Object> deserialize(Object reuse,
                                     com.facebook.thrift.protocol.TProtocol iprot)
                              throws SerDeException,
                                     com.facebook.thrift.TException,
                                     IllegalAccessException
Specified by:
deserialize in class DynamicSerDeTypeBase
Throws:
SerDeException
com.facebook.thrift.TException
IllegalAccessException

serialize

public void serialize(Object o,
                      ObjectInspector oi,
                      com.facebook.thrift.protocol.TProtocol oprot)
               throws com.facebook.thrift.TException,
                      SerDeException,
                      NoSuchFieldException,
                      IllegalAccessException
Specified by:
serialize in class DynamicSerDeTypeBase
Throws:
com.facebook.thrift.TException
SerDeException
NoSuchFieldException
IllegalAccessException

getType

public byte getType()
Overrides:
getType in class DynamicSerDeTypeBase


Copyright © 2009 The Apache Software Foundation