Package org.apache.druid.data.input.impl
Class NoopInputRowParser
- java.lang.Object
-
- org.apache.druid.data.input.impl.NoopInputRowParser
-
- All Implemented Interfaces:
InputRowParser<InputRow>
public class NoopInputRowParser extends Object implements InputRowParser<InputRow>
-
-
Constructor Summary
Constructors Constructor Description NoopInputRowParser(ParseSpec parseSpec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ParseSpecgetParseSpec()inthashCode()List<InputRow>parseBatch(InputRow input)Parse an input into list ofInputRow.InputRowParserwithParseSpec(ParseSpec parseSpec)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.data.input.impl.InputRowParser
parse
-
-
-
-
Constructor Detail
-
NoopInputRowParser
public NoopInputRowParser(ParseSpec parseSpec)
-
-
Method Detail
-
parseBatch
public List<InputRow> parseBatch(InputRow input)
Description copied from interface:InputRowParserParse an input into list ofInputRow. List can contains null for rows that should be thrown away, or throwsParseExceptionif the input is unparseable. This method should never return null otherwise lots of things will break.- Specified by:
parseBatchin interfaceInputRowParser<InputRow>
-
getParseSpec
public ParseSpec getParseSpec()
- Specified by:
getParseSpecin interfaceInputRowParser<InputRow>
-
withParseSpec
public InputRowParser withParseSpec(ParseSpec parseSpec)
- Specified by:
withParseSpecin interfaceInputRowParser<InputRow>
-
-