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)intgetMapSize(Object data)ObjectgetMapValueElement(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:
 getMapValueElementin interfaceMapObjectInspector- Overrides:
 getMapValueElementin classStandardMapObjectInspector
 
- 
getMapSize
public int getMapSize(Object data)
- Specified by:
 getMapSizein interfaceMapObjectInspector- Overrides:
 getMapSizein classStandardMapObjectInspector
 
- 
getMap
public Map<?,?> getMap(Object data)
- Specified by:
 getMapin interfaceMapObjectInspector- Overrides:
 getMapin classStandardMapObjectInspector
 
 - 
 
 -