public class DelegatedUnionObjectInspector extends java.lang.Object implements UnionObjectInspector
ObjectInspector.Category| Constructor and Description |
|---|
DelegatedUnionObjectInspector(UnionObjectInspector delegate) |
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector.Category |
getCategory()
An ObjectInspector must inherit from one of the following interfaces if
getCategory() returns: PRIMITIVE: PrimitiveObjectInspector LIST:
ListObjectInspector MAP: MapObjectInspector STRUCT: StructObjectInspector.
|
java.lang.Object |
getField(java.lang.Object o)
Return the field based on the tag associated with the Object.
|
java.util.List<ObjectInspector> |
getObjectInspectors()
Returns the array of ObjectInspectors that are for each of the tags.
|
byte |
getTag(java.lang.Object o)
Return the tag of the object.
|
java.lang.String |
getTypeName()
Returns the name of the data type that is inspected by this
ObjectInspector.
|
void |
reset(UnionObjectInspector current) |
public DelegatedUnionObjectInspector(UnionObjectInspector delegate)
public void reset(UnionObjectInspector current)
public java.util.List<ObjectInspector> getObjectInspectors()
UnionObjectInspectorgetObjectInspectors in interface UnionObjectInspectorpublic byte getTag(java.lang.Object o)
UnionObjectInspectorgetTag in interface UnionObjectInspectorpublic java.lang.Object getField(java.lang.Object o)
UnionObjectInspectorgetField in interface UnionObjectInspectorpublic java.lang.String getTypeName()
ObjectInspectorgetTypeName in interface ObjectInspectorpublic ObjectInspector.Category getCategory()
ObjectInspectorgetCategory in interface ObjectInspectorCopyright © 2012 The Apache Software Foundation