public class LazyBinaryListObjectInspector extends StandardListObjectInspector
ObjectInspector.Category
Modifier | Constructor and Description |
---|---|
protected |
LazyBinaryListObjectInspector() |
protected |
LazyBinaryListObjectInspector(ObjectInspector listElementObjectInspector) |
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.
|
int |
getListLength(Object data)
returns -1 for data = null.
|
create, getCategory, getListElementObjectInspector, getTypeName, resize, set
protected LazyBinaryListObjectInspector()
protected LazyBinaryListObjectInspector(ObjectInspector listElementObjectInspector)
public List<?> getList(Object data)
ListObjectInspector
getList
in interface ListObjectInspector
getList
in class StandardListObjectInspector
public Object getListElement(Object data, int index)
ListObjectInspector
getListElement
in interface ListObjectInspector
getListElement
in class StandardListObjectInspector
public int getListLength(Object data)
ListObjectInspector
getListLength
in interface ListObjectInspector
getListLength
in class StandardListObjectInspector
Copyright © 2017 The Apache Software Foundation. All rights reserved.