public class CustomNonSettableListObjectInspector1 extends java.lang.Object implements ListObjectInspector
ObjectInspector.Category| Modifier | Constructor and Description |
|---|---|
protected |
CustomNonSettableListObjectInspector1(ObjectInspector listElementObjectInspector) |
| Modifier and Type | Method and Description |
|---|---|
ObjectInspector.Category |
getCategory()
An ObjectInspector must inherit from one of the following interfaces if
getCategory() returns: PRIMITIVE: PrimitiveObjectInspector LIST:
ListObjectInspector MAP: MapObjectInspector STRUCT: StructObjectInspector.
|
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.
|
ObjectInspector |
getListElementObjectInspector() |
int |
getListLength(java.lang.Object data)
returns -1 for data = null.
|
java.lang.String |
getTypeName()
Returns the name of the data type that is inspected by this
ObjectInspector.
|
protected CustomNonSettableListObjectInspector1(ObjectInspector listElementObjectInspector)
public final ObjectInspector.Category getCategory()
ObjectInspectorgetCategory in interface ObjectInspectorpublic ObjectInspector getListElementObjectInspector()
getListElementObjectInspector in interface ListObjectInspectorpublic java.lang.Object getListElement(java.lang.Object data,
int index)
ListObjectInspectorgetListElement in interface ListObjectInspectorpublic int getListLength(java.lang.Object data)
ListObjectInspectorgetListLength in interface ListObjectInspectorpublic java.util.List<?> getList(java.lang.Object data)
ListObjectInspectorgetList in interface ListObjectInspectorpublic java.lang.String getTypeName()
ObjectInspectorgetTypeName in interface ObjectInspectorCopyright © 2012 The Apache Software Foundation