Package oracle.kv.hadoop.hive.table
Class TableArrayObjectInspector
- java.lang.Object
-
- org.apache.hadoop.hive.serde2.objectinspector.StandardListObjectInspector
-
- oracle.kv.hadoop.hive.table.TableArrayObjectInspector
-
- All Implemented Interfaces:
Cloneable,ListObjectInspector,ObjectInspector,SettableListObjectInspector
public class TableArrayObjectInspector extends StandardListObjectInspector
The Hive ObjectInspector that is used to translate KVStore row fields of type FieldDef.Type.ARRAY to Hive column type LIST.
-
-
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 List<?>getList(Object data)ObjectgetListElement(Object data, int index)intgetListLength(Object data)-
Methods inherited from class org.apache.hadoop.hive.serde2.objectinspector.StandardListObjectInspector
create, getCategory, getListElementObjectInspector, getTypeName, resize, set
-
-
-
-
Method Detail
-
getListElement
public Object getListElement(Object data, int index)
- Specified by:
getListElementin interfaceListObjectInspector- Overrides:
getListElementin classStandardListObjectInspector
-
getListLength
public int getListLength(Object data)
- Specified by:
getListLengthin interfaceListObjectInspector- Overrides:
getListLengthin classStandardListObjectInspector
-
getList
public List<?> getList(Object data)
- Specified by:
getListin interfaceListObjectInspector- Overrides:
getListin classStandardListObjectInspector
-
-