public class LazyBinaryMapObjectInspector extends StandardMapObjectInspector
LazyBinaryMapObjectInspector.Category| Modifier | Constructor and Description |
|---|---|
protected |
LazyBinaryMapObjectInspector() |
protected |
LazyBinaryMapObjectInspector(ObjectInspector mapKeyObjectInspector,
ObjectInspector mapValueObjectInspector) |
| Modifier and Type | Method and Description |
|---|---|
Map<?,?> |
getMap(Object data)
returns null for data = null.
|
int |
getMapSize(Object data)
returns -1 for NULL map.
|
Object |
getMapValueElement(Object data,
Object key) |
clear, create, getCategory, getMapKeyObjectInspector, getMapValueObjectInspector, getTypeName, put, removeprotected LazyBinaryMapObjectInspector()
protected LazyBinaryMapObjectInspector(ObjectInspector mapKeyObjectInspector, ObjectInspector mapValueObjectInspector)
public Map<?,?> getMap(Object data)
MapObjectInspectorgetMap in interface MapObjectInspectorgetMap in class StandardMapObjectInspectorpublic int getMapSize(Object data)
MapObjectInspectorgetMapSize in interface MapObjectInspectorgetMapSize in class StandardMapObjectInspectorpublic Object getMapValueElement(Object data, Object key)
getMapValueElement in interface MapObjectInspectorgetMapValueElement in class StandardMapObjectInspectorCopyright © 2017 The Apache Software Foundation. All rights reserved.