org.apache.hadoop.hive.serde2.objectinspector
Interface ListObjectInspector

All Superinterfaces:
ObjectInspector
All Known Implementing Classes:
LazyListObjectInspector

public interface ListObjectInspector
extends ObjectInspector


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
ObjectInspector.Category
 
Method Summary
 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.
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
getCategory, getTypeName
 

Method Detail

getListElementObjectInspector

ObjectInspector getListElementObjectInspector()

getListElement

Object getListElement(Object data,
                      int index)
returns null for null list, out-of-the-range index.


getListLength

int getListLength(Object data)
returns -1 for data = null.


getList

List<?> getList(Object data)
returns null for data = null.



Copyright © 2009 The Apache Software Foundation