org.apache.hadoop.hive.serde2.objectinspector
Interface UnionObject

All Known Implementing Classes:
StandardUnionObjectInspector.StandardUnion

public interface UnionObject

The UnionObject. It has tag followed by the object it is holding.


Method Summary
 Object getObject()
          Get the Object.
 byte getTag()
          Get the tag of the union.
 

Method Detail

getTag

byte getTag()
Get the tag of the union.

Returns:
the tag byte

getObject

Object getObject()
Get the Object.

Returns:
The Object union is holding


Copyright © 2011 The Apache Software Foundation