org.apache.hadoop.hive.serde2.objectinspector
Class StandardConstantListObjectInspector

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.objectinspector.StandardListObjectInspector
      extended by org.apache.hadoop.hive.serde2.objectinspector.StandardConstantListObjectInspector
All Implemented Interfaces:
Cloneable, ConstantObjectInspector, ListObjectInspector, ObjectInspector, SettableListObjectInspector

public class StandardConstantListObjectInspector
extends StandardListObjectInspector
implements ConstantObjectInspector

A StandardListObjectInspector which also implements the ConstantObjectInspector interface. Always use the ObjectInspectorFactory to create new ObjectInspector objects, instead of directly creating an instance of this class.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
ObjectInspector.Category
 
Constructor Summary
protected StandardConstantListObjectInspector(ObjectInspector listElementObjectInspector, List<?> value)
          Call ObjectInspectorFactory.getStandardListObjectInspector instead.
 
Method Summary
 List<?> getWritableConstantValue()
           
 
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.StandardListObjectInspector
create, getCategory, getList, getListElement, getListElementObjectInspector, getListLength, getTypeName, resize, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
getCategory, getTypeName
 

Constructor Detail

StandardConstantListObjectInspector

protected StandardConstantListObjectInspector(ObjectInspector listElementObjectInspector,
                                              List<?> value)
Call ObjectInspectorFactory.getStandardListObjectInspector instead.

Method Detail

getWritableConstantValue

public List<?> getWritableConstantValue()
Specified by:
getWritableConstantValue in interface ConstantObjectInspector


Copyright © 2011 The Apache Software Foundation