public class LazyBinaryUnionObjectInspector extends StandardUnionObjectInspector
LazyBinaryUnion
StandardUnionObjectInspector.StandardUnion
ObjectInspector.Category
Modifier | Constructor and Description |
---|---|
protected |
LazyBinaryUnionObjectInspector() |
protected |
LazyBinaryUnionObjectInspector(List<ObjectInspector> unionFieldObjectInspectors) |
Modifier and Type | Method and Description |
---|---|
Object |
getField(Object o)
Return the field based on the tag value associated with the Object.
|
byte |
getTag(Object o)
Return the tag of the object.
|
addField, create, getCategory, getObjectInspectors, getTypeName, toString
protected LazyBinaryUnionObjectInspector()
protected LazyBinaryUnionObjectInspector(List<ObjectInspector> unionFieldObjectInspectors)
public byte getTag(Object o)
getTag
in interface UnionObjectInspector
getTag
in class StandardUnionObjectInspector
public Object getField(Object o)
getField
in interface UnionObjectInspector
getField
in class StandardUnionObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.