org.apache.hadoop.hive.serde2.objectinspector
Class ObjectInspectorConverters

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorConverters

public class ObjectInspectorConverters
extends Object


Nested Class Summary
static interface ObjectInspectorConverters.Converter
          A converter which will convert objects with one ObjectInspector to another.
static class ObjectInspectorConverters.IdentityConverter
           
static class ObjectInspectorConverters.ListConverter
          A converter class for List.
static class ObjectInspectorConverters.MapConverter
          A converter class for Map.
static class ObjectInspectorConverters.StructConverter
          A converter class for Struct.
 
Constructor Summary
ObjectInspectorConverters()
           
 
Method Summary
static ObjectInspectorConverters.Converter getConverter(ObjectInspector inputOI, ObjectInspector outputOI)
          Returns a converter that converts objects from one OI to another OI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectInspectorConverters

public ObjectInspectorConverters()
Method Detail

getConverter

public static ObjectInspectorConverters.Converter getConverter(ObjectInspector inputOI,
                                                               ObjectInspector outputOI)
Returns a converter that converts objects from one OI to another OI. The returned (converted) object belongs to this converter, so that it can be reused across different calls.



Copyright © 2009 The Apache Software Foundation