Enum Class JdbcDataset.DatabaseProvider

java.lang.Object
java.lang.Enum<JdbcDataset.DatabaseProvider>
com.northconcepts.datapipeline.foundations.pipeline.dataset.JdbcDataset.DatabaseProvider
All Implemented Interfaces:
Serializable, Comparable<JdbcDataset.DatabaseProvider>, Constable
Enclosing class:
JdbcDataset

public static enum JdbcDataset.DatabaseProvider extends Enum<JdbcDataset.DatabaseProvider>
Enumeration of supported database providers for JDBC datasets.

Each database provider implements SQL syntax specific to its database engine.

  • Enum Constant Details

  • Method Details

    • values

      public static JdbcDataset.DatabaseProvider[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static JdbcDataset.DatabaseProvider valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCreateTableSql

      public abstract String getCreateTableSql(String tableName)
      Returns the SQL statement to create a table with the given name.
      Parameters:
      tableName - the name of the table to create
      Returns:
      the CREATE TABLE SQL statement
    • escapeKeyword

      public abstract String escapeKeyword(String keyword)
      Escapes a SQL keyword to make it safe for use as an identifier.
      Parameters:
      keyword - the keyword to escape
      Returns:
      the escaped keyword