public class LazyBinaryListObjectInspector extends StandardListObjectInspector
ObjectInspector.Category| Modifier | Constructor and Description |
|---|---|
protected |
LazyBinaryListObjectInspector(ObjectInspector listElementObjectInspector) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<?> |
getList(java.lang.Object data)
returns null for data = null.
|
java.lang.Object |
getListElement(java.lang.Object data,
int index)
returns null for null list, out-of-the-range index.
|
int |
getListLength(java.lang.Object data)
returns -1 for data = null.
|
create, getCategory, getListElementObjectInspector, getTypeName, resize, setprotected LazyBinaryListObjectInspector(ObjectInspector listElementObjectInspector)
public java.util.List<?> getList(java.lang.Object data)
ListObjectInspectorgetList in interface ListObjectInspectorgetList in class StandardListObjectInspectorpublic java.lang.Object getListElement(java.lang.Object data,
int index)
ListObjectInspectorgetListElement in interface ListObjectInspectorgetListElement in class StandardListObjectInspectorpublic int getListLength(java.lang.Object data)
ListObjectInspectorgetListLength in interface ListObjectInspectorgetListLength in class StandardListObjectInspectorCopyright © 2012 The Apache Software Foundation