org.apache.hadoop.hive.ql.exec
Class DefaultFetchFormatter<T>
java.lang.Object
org.apache.hadoop.hive.ql.exec.DefaultFetchFormatter<T>
- All Implemented Interfaces:
- Closeable, FetchFormatter<String>
public class DefaultFetchFormatter<T>
- extends Object
- implements FetchFormatter<String>
serialize row by user specified serde and call toString() to make string type result
DefaultFetchFormatter
public DefaultFetchFormatter()
initialize
public void initialize(org.apache.hadoop.conf.Configuration hconf,
Properties props)
throws HiveException
- Specified by:
initialize
in interface FetchFormatter<String>
- Throws:
HiveException
convert
public String convert(Object row,
ObjectInspector rowOI)
throws Exception
- Specified by:
convert
in interface FetchFormatter<String>
- 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.