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

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.objectinspector.StandardMapObjectInspector
      extended by org.apache.hadoop.hive.serde2.objectinspector.StandardConstantMapObjectInspector
All Implemented Interfaces:
Cloneable, ConstantObjectInspector, MapObjectInspector, ObjectInspector, SettableMapObjectInspector

public class StandardConstantMapObjectInspector
extends StandardMapObjectInspector
implements ConstantObjectInspector

A StandardMapObjectInspector 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 StandardConstantMapObjectInspector(ObjectInspector mapKeyObjectInspector, ObjectInspector mapValueObjectInspector, Map<?,?> value)
          Call ObjectInspectorFactory.getStandardMapObjectInspector instead.
 
Method Summary
 Map<?,?> getWritableConstantValue()
           
 
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.StandardMapObjectInspector
clear, create, getCategory, getMap, getMapKeyObjectInspector, getMapSize, getMapValueElement, getMapValueObjectInspector, getTypeName, put, remove
 
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

StandardConstantMapObjectInspector

protected StandardConstantMapObjectInspector(ObjectInspector mapKeyObjectInspector,
                                             ObjectInspector mapValueObjectInspector,
                                             Map<?,?> value)
Call ObjectInspectorFactory.getStandardMapObjectInspector instead.

Method Detail

getWritableConstantValue

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


Copyright © 2011 The Apache Software Foundation