Package org.apache.druid.data.input.impl
Class StringInputRowParser
java.lang.Object
org.apache.druid.data.input.impl.StringInputRowParser
- All Implemented Interfaces:
ByteBufferInputRowParser,InputRowParser<ByteBuffer>
- Direct Known Subclasses:
TransformingStringInputRowParser
-
Constructor Summary
ConstructorsConstructorDescriptionStringInputRowParser(ParseSpec parseSpec) Deprecated.StringInputRowParser(ParseSpec parseSpec, String encoding) -
Method Summary
Modifier and TypeMethodDescriptionbuildStringKeyMap(ByteBuffer input) voidparseBatch(ByteBuffer input) Parse an input into list ofInputRow.parseString(String inputString) voidwithParseSpec(ParseSpec parseSpec) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.data.input.impl.InputRowParser
parse
-
Constructor Details
-
StringInputRowParser
-
StringInputRowParser
Deprecated.
-
-
Method Details
-
parseBatch
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<ByteBuffer>
-
getParseSpec
- Specified by:
getParseSpecin interfaceInputRowParser<ByteBuffer>
-
getEncoding
-
withParseSpec
- Specified by:
withParseSpecin interfaceByteBufferInputRowParser- Specified by:
withParseSpecin interfaceInputRowParser<ByteBuffer>
-
buildStringKeyMap
-
initializeParser
public void initializeParser() -
startFileFromBeginning
public void startFileFromBeginning() -
parse
-
parseString
-