org.apache.hadoop.hive.serde2.dynamic_type
Class DynamicSerDeFieldList
java.lang.Object
org.apache.hadoop.hive.serde2.dynamic_type.SimpleNode
org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeSimpleNode
org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDeFieldList
- All Implemented Interfaces:
- Serializable, Node
public class DynamicSerDeFieldList
- extends DynamicSerDeSimpleNode
- implements Serializable
DynamicSerDeFieldList.
- See Also:
- Serialized Form
Field Summary |
protected boolean[] |
fieldsPresent
|
protected boolean |
isRealThrift
Indicates whether fields can be out of order or missing. |
isRealThrift
protected boolean isRealThrift
- Indicates whether fields can be out of order or missing. i.e., is it really
real thrift serialization. This is used by dynamicserde to do some
optimizations if it knows all the fields exist and are required and are
serialized in order. For now, those optimizations are only done for
DynamicSerDe serialized data so always set to false for now.
fieldsPresent
protected boolean[] fieldsPresent
DynamicSerDeFieldList
public DynamicSerDeFieldList(int i)
DynamicSerDeFieldList
public DynamicSerDeFieldList(thrift_grammar p,
int i)
getChildren
public final DynamicSerDeField[] getChildren()
initialize
public void initialize()
getFieldByName
protected DynamicSerDeTypeBase getFieldByName(String fieldname)
deserialize
public 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 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
Copyright © 2012 The Apache Software Foundation