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)
Object
getListElement(Object data, int index)
int
getListLength(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:
getListElement
in interfaceListObjectInspector
- Overrides:
getListElement
in classStandardListObjectInspector
-
getListLength
public int getListLength(Object data)
- Specified by:
getListLength
in interfaceListObjectInspector
- Overrides:
getListLength
in classStandardListObjectInspector
-
getList
public List<?> getList(Object data)
- Specified by:
getList
in interfaceListObjectInspector
- Overrides:
getList
in classStandardListObjectInspector
-
-