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

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

public class DynamicSerDeTypeByte
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
DynamicSerDeTypeByte(int i)
           
DynamicSerDeTypeByte(thrift_grammar p, int i)
           
 
Method Summary
 Object deserialize(Object reuse, com.facebook.thrift.protocol.TProtocol iprot)
           
 Byte deserialize(com.facebook.thrift.protocol.TProtocol iprot)
           
 byte getType()
           
 void serialize(Object o, ObjectInspector oi, com.facebook.thrift.protocol.TProtocol oprot)
           
 void serialize(Object s, com.facebook.thrift.protocol.TProtocol oprot)
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeTypeBase
get, getRealType, 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

DynamicSerDeTypeByte

public DynamicSerDeTypeByte(int i)

DynamicSerDeTypeByte

public DynamicSerDeTypeByte(thrift_grammar p,
                            int i)
Method Detail

toString

public String toString()
Overrides:
toString in class DynamicSerDeTypeBase

deserialize

public Byte deserialize(com.facebook.thrift.protocol.TProtocol iprot)
                 throws SerDeException,
                        com.facebook.thrift.TException,
                        IllegalAccessException
Throws:
SerDeException
com.facebook.thrift.TException
IllegalAccessException

deserialize

public 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 s,
                      com.facebook.thrift.protocol.TProtocol oprot)
               throws com.facebook.thrift.TException,
                      SerDeException,
                      NoSuchFieldException,
                      IllegalAccessException
Throws:
com.facebook.thrift.TException
SerDeException
NoSuchFieldException
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