org.apache.hadoop.hive.serde2.lazybinary.objectinspector
Class LazyBinaryObjectInspectorFactory

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.lazybinary.objectinspector.LazyBinaryObjectInspectorFactory

public final class LazyBinaryObjectInspectorFactory
extends Object

ObjectInspectorFactory is the primary way to create new ObjectInspector instances. SerDe classes should call the static functions in this library to create an ObjectInspector to return to the caller of SerDe2.getObjectInspector(). The reason of having caches here is that ObjectInspectors do not have an internal state - so ObjectInspectors with the same construction parameters should result in exactly the same ObjectInspector.


Method Summary
static LazyBinaryListObjectInspector getLazyBinaryListObjectInspector(ObjectInspector listElementObjectInspector)
           
static LazyBinaryMapObjectInspector getLazyBinaryMapObjectInspector(ObjectInspector mapKeyObjectInspector, ObjectInspector mapValueObjectInspector)
           
static LazyBinaryStructObjectInspector getLazyBinaryStructObjectInspector(List<String> structFieldNames, List<ObjectInspector> structFieldObjectInspectors)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLazyBinaryStructObjectInspector

public static LazyBinaryStructObjectInspector getLazyBinaryStructObjectInspector(List<String> structFieldNames,
                                                                                 List<ObjectInspector> structFieldObjectInspectors)

getLazyBinaryListObjectInspector

public static LazyBinaryListObjectInspector getLazyBinaryListObjectInspector(ObjectInspector listElementObjectInspector)

getLazyBinaryMapObjectInspector

public static LazyBinaryMapObjectInspector getLazyBinaryMapObjectInspector(ObjectInspector mapKeyObjectInspector,
                                                                           ObjectInspector mapValueObjectInspector)


Copyright © 2011 The Apache Software Foundation