org.apache.hadoop.hive.serde2.lazybinary.objectinspector
Class LazyBinaryListObjectInspector
java.lang.Object
org.apache.hadoop.hive.serde2.objectinspector.StandardListObjectInspector
org.apache.hadoop.hive.serde2.lazybinary.objectinspector.LazyBinaryListObjectInspector
- All Implemented Interfaces:
- Cloneable, ListObjectInspector, ObjectInspector, SettableListObjectInspector
public class LazyBinaryListObjectInspector
- extends StandardListObjectInspector
ObjectInspector for LazyBinaryList.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyBinaryListObjectInspector
protected LazyBinaryListObjectInspector(ObjectInspector listElementObjectInspector)
getList
public List<?> getList(Object data)
- Description copied from interface:
ListObjectInspector
- returns null for data = null.
Note: This method should not return a List object that is reused by the
same ListObjectInspector, because it's possible that the same
ListObjectInspector will be used in multiple places in the code.
However it's OK if the List object is part of the Object data.
- Specified by:
getList
in interface ListObjectInspector
- Overrides:
getList
in class StandardListObjectInspector
getListElement
public Object getListElement(Object data,
int index)
- Description copied from interface:
ListObjectInspector
- returns null for null list, out-of-the-range index.
- Specified by:
getListElement
in interface ListObjectInspector
- Overrides:
getListElement
in class StandardListObjectInspector
getListLength
public int getListLength(Object data)
- Description copied from interface:
ListObjectInspector
- returns -1 for data = null.
- Specified by:
getListLength
in interface ListObjectInspector
- Overrides:
getListLength
in class StandardListObjectInspector
Copyright © 2010 The Apache Software Foundation