org.apache.hadoop.hive.ql.exec
Class FetchFormatter.ThriftFormatter

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.FetchFormatter.ThriftFormatter
All Implemented Interfaces:
Closeable, FetchFormatter<Object>
Enclosing interface:
FetchFormatter<T>

public static class FetchFormatter.ThriftFormatter
extends Object
implements FetchFormatter<Object>


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.ql.exec.FetchFormatter
FetchFormatter.ThriftFormatter
 
Constructor Summary
FetchFormatter.ThriftFormatter()
           
 
Method Summary
 void close()
           
 Object convert(Object row, ObjectInspector rowOI)
           
 void initialize(org.apache.hadoop.conf.Configuration hconf, Properties props)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FetchFormatter.ThriftFormatter

public FetchFormatter.ThriftFormatter()
Method Detail

initialize

public void initialize(org.apache.hadoop.conf.Configuration hconf,
                       Properties props)
                throws Exception
Specified by:
initialize in interface FetchFormatter<Object>
Throws:
Exception

convert

public Object convert(Object row,
                      ObjectInspector rowOI)
               throws Exception
Specified by:
convert in interface FetchFormatter<Object>
Throws:
Exception

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException


Copyright © 2014 The Apache Software Foundation. All rights reserved.