public final class PrimitiveObjectInspectorFactory extends Object
Modifier and Type | Method and Description |
---|---|
static AbstractPrimitiveJavaObjectInspector |
getPrimitiveJavaObjectInspector(PrimitiveObjectInspector.PrimitiveCategory primitiveCategory)
Returns the PrimitiveJavaObjectInspector for the PrimitiveCategory.
|
static AbstractPrimitiveJavaObjectInspector |
getPrimitiveJavaObjectInspector(PrimitiveTypeInfo typeInfo)
Returns the PrimitiveJavaObjectInspector for the given PrimitiveTypeInfo instance,
|
static PrimitiveObjectInspector |
getPrimitiveObjectInspectorFromClass(Class<?> c)
Returns an ObjectInspector for a primitive Class.
|
static ConstantObjectInspector |
getPrimitiveWritableConstantObjectInspector(PrimitiveTypeInfo typeInfo,
Object value)
Returns a PrimitiveWritableObjectInspector which implements ConstantObjectInspector
for the PrimitiveCategory.
|
static AbstractPrimitiveWritableObjectInspector |
getPrimitiveWritableObjectInspector(PrimitiveObjectInspector.PrimitiveCategory primitiveCategory)
Returns the PrimitiveWritableObjectInspector for the PrimitiveCategory.
|
static AbstractPrimitiveWritableObjectInspector |
getPrimitiveWritableObjectInspector(PrimitiveTypeInfo typeInfo)
Returns the PrimitiveWritableObjectInspector for the given type info
|
public static final WritableBooleanObjectInspector writableBooleanObjectInspector
public static final WritableByteObjectInspector writableByteObjectInspector
public static final WritableShortObjectInspector writableShortObjectInspector
public static final WritableIntObjectInspector writableIntObjectInspector
public static final WritableLongObjectInspector writableLongObjectInspector
public static final WritableFloatObjectInspector writableFloatObjectInspector
public static final WritableDoubleObjectInspector writableDoubleObjectInspector
public static final WritableStringObjectInspector writableStringObjectInspector
public static final WritableHiveCharObjectInspector writableHiveCharObjectInspector
public static final WritableHiveVarcharObjectInspector writableHiveVarcharObjectInspector
public static final WritableVoidObjectInspector writableVoidObjectInspector
public static final WritableDateObjectInspector writableDateObjectInspector
public static final WritableTimestampObjectInspector writableTimestampObjectInspector
public static final WritableHiveIntervalYearMonthObjectInspector writableHiveIntervalYearMonthObjectInspector
public static final WritableHiveIntervalDayTimeObjectInspector writableHiveIntervalDayTimeObjectInspector
public static final WritableBinaryObjectInspector writableBinaryObjectInspector
public static final WritableHiveDecimalObjectInspector writableHiveDecimalObjectInspector
public static final JavaBooleanObjectInspector javaBooleanObjectInspector
public static final JavaByteObjectInspector javaByteObjectInspector
public static final JavaShortObjectInspector javaShortObjectInspector
public static final JavaIntObjectInspector javaIntObjectInspector
public static final JavaLongObjectInspector javaLongObjectInspector
public static final JavaFloatObjectInspector javaFloatObjectInspector
public static final JavaDoubleObjectInspector javaDoubleObjectInspector
public static final JavaStringObjectInspector javaStringObjectInspector
public static final JavaHiveCharObjectInspector javaHiveCharObjectInspector
public static final JavaHiveVarcharObjectInspector javaHiveVarcharObjectInspector
public static final JavaVoidObjectInspector javaVoidObjectInspector
public static final JavaDateObjectInspector javaDateObjectInspector
public static final JavaTimestampObjectInspector javaTimestampObjectInspector
public static final JavaHiveIntervalYearMonthObjectInspector javaHiveIntervalYearMonthObjectInspector
public static final JavaHiveIntervalDayTimeObjectInspector javaHiveIntervalDayTimeObjectInspector
public static final JavaBinaryObjectInspector javaByteArrayObjectInspector
public static final JavaHiveDecimalObjectInspector javaHiveDecimalObjectInspector
public static AbstractPrimitiveWritableObjectInspector getPrimitiveWritableObjectInspector(PrimitiveObjectInspector.PrimitiveCategory primitiveCategory)
primitiveCategory
- public static AbstractPrimitiveWritableObjectInspector getPrimitiveWritableObjectInspector(PrimitiveTypeInfo typeInfo)
PrimitiveTypeInfo
- PrimitiveTypeInfo instancepublic static ConstantObjectInspector getPrimitiveWritableConstantObjectInspector(PrimitiveTypeInfo typeInfo, Object value)
primitiveCategory
- value
- public static AbstractPrimitiveJavaObjectInspector getPrimitiveJavaObjectInspector(PrimitiveObjectInspector.PrimitiveCategory primitiveCategory)
primitiveCategory
- public static AbstractPrimitiveJavaObjectInspector getPrimitiveJavaObjectInspector(PrimitiveTypeInfo typeInfo)
PrimitiveTypeInfo
- PrimitiveTypeInfo instancepublic static PrimitiveObjectInspector getPrimitiveObjectInspectorFromClass(Class<?> c)
Copyright © 2017 The Apache Software Foundation. All rights reserved.