org.apache.hadoop.hive.serde2.lazy.objectinspector
Class LazySimpleStructObjectInspector.MyField
java.lang.Object
org.apache.hadoop.hive.serde2.lazy.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
fieldComment
protected String fieldComment
LazySimpleStructObjectInspector.MyField
public LazySimpleStructObjectInspector.MyField(int fieldID,
String fieldName,
ObjectInspector fieldObjectInspector)
LazySimpleStructObjectInspector.MyField
public LazySimpleStructObjectInspector.MyField(int fieldID,
String fieldName,
ObjectInspector fieldObjectInspector,
String fieldComment)
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
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
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2011 The Apache Software Foundation