org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive
Class LazyPrimitiveObjectInspectorFactory
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
LazyPrimitiveObjectInspectorFactory
public LazyPrimitiveObjectInspectorFactory()
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