public static class FetchFormatter.ThriftFormatter extends Object implements FetchFormatter<Object>
FetchFormatter.ThriftFormatter| Constructor and Description |
|---|
FetchFormatter.ThriftFormatter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Object |
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 Exception
initialize in interface FetchFormatter<Object>Exceptionpublic Object convert(Object row, ObjectInspector rowOI) throws Exception
convert in interface FetchFormatter<Object>Exceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.