public final class ObjectInspectorFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ObjectInspectorFactory.ObjectInspectorOptions
ObjectInspectorOptions describes what ObjectInspector to use.
|
public static ObjectInspector getReflectionObjectInspector(Type t, ObjectInspectorFactory.ObjectInspectorOptions options)
public static StandardListObjectInspector getStandardListObjectInspector(ObjectInspector listElementObjectInspector)
public static StandardConstantListObjectInspector getStandardConstantListObjectInspector(ObjectInspector listElementObjectInspector, List<?> constantValue)
public static StandardMapObjectInspector getStandardMapObjectInspector(ObjectInspector mapKeyObjectInspector, ObjectInspector mapValueObjectInspector)
public static StandardConstantMapObjectInspector getStandardConstantMapObjectInspector(ObjectInspector mapKeyObjectInspector, ObjectInspector mapValueObjectInspector, Map<?,?> constantValue)
public static StandardUnionObjectInspector getStandardUnionObjectInspector(List<ObjectInspector> unionObjectInspectors)
public static StandardStructObjectInspector getStandardStructObjectInspector(List<String> structFieldNames, List<ObjectInspector> structFieldObjectInspectors)
public static StandardStructObjectInspector getStandardStructObjectInspector(List<String> structFieldNames, List<ObjectInspector> structFieldObjectInspectors, List<String> structComments)
public static StandardConstantStructObjectInspector getStandardConstantStructObjectInspector(List<String> structFieldNames, List<ObjectInspector> structFieldObjectInspectors, List<?> value)
public static UnionStructObjectInspector getUnionStructObjectInspector(List<StructObjectInspector> structObjectInspectors)
public static org.apache.hadoop.hive.serde2.objectinspector.ColumnarStructObjectInspector getColumnarStructObjectInspector(List<String> structFieldNames, List<ObjectInspector> structFieldObjectInspectors)
Copyright © 2016 The Apache Software Foundation. All rights reserved.