org.apache.hadoop.hive.serde2.objectinspector.primitive
Class PrimitiveObjectInspectorConverter.StringConverter

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorConverter.StringConverter
All Implemented Interfaces:
ObjectInspectorConverters.Converter
Enclosing class:
PrimitiveObjectInspectorConverter

public static class PrimitiveObjectInspectorConverter.StringConverter
extends Object
implements ObjectInspectorConverters.Converter

A helper class to convert any primitive to String.


Constructor Summary
PrimitiveObjectInspectorConverter.StringConverter(PrimitiveObjectInspector inputOI)
           
 
Method Summary
 Object convert(Object input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveObjectInspectorConverter.StringConverter

public PrimitiveObjectInspectorConverter.StringConverter(PrimitiveObjectInspector inputOI)
Method Detail

convert

public Object convert(Object input)
Specified by:
convert in interface ObjectInspectorConverters.Converter


Copyright © 2012 The Apache Software Foundation