org.apache.hadoop.hive.serde2.objectinspector
Interface StructField

All Known Implementing Classes:
LazySimpleStructObjectInspector.MyField, ReflectionStructObjectInspector.MyField, StandardStructObjectInspector.MyField, UnionStructObjectInspector.MyField

public interface StructField

StructField is an empty interface. Classes implementing this interface are considered to represent a field of a struct for this serde package.


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.
 

Method Detail

getFieldName

String getFieldName()
Get the name of the field. The name should be always in lower-case.


getFieldObjectInspector

ObjectInspector getFieldObjectInspector()
Get the ObjectInspector for the field.


getFieldComment

String getFieldComment()
Get the comment for the field. May be null if no comment provided.



Copyright © 2011 The Apache Software Foundation