Class SQLToCSV.SQLToCSVOptions
java.lang.Object
org.tribuo.data.sql.SQLToCSV.SQLToCSVOptions
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Options
- Enclosing class:
SQLToCSV
public static class SQLToCSV.SQLToCSVOptions
extends Object
implements com.oracle.labs.mlrg.olcut.config.Options
Command line options.
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from interface com.oracle.labs.mlrg.olcut.config.Options
header
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.oracle.labs.mlrg.olcut.config.Options
getOptionsDescription
-
Field Details
-
connString
@Option(charName='n', longName="connection", usage="Connection string to the SQL database") public String connString -
password
@Option(charName='p', longName="password", usage="Password for the SQL database") public String password -
username
@Option(charName='u', longName="username", usage="Username for the SQL database") public String username -
inputPath
@Option(charName='i', longName="input-sql", usage="SQL File to run as a query, defaults to stdin") public Path inputPath -
outputPath
@Option(charName='o', longName="output-csv", usage="File to write query results as CSV, defaults to stdout") public Path outputPath -
dbConfig
-
-
Constructor Details
-
SQLToCSVOptions
public SQLToCSVOptions()
-