org.apache.hadoop.hive.serde2.objectinspector
Class UnionStructObjectInspector.MyField

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.objectinspector.UnionStructObjectInspector.MyField
All Implemented Interfaces:
StructField
Enclosing class:
UnionStructObjectInspector

public static class UnionStructObjectInspector.MyField
extends Object
implements StructField

MyField.


Field Summary
 int structID
           
 
Constructor Summary
UnionStructObjectInspector.MyField(int structID, StructField structField)
           
 
Method Summary
 String getFieldComment()
          Get the comment for the field.
 String getFieldName()
          Get the name of the field.
 ObjectInspector getFieldObjectInspector()
          Get the ObjectInspector for the field.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

structID

public int structID
Constructor Detail

UnionStructObjectInspector.MyField

public UnionStructObjectInspector.MyField(int structID,
                                          StructField structField)
Method Detail

getFieldName

public String getFieldName()
Description copied from interface: StructField
Get the name of the field. The name should be always in lower-case.

Specified by:
getFieldName in interface StructField

getFieldObjectInspector

public ObjectInspector getFieldObjectInspector()
Description copied from interface: StructField
Get the ObjectInspector for the field.

Specified by:
getFieldObjectInspector in interface StructField

getFieldComment

public String getFieldComment()
Description copied from interface: StructField
Get the comment for the field. May be null if no comment provided.

Specified by:
getFieldComment in interface StructField


Copyright © 2011 The Apache Software Foundation