org.apache.hadoop.hive.serde2.objectinspector
Interface ListObjectInspector
- All Superinterfaces:
- ObjectInspector
- All Known Implementing Classes:
- LazyListObjectInspector
public interface ListObjectInspector
- extends ObjectInspector
getListElementObjectInspector
ObjectInspector getListElementObjectInspector()
getListElement
Object getListElement(Object data,
int index)
- returns null for null list, out-of-the-range index.
getListLength
int getListLength(Object data)
- returns -1 for data = null.
getList
List<?> getList(Object data)
- returns null for data = null.
Copyright © 2009 The Apache Software Foundation