org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive
Class LazyPrimitiveObjectInspectorFactory
java.lang.Object
org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive.LazyPrimitiveObjectInspectorFactory
public final 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 |
LAZY_BOOLEAN_OBJECT_INSPECTOR
public static final LazyBooleanObjectInspector LAZY_BOOLEAN_OBJECT_INSPECTOR
LAZY_BYTE_OBJECT_INSPECTOR
public static final LazyByteObjectInspector LAZY_BYTE_OBJECT_INSPECTOR
LAZY_SHORT_OBJECT_INSPECTOR
public static final LazyShortObjectInspector LAZY_SHORT_OBJECT_INSPECTOR
LAZY_INT_OBJECT_INSPECTOR
public static final LazyIntObjectInspector LAZY_INT_OBJECT_INSPECTOR
LAZY_LONG_OBJECT_INSPECTOR
public static final LazyLongObjectInspector LAZY_LONG_OBJECT_INSPECTOR
LAZY_FLOAT_OBJECT_INSPECTOR
public static final LazyFloatObjectInspector LAZY_FLOAT_OBJECT_INSPECTOR
LAZY_DOUBLE_OBJECT_INSPECTOR
public static final LazyDoubleObjectInspector LAZY_DOUBLE_OBJECT_INSPECTOR
LAZY_VOID_OBJECT_INSPECTOR
public static final LazyVoidObjectInspector LAZY_VOID_OBJECT_INSPECTOR
getLazyStringObjectInspector
public static LazyStringObjectInspector getLazyStringObjectInspector(boolean escaped,
byte escapeChar)
getLazyObjectInspector
public static AbstractPrimitiveLazyObjectInspector<?> getLazyObjectInspector(PrimitiveObjectInspector.PrimitiveCategory primitiveCategory,
boolean escaped,
byte escapeChar)
Copyright © 2011 The Apache Software Foundation