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

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

protected static class StandardStructObjectInspector.MyField
extends Object
implements StructField


Field Summary
protected  int fieldID
           
protected  String fieldName
           
protected  ObjectInspector fieldObjectInspector
           
 
Constructor Summary
StandardStructObjectInspector.MyField(int fieldID, String fieldName, ObjectInspector fieldObjectInspector)
           
 
Method Summary
 int getFieldID()
           
 String getFieldName()
          Get the name of the field.
 ObjectInspector getFieldObjectInspector()
          Get the ObjectInspector for the field.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fieldID

protected int fieldID

fieldName

protected String fieldName

fieldObjectInspector

protected ObjectInspector fieldObjectInspector
Constructor Detail

StandardStructObjectInspector.MyField

public StandardStructObjectInspector.MyField(int fieldID,
                                             String fieldName,
                                             ObjectInspector fieldObjectInspector)
Method Detail

getFieldID

public int getFieldID()

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 The Apache Software Foundation