public static class OrcStruct.OrcListObjectInspector extends Object implements org.apache.hadoop.hive.serde2.objectinspector.ListObjectInspector, org.apache.hadoop.hive.serde2.objectinspector.SettableListObjectInspector
| Constructor and Description |
|---|
OrcListObjectInspector(int columnId,
List<OrcProto.Type> types) |
OrcListObjectInspector(org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo info) |
| Modifier and Type | Method and Description |
|---|---|
Object |
create(int size) |
boolean |
equals(Object o) |
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector.Category |
getCategory() |
List<?> |
getList(Object list) |
Object |
getListElement(Object list,
int i) |
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
getListElementObjectInspector() |
int |
getListLength(Object list) |
String |
getTypeName() |
Object |
resize(Object list,
int newSize) |
Object |
set(Object list,
int index,
Object element) |
public OrcListObjectInspector(org.apache.hadoop.hive.serde2.typeinfo.ListTypeInfo info)
public OrcListObjectInspector(int columnId,
List<OrcProto.Type> types)
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector getListElementObjectInspector()
getListElementObjectInspector in interface org.apache.hadoop.hive.serde2.objectinspector.ListObjectInspectorpublic Object getListElement(Object list, int i)
getListElement in interface org.apache.hadoop.hive.serde2.objectinspector.ListObjectInspectorpublic int getListLength(Object list)
getListLength in interface org.apache.hadoop.hive.serde2.objectinspector.ListObjectInspectorpublic List<?> getList(Object list)
getList in interface org.apache.hadoop.hive.serde2.objectinspector.ListObjectInspectorpublic String getTypeName()
getTypeName in interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorpublic org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector.Category getCategory()
getCategory in interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorpublic Object create(int size)
create in interface org.apache.hadoop.hive.serde2.objectinspector.SettableListObjectInspectorpublic Object set(Object list, int index, Object element)
set in interface org.apache.hadoop.hive.serde2.objectinspector.SettableListObjectInspectorpublic Object resize(Object list, int newSize)
resize in interface org.apache.hadoop.hive.serde2.objectinspector.SettableListObjectInspectorCopyright © 2013–2021. All rights reserved.