Package oracle.kv.hadoop.hive.table
Class TableMapObjectInspector
- java.lang.Object
-
- org.apache.hadoop.hive.serde2.objectinspector.StandardMapObjectInspector
-
- oracle.kv.hadoop.hive.table.TableMapObjectInspector
-
- All Implemented Interfaces:
Cloneable
,MapObjectInspector
,ObjectInspector
,SettableMapObjectInspector
public class TableMapObjectInspector extends StandardMapObjectInspector
The Hive ObjectInspector that is used to translate KVStore row fields of type FieldDef.Type.MAP to Hive column type MAP.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
ObjectInspector.Category
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<?,?>
getMap(Object data)
int
getMapSize(Object data)
Object
getMapValueElement(Object data, Object key)
-
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.StandardMapObjectInspector
clear, create, getCategory, getMapKeyObjectInspector, getMapValueObjectInspector, getTypeName, put, remove
-
-
-
-
Method Detail
-
getMapValueElement
public Object getMapValueElement(Object data, Object key)
- Specified by:
getMapValueElement
in interfaceMapObjectInspector
- Overrides:
getMapValueElement
in classStandardMapObjectInspector
-
getMapSize
public int getMapSize(Object data)
- Specified by:
getMapSize
in interfaceMapObjectInspector
- Overrides:
getMapSize
in classStandardMapObjectInspector
-
getMap
public Map<?,?> getMap(Object data)
- Specified by:
getMap
in interfaceMapObjectInspector
- Overrides:
getMap
in classStandardMapObjectInspector
-
-