org.apache.hadoop.hive.serde2.objectinspector
Class LazySimpleStructObjectInspector.MyField
java.lang.Object
org.apache.hadoop.hive.serde2.objectinspector.LazySimpleStructObjectInspector.MyField
- All Implemented Interfaces:
- StructField
- Enclosing class:
- LazySimpleStructObjectInspector
protected static class LazySimpleStructObjectInspector.MyField
- extends Object
- implements StructField
fieldID
protected int fieldID
fieldName
protected String fieldName
fieldObjectInspector
protected ObjectInspector fieldObjectInspector
LazySimpleStructObjectInspector.MyField
public LazySimpleStructObjectInspector.MyField(int fieldID,
String fieldName,
ObjectInspector fieldObjectInspector)
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