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

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.DynamicSerDeTypeSet
All Implemented Interfaces:
Serializable, Node

public class DynamicSerDeTypeSet
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
DynamicSerDeTypeSet(int i)
           
DynamicSerDeTypeSet(thrift_grammar p, int i)
           
 
Method Summary
 Object deserialize(Object reuse, com.facebook.thrift.protocol.TProtocol iprot)
          NOTE: Set is not supported by Hive yet.
 DynamicSerDeTypeBase getElementType()
           
 Class getRealType()
           
 byte getType()
           
 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, isList, isMap, isPrimitive
 
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

DynamicSerDeTypeSet

public DynamicSerDeTypeSet(int i)

DynamicSerDeTypeSet

public DynamicSerDeTypeSet(thrift_grammar p,
                           int i)
Method Detail

getRealType

public Class getRealType()
Overrides:
getRealType in class DynamicSerDeTypeBase

getElementType

public DynamicSerDeTypeBase getElementType()

toString

public String toString()
Overrides:
toString in class DynamicSerDeTypeBase

getType

public byte getType()
Overrides:
getType in class DynamicSerDeTypeBase

deserialize

public Object deserialize(Object reuse,
                          com.facebook.thrift.protocol.TProtocol iprot)
                   throws SerDeException,
                          com.facebook.thrift.TException,
                          IllegalAccessException
NOTE: Set is not supported by Hive yet.

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


Copyright © 2009 The Apache Software Foundation