|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.serde2.objectinspector.DelegatedUnionObjectInspector
public class DelegatedUnionObjectInspector
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
---|
ObjectInspector.Category |
Constructor Summary | |
---|---|
DelegatedUnionObjectInspector(UnionObjectInspector delegate)
|
Method Summary | |
---|---|
ObjectInspector.Category |
getCategory()
An ObjectInspector must inherit from one of the following interfaces if getCategory() returns: PRIMITIVE: PrimitiveObjectInspector LIST: ListObjectInspector MAP: MapObjectInspector STRUCT: StructObjectInspector. |
Object |
getField(Object o)
Return the field based on the tag associated with the Object. |
List<ObjectInspector> |
getObjectInspectors()
Returns the array of ObjectInspectors that are for each of the tags. |
byte |
getTag(Object o)
Return the tag of the object. |
String |
getTypeName()
Returns the name of the data type that is inspected by this ObjectInspector. |
void |
reset(UnionObjectInspector current)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DelegatedUnionObjectInspector(UnionObjectInspector delegate)
Method Detail |
---|
public void reset(UnionObjectInspector current)
public List<ObjectInspector> getObjectInspectors()
UnionObjectInspector
getObjectInspectors
in interface UnionObjectInspector
public byte getTag(Object o)
UnionObjectInspector
getTag
in interface UnionObjectInspector
public Object getField(Object o)
UnionObjectInspector
getField
in interface UnionObjectInspector
public String getTypeName()
ObjectInspector
getTypeName
in interface ObjectInspector
public ObjectInspector.Category getCategory()
ObjectInspector
getCategory
in interface ObjectInspector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |