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 boolean
equals(Object o)
ParseSpec
getParseSpec()
int
hashCode()
List<InputRow>
parseBatch(InputRow input)
Parse an input into list ofInputRow
.InputRowParser
withParseSpec(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:InputRowParser
Parse an input into list ofInputRow
. List can contains null for rows that should be thrown away, or throwsParseException
if the input is unparseable. This method should never return null otherwise lots of things will break.- Specified by:
parseBatch
in interfaceInputRowParser<InputRow>
-
getParseSpec
public ParseSpec getParseSpec()
- Specified by:
getParseSpec
in interfaceInputRowParser<InputRow>
-
withParseSpec
public InputRowParser withParseSpec(ParseSpec parseSpec)
- Specified by:
withParseSpec
in interfaceInputRowParser<InputRow>
-
-