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

All Superinterfaces:
ObjectInspector
All Known Implementing Classes:
LazyMapObjectInspector

public interface MapObjectInspector
extends ObjectInspector


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
ObjectInspector.Category
 
Method Summary
 Map<?,?> getMap(Object data)
          returns null for data = null.
 ObjectInspector getMapKeyObjectInspector()
           
 int getMapSize(Object data)
          returns -1 for NULL map.
 Object getMapValueElement(Object data, Object key)
           
 ObjectInspector getMapValueObjectInspector()
           
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
getCategory, getTypeName
 

Method Detail

getMapKeyObjectInspector

ObjectInspector getMapKeyObjectInspector()

getMapValueObjectInspector

ObjectInspector getMapValueObjectInspector()

getMapValueElement

Object getMapValueElement(Object data,
                          Object key)

getMap

Map<?,?> getMap(Object data)
returns null for data = null.


getMapSize

int getMapSize(Object data)
returns -1 for NULL map.



Copyright © 2009 The Apache Software Foundation