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()
UnionObjectInspector
getObjectInspectors
in interface UnionObjectInspector
public byte getTag(java.lang.Object o)
UnionObjectInspector
getTag
in interface UnionObjectInspector
public java.lang.Object getField(java.lang.Object o)
UnionObjectInspector
getField
in interface UnionObjectInspector
public java.lang.String getTypeName()
ObjectInspector
getTypeName
in interface ObjectInspector
public ObjectInspector.Category getCategory()
ObjectInspector
getCategory
in interface ObjectInspector
Copyright © 2012 The Apache Software Foundation