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