public class TransformingStringInputRowParser extends StringInputRowParser
| Constructor and Description | 
|---|
TransformingStringInputRowParser(ParseSpec parseSpec,
                                String encoding,
                                TransformSpec transformSpec)  | 
| Modifier and Type | Method and Description | 
|---|---|
TransformSpec | 
getTransformSpec()  | 
InputRow | 
parse(String input)  | 
List<InputRow> | 
parseBatch(ByteBuffer input)
Parse an input into list of  
InputRow. | 
StringInputRowParser | 
withParseSpec(ParseSpec parseSpec)  | 
getEncoding, getParseSpec, initializeParser, startFileFromBeginningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparsepublic TransformingStringInputRowParser(ParseSpec parseSpec, String encoding, TransformSpec transformSpec)
public List<InputRow> parseBatch(ByteBuffer 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<ByteBuffer>parseBatch in class StringInputRowParser@Nullable public InputRow parse(@Nullable String input)
parse in class StringInputRowParserpublic StringInputRowParser withParseSpec(ParseSpec parseSpec)
withParseSpec in interface ByteBufferInputRowParserwithParseSpec in interface InputRowParser<ByteBuffer>withParseSpec in class StringInputRowParserpublic TransformSpec getTransformSpec()
Copyright © 2011–2018. All rights reserved.