public class ThriftInputRowParser extends Object implements InputRowParser<Object>
| Constructor and Description |
|---|
ThriftInputRowParser(ParseSpec parseSpec,
String jarPath,
String thriftClassName) |
| Modifier and Type | Method and Description |
|---|---|
ParseSpec |
getParseSpec() |
Class<org.apache.thrift.TBase> |
getThriftClass() |
InputRow |
parse(Object input) |
InputRowParser |
withParseSpec(ParseSpec parseSpec) |
public Class<org.apache.thrift.TBase> getThriftClass() throws IOException, ClassNotFoundException, IllegalAccessException, InstantiationException
public InputRow parse(Object input)
parse in interface InputRowParser<Object>public ParseSpec getParseSpec()
getParseSpec in interface InputRowParser<Object>public InputRowParser withParseSpec(ParseSpec parseSpec)
withParseSpec in interface InputRowParser<Object>Copyright © 2011–2017. All rights reserved.