Class JdbcImportOptions

java.lang.Object
io.deephaven.importers.jdbc.JdbcImportOptions

@Immutable public abstract class JdbcImportOptions extends Object
Defines options for a specific JDBC import request so that they can be sent to a persistent query.
  • Constructor Details

    • JdbcImportOptions

      public JdbcImportOptions()
  • Method Details

    • builder

      public static JdbcImportOptions.Builder builder()
      Creates a builder for JdbcImportOptions.
      Returns:
      the new builder
    • namespace

      public abstract String namespace()
      Get the namespace to import data into.
      Returns:
      the namespace
    • tableName

      public abstract String tableName()
      Get the table name to import into.
      Returns:
      the table name
    • intradayPartitionColumn

      public abstract Optional<String> intradayPartitionColumn()
      Get the intraday partition column.
      Returns:
      the intraday partition column
    • partitionFormula

      public abstract Optional<String> partitionFormula()
      Get the partition formula.
      Returns:
      the partition formula
    • importSource

      public abstract String importSource()
      Get the import source from the schema.
      Returns:
      the import source
    • outputMode

      @Default public ImportOutputMode outputMode()
      Returns:
      the output mode
    • strict

      @Default public boolean strict()
      Get the strict value.
      Returns:
      the strict value
    • partitionSubstitution

      public abstract Optional<String> partitionSubstitution()
      Get the partition substitution.
      Returns:
      the partition substitution
    • driver

      public abstract Optional<String> driver()
      Get the driver.
      Returns:
      the driver
    • uri

      public abstract String uri()
      Get the URI.
      Returns:
      the URI
    • user

      public abstract Optional<String> user()
      Get the user.
      Returns:
      the user
    • password

      public abstract Optional<String> password()
      Get the encrypted password.
      Returns:
      the encrypted password
    • catalog

      public abstract Optional<String> catalog()
      Get the catalog.
      Returns:
      the catalog
    • query

      public abstract String query()
      Get the query.
      Returns:
      the query
    • destinationPartitions

      public abstract Optional<String> destinationPartitions()
      Get the destination partitions.
      Returns:
      the destination partitions
    • destinationDirectory

      public abstract Optional<File> destinationDirectory()
      Get the destination directory.
      Returns:
      the destination directory
    • schemaService

      public abstract Optional<SchemaService> schemaService()
      Get the schema service.
      Returns:
      the schema service