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>HiveExceptionpublic String convert(Object row, ObjectInspector rowOI) throws Exception
convert in interface FetchFormatter<String>Exceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.