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