public class OrcUtils
extends java.lang.Object
Constructor and Description |
---|
OrcUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
convertOrcToPig(java.lang.Object obj,
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector oi,
boolean[] includedColumns) |
static org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
createObjectInspector(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo info) |
static java.lang.Object |
getPrimaryFromOrc(java.lang.Object obj,
org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector poi) |
static ResourceSchema.ResourceFieldSchema |
getResourceFieldSchema(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo ti) |
static org.apache.hadoop.hive.serde2.typeinfo.TypeInfo |
getTypeInfo(ResourceSchema.ResourceFieldSchema fs) |
public static java.lang.Object convertOrcToPig(java.lang.Object obj, org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector oi, boolean[] includedColumns)
public static java.lang.Object getPrimaryFromOrc(java.lang.Object obj, org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector poi)
public static ResourceSchema.ResourceFieldSchema getResourceFieldSchema(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo ti) throws java.io.IOException
java.io.IOException
public static org.apache.hadoop.hive.serde2.typeinfo.TypeInfo getTypeInfo(ResourceSchema.ResourceFieldSchema fs) throws java.io.IOException
java.io.IOException
public static org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector createObjectInspector(org.apache.hadoop.hive.serde2.typeinfo.TypeInfo info)
Copyright © 2007-2012 The Apache Software Foundation