public class LazyBinaryUnionObjectInspector extends StandardUnionObjectInspector
LazyBinaryUnionStandardUnionObjectInspector.StandardUnionObjectInspector.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.
|
create, getCategory, getObjectInspectors, getTypeName, setFieldAndTag, toStringprotected LazyBinaryUnionObjectInspector()
protected LazyBinaryUnionObjectInspector(List<ObjectInspector> unionFieldObjectInspectors)
public byte getTag(Object o)
getTag in interface UnionObjectInspectorgetTag in class StandardUnionObjectInspectorpublic Object getField(Object o)
getField in interface UnionObjectInspectorgetField in class StandardUnionObjectInspectorCopyright © 2019 The Apache Software Foundation. All Rights Reserved.