public static final class DefaultParserProviders.GuessParserProvider extends ParserProvider
Constructor and Description |
---|
DefaultParserProviders.GuessParserProvider() |
Modifier and Type | Method and Description |
---|---|
Parser |
createParser(ParseSetup setup,
Key<Job> jobKey)
Create a new parser
|
ParseSetup |
createParserSetup(Key[] inputs,
ParseSetup requiredSetup)
Create a parser specific setup.
|
ParseSetup |
guessSetup(ByteVec bv,
byte[] bits,
byte sep,
int ncols,
boolean singleQuotes,
int checkHeader,
java.lang.String[] columnNames,
byte[] columnTypes,
java.lang.String[][] domains,
java.lang.String[][] naStrings)
Returns parser setup of throws exception if input is not recognized
|
ParserInfo |
info()
Technical information for this parser
|
setupLocal
public DefaultParserProviders.GuessParserProvider()
public ParserInfo info()
ParserProvider
info
in class ParserProvider
public Parser createParser(ParseSetup setup, Key<Job> jobKey)
ParserProvider
createParser
in class ParserProvider
public ParseSetup guessSetup(ByteVec bv, byte[] bits, byte sep, int ncols, boolean singleQuotes, int checkHeader, java.lang.String[] columnNames, byte[] columnTypes, java.lang.String[][] domains, java.lang.String[][] naStrings)
ParserProvider
guessSetup
in class ParserProvider
public ParseSetup createParserSetup(Key[] inputs, ParseSetup requiredSetup)
ParserProvider
createParserSetup
in class ParserProvider
inputs
- input keysrequiredSetup
- user given parser setup