public class HadoopyStringInputRowParser extends Object implements InputRowParser<Object>
| Constructor and Description |
|---|
HadoopyStringInputRowParser(ParseSpec parseSpec) |
| Modifier and Type | Method and Description |
|---|---|
ParseSpec |
getParseSpec() |
List<InputRow> |
parseBatch(Object input)
Parse an input into list of
InputRow. |
InputRowParser |
withParseSpec(ParseSpec parseSpec) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparsepublic HadoopyStringInputRowParser(ParseSpec parseSpec)
public List<InputRow> parseBatch(Object input)
InputRowParserInputRow. List can contains null for rows that should be thrown away,
or throws ParseException if the input is unparseable. This method should never return null otherwise
lots of things will break.parseBatch in interface InputRowParser<Object>public ParseSpec getParseSpec()
getParseSpec in interface InputRowParser<Object>public InputRowParser withParseSpec(ParseSpec parseSpec)
withParseSpec in interface InputRowParser<Object>Copyright © 2011–2018. All rights reserved.