org.apache.hadoop.hive.serde2.typeinfo
Class TypeInfoUtils

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils

public class TypeInfoUtils
extends Object


Constructor Summary
TypeInfoUtils()
           
 
Method Summary
static ObjectInspector getStandardObjectInspectorFromTypeInfo(TypeInfo typeInfo)
          Returns the standard object inspector that can be used to translate an object of that typeInfo to a standard object type.
static TypeInfo getTypeInfoFromObjectInspector(ObjectInspector oi)
          Get the TypeInfo object from the ObjectInspector object by recursively going into the ObjectInspector structure.
static TypeInfo getTypeInfoFromTypeString(String typeString)
           
static ArrayList<TypeInfo> getTypeInfosFromTypeString(String typeString)
           
static String getTypeStringFromTypeInfo(TypeInfo typeInfo)
          Return the
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeInfoUtils

public TypeInfoUtils()
Method Detail

getStandardObjectInspectorFromTypeInfo

public static ObjectInspector getStandardObjectInspectorFromTypeInfo(TypeInfo typeInfo)
Returns the standard object inspector that can be used to translate an object of that typeInfo to a standard object type.


getTypeInfoFromObjectInspector

public static TypeInfo getTypeInfoFromObjectInspector(ObjectInspector oi)
Get the TypeInfo object from the ObjectInspector object by recursively going into the ObjectInspector structure.


getTypeStringFromTypeInfo

public static String getTypeStringFromTypeInfo(TypeInfo typeInfo)
Return the


getTypeInfosFromTypeString

public static ArrayList<TypeInfo> getTypeInfosFromTypeString(String typeString)

getTypeInfoFromTypeString

public static TypeInfo getTypeInfoFromTypeString(String typeString)


Copyright © 2009 The Apache Software Foundation