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