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

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

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

A helper class to convert any primitive to Text.


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

Constructor Detail

PrimitiveObjectInspectorConverter.TextConverter

public PrimitiveObjectInspectorConverter.TextConverter(PrimitiveObjectInspector inputOI)
Method Detail

convert

public org.apache.hadoop.io.Text convert(Object input)
Specified by:
convert in interface ObjectInspectorConverters.Converter


Copyright © 2013 The Apache Software Foundation