public class DynamicSerDeFieldList extends DynamicSerDeSimpleNode implements Serializable
Modifier and Type | Field and Description |
---|---|
protected boolean[] |
fieldsPresent |
protected boolean |
isRealThrift
Indicates whether fields can be out of order or missing.
|
fieldid, name, thrift_mode
children, id, parent, parser
Constructor and Description |
---|
DynamicSerDeFieldList(int i) |
DynamicSerDeFieldList(thrift_grammar p,
int i) |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(Object reuse,
org.apache.thrift.protocol.TProtocol iprot) |
DynamicSerDeField[] |
getChildren() |
protected DynamicSerDeTypeBase |
getFieldByName(String fieldname) |
void |
initialize() |
void |
serialize(Object o,
ObjectInspector oi,
org.apache.thrift.protocol.TProtocol oprot) |
String |
toString() |
dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString
protected boolean isRealThrift
protected boolean[] fieldsPresent
public DynamicSerDeFieldList(int i)
public DynamicSerDeFieldList(thrift_grammar p, int i)
public final DynamicSerDeField[] getChildren()
public void initialize()
protected DynamicSerDeTypeBase getFieldByName(String fieldname)
public Object deserialize(Object reuse, org.apache.thrift.protocol.TProtocol iprot) throws SerDeException, org.apache.thrift.TException, IllegalAccessException
SerDeException
org.apache.thrift.TException
IllegalAccessException
public void serialize(Object o, ObjectInspector oi, org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException, SerDeException, NoSuchFieldException, IllegalAccessException
org.apache.thrift.TException
SerDeException
NoSuchFieldException
IllegalAccessException
public String toString()
toString
in class SimpleNode
Copyright © 2017 The Apache Software Foundation. All rights reserved.