public interface MapObjectInspector extends ObjectInspector
ObjectInspector.Category
Modifier and Type | Method and Description |
---|---|
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() |
getCategory, getTypeName
ObjectInspector getMapKeyObjectInspector()
ObjectInspector getMapValueObjectInspector()
Map<?,?> getMap(Object data)
int getMapSize(Object data)
Copyright © 2017 The Apache Software Foundation. All rights reserved.