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 Details

    • connString

      @Option(charName='n', longName="connection", usage="Connection string to the SQL database") public String connString
      Connection string to the SQL database
    • password

      @Option(charName='p', longName="password", usage="Password for the SQL database") public String password
      Password for the SQL database
    • username

      @Option(charName='u', longName="username", usage="Username for the SQL database") public String username
      Username for the SQL database
    • inputPath

      @Option(charName='i', longName="input-sql", usage="SQL File to run as a query, defaults to stdin") public Path inputPath
      SQL File to run as a query, defaults to stdin
    • outputPath

      @Option(charName='o', longName="output-csv", usage="File to write query results as CSV, defaults to stdout") public Path outputPath
      File to write query results as CSV, defaults to stdout
    • dbConfig

      @Option(longName="db-config", usage="Name of the DBConfig to use") public SQLDBConfig dbConfig
      Name of the DBConfig to use
  • Constructor Details

    • SQLToCSVOptions

      public SQLToCSVOptions()