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 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.



Copyright © 2010 The Apache Software Foundation