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>
Exception
public Object convert(Object row, ObjectInspector rowOI) throws Exception
convert
in interface FetchFormatter<Object>
Exception
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.