public static final class DefaultParserProviders.ArffParserProvider
extends java.lang.Object
Constructor and Description |
---|
DefaultParserProviders.ArffParserProvider() |
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(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
|
public DefaultParserProviders.ArffParserProvider()
public ParserInfo info()
ParserProvider
public Parser createParser(ParseSetup setup, Key<Job> jobKey)
ParserProvider
public ParseSetup guessSetup(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
public ParseSetup createParserSetup(Key[] inputs, ParseSetup requiredSetup)
ParserProvider
createParserSetup
in interface ParserProvider
inputs
- input keysrequiredSetup
- user given parser setup