org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive
Class LazyPrimitiveObjectInspectorFactory

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive.LazyPrimitiveObjectInspectorFactory

public class LazyPrimitiveObjectInspectorFactory
extends Object

LazyPrimitiveObjectInspectorFactory 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 ObjectInspector is because ObjectInspectors do not have an internal state - so ObjectInspectors with the same construction parameters should result in exactly the same ObjectInspector.


Field Summary
static LazyBooleanObjectInspector lazyBooleanObjectInspector
           
static LazyByteObjectInspector lazyByteObjectInspector
           
static LazyDoubleObjectInspector lazyDoubleObjectInspector
           
static LazyFloatObjectInspector lazyFloatObjectInspector
           
static LazyIntObjectInspector lazyIntObjectInspector
           
static LazyLongObjectInspector lazyLongObjectInspector
           
static LazyShortObjectInspector lazyShortObjectInspector
           
static LazyVoidObjectInspector lazyVoidObjectInspector
           
 
Constructor Summary
LazyPrimitiveObjectInspectorFactory()
           
 
Method Summary
static AbstractPrimitiveLazyObjectInspector<?> getLazyObjectInspector(PrimitiveObjectInspector.PrimitiveCategory primitiveCategory, boolean escaped, byte escapeChar)
           
static LazyStringObjectInspector getLazyStringObjectInspector(boolean escaped, byte escapeChar)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lazyBooleanObjectInspector

public static final LazyBooleanObjectInspector lazyBooleanObjectInspector

lazyByteObjectInspector

public static final LazyByteObjectInspector lazyByteObjectInspector

lazyShortObjectInspector

public static final LazyShortObjectInspector lazyShortObjectInspector

lazyIntObjectInspector

public static final LazyIntObjectInspector lazyIntObjectInspector

lazyLongObjectInspector

public static final LazyLongObjectInspector lazyLongObjectInspector

lazyFloatObjectInspector

public static final LazyFloatObjectInspector lazyFloatObjectInspector

lazyDoubleObjectInspector

public static final LazyDoubleObjectInspector lazyDoubleObjectInspector

lazyVoidObjectInspector

public static final LazyVoidObjectInspector lazyVoidObjectInspector
Constructor Detail

LazyPrimitiveObjectInspectorFactory

public LazyPrimitiveObjectInspectorFactory()
Method Detail

getLazyStringObjectInspector

public static LazyStringObjectInspector getLazyStringObjectInspector(boolean escaped,
                                                                     byte escapeChar)

getLazyObjectInspector

public static AbstractPrimitiveLazyObjectInspector<?> getLazyObjectInspector(PrimitiveObjectInspector.PrimitiveCategory primitiveCategory,
                                                                             boolean escaped,
                                                                             byte escapeChar)


Copyright © 2009 The Apache Software Foundation