org.apache.hadoop.hive.serde2.objectinspector
Class StandardUnionObjectInspector.StandardUnion
java.lang.Object
org.apache.hadoop.hive.serde2.objectinspector.StandardUnionObjectInspector.StandardUnion
- All Implemented Interfaces:
- UnionObject
- Enclosing class:
- StandardUnionObjectInspector
public static class StandardUnionObjectInspector.StandardUnion
- extends Object
- implements UnionObject
tag
protected byte tag
object
protected Object object
StandardUnionObjectInspector.StandardUnion
public StandardUnionObjectInspector.StandardUnion()
StandardUnionObjectInspector.StandardUnion
public StandardUnionObjectInspector.StandardUnion(byte tag,
Object object)
setObject
public void setObject(Object o)
setTag
public void setTag(byte tag)
getObject
public Object getObject()
- Description copied from interface:
UnionObject
- Get the Object.
- Specified by:
getObject
in interface UnionObject
- Returns:
- The Object union is holding
getTag
public byte getTag()
- Description copied from interface:
UnionObject
- Get the tag of the union.
- Specified by:
getTag
in interface UnionObject
- Returns:
- the tag byte
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 The Apache Software Foundation