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

All Superinterfaces:
Cloneable, MapObjectInspector, ObjectInspector
All Known Implementing Classes:
LazyBinaryMapObjectInspector, StandardConstantMapObjectInspector, StandardMapObjectInspector

public interface SettableMapObjectInspector
extends MapObjectInspector

SettableMapObjectInspector.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
ObjectInspector.Category
 
Method Summary
 Object clear(Object map)
          Clear the map.
 Object create()
          Create an empty map.
 Object put(Object map, Object key, Object value)
          Add a key-value pair to the map.
 Object remove(Object map, Object key)
          Remove a key-value pair from the map.
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.MapObjectInspector
getMap, getMapKeyObjectInspector, getMapSize, getMapValueElement, getMapValueObjectInspector
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
getCategory, getTypeName
 

Method Detail

create

Object create()
Create an empty map.


put

Object put(Object map,
           Object key,
           Object value)
Add a key-value pair to the map. Return the map.


remove

Object remove(Object map,
              Object key)
Remove a key-value pair from the map. Return the map.


clear

Object clear(Object map)
Clear the map. Return the map.



Copyright © 2012 The Apache Software Foundation