public class NoopInputRowParser extends Object implements InputRowParser<InputRow>
Constructor and Description |
---|
NoopInputRowParser(ParseSpec parseSpec) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ParseSpec |
getParseSpec() |
int |
hashCode() |
List<InputRow> |
parseBatch(InputRow input)
Parse an input into list of
InputRow . |
InputRowParser |
withParseSpec(ParseSpec parseSpec) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
parse
public NoopInputRowParser(ParseSpec parseSpec)
public List<InputRow> parseBatch(InputRow input)
InputRowParser
InputRow
. 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<InputRow>
public ParseSpec getParseSpec()
getParseSpec
in interface InputRowParser<InputRow>
public InputRowParser withParseSpec(ParseSpec parseSpec)
withParseSpec
in interface InputRowParser<InputRow>
Copyright © 2011–2018. All rights reserved.