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

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

public class DynamicSerDeTypeMap
extends DynamicSerDeTypeBase

DynamicSerDeTypeMap.

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
DynamicSerDeTypeMap(int i)
           
DynamicSerDeTypeMap(thrift_grammar p, int i)
           
 
Method Summary
 Map<Object,Object> deserialize(Object reuse, org.apache.thrift.protocol.TProtocol iprot)
           
 DynamicSerDeTypeBase getKeyType()
           
 Class getRealType()
           
 byte getType()
           
 DynamicSerDeTypeBase getValueType()
           
 boolean isMap()
           
 boolean isPrimitive()
           
 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.DynamicSerDeTypeBase
get, initialize, isList
 
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

DynamicSerDeTypeMap

public DynamicSerDeTypeMap(int i)

DynamicSerDeTypeMap

public DynamicSerDeTypeMap(thrift_grammar p,
                           int i)
Method Detail

isPrimitive

public boolean isPrimitive()
Overrides:
isPrimitive in class DynamicSerDeTypeBase

isMap

public boolean isMap()
Overrides:
isMap in class DynamicSerDeTypeBase

getRealType

public Class getRealType()
Overrides:
getRealType in class DynamicSerDeTypeBase

getKeyType

public DynamicSerDeTypeBase getKeyType()

getValueType

public DynamicSerDeTypeBase getValueType()

toString

public String toString()
Overrides:
toString in class DynamicSerDeTypeBase

deserialize

public Map<Object,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
Specified by:
serialize in class DynamicSerDeTypeBase
Throws:
org.apache.thrift.TException
SerDeException
NoSuchFieldException
IllegalAccessException

getType

public byte getType()
Overrides:
getType in class DynamicSerDeTypeBase


Copyright © 2012 The Apache Software Foundation