public interface ListObjectInspector extends ObjectInspector
ObjectInspector.Category
Modifier and Type | Method and Description |
---|---|
List<?> |
getList(Object data)
returns null for data = null.
|
Object |
getListElement(Object data,
int index)
returns null for null list, out-of-the-range index.
|
ObjectInspector |
getListElementObjectInspector() |
int |
getListLength(Object data)
returns -1 for data = null.
|
getCategory, getTypeName
ObjectInspector getListElementObjectInspector()
Object getListElement(Object data, int index)
int getListLength(Object data)
List<?> getList(Object data)
Copyright © 2017 The Apache Software Foundation. All rights reserved.