public String getTypeName() {
    return ObjectInspectorUtils.getStandardUnionTypeName(this);
  }
Return the field based on the tag value associated with the Object.
serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/StandardUnionObjectInspector.java