org.apache.hadoop.hive.serde2.objectinspector
Class StandardConstantMapObjectInspector
java.lang.Object
org.apache.hadoop.hive.serde2.objectinspector.StandardMapObjectInspector
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.
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 |
StandardConstantMapObjectInspector
protected StandardConstantMapObjectInspector(ObjectInspector mapKeyObjectInspector,
ObjectInspector mapValueObjectInspector,
Map<?,?> value)
- Call ObjectInspectorFactory.getStandardMapObjectInspector instead.
getWritableConstantValue
public Map<?,?> getWritableConstantValue()
- Specified by:
getWritableConstantValue
in interface ConstantObjectInspector
Copyright © 2012 The Apache Software Foundation