public class DefaultFetchFormatter<T> extends Object implements FetchFormatter<String>
FetchFormatter.ThriftFormatter
Constructor and Description |
---|
DefaultFetchFormatter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
convert(Object row,
ObjectInspector rowOI) |
void |
initialize(org.apache.hadoop.conf.Configuration hconf,
Properties props) |
public void initialize(org.apache.hadoop.conf.Configuration hconf, Properties props) throws HiveException
initialize
in interface FetchFormatter<String>
HiveException
public String convert(Object row, ObjectInspector rowOI) throws Exception
convert
in interface FetchFormatter<String>
Exception
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.