Class JsonJdbcSchema

java.lang.Object
org.apache.calcite.model.JsonSchema
org.apache.calcite.model.JsonJdbcSchema

public class JsonJdbcSchema extends JsonSchema
JSON object representing a schema that maps to a JDBC database.

Like the base class JsonSchema, occurs within JsonRoot.schemas.

See Also:
  • Field Details

    • jdbcDriver

      public final @Nullable String jdbcDriver
      The name of the JDBC driver class.

      Optional. If not specified, uses whichever class the JDBC DriverManager chooses.

    • sqlDialectFactory

      public final @Nullable String sqlDialectFactory
      The FQN of the SqlDialectFactory implementation.

      Optional. If not specified, uses whichever class the JDBC DriverManager chooses.

    • jdbcUrl

      public final String jdbcUrl
      JDBC connect string, for example "jdbc:mysql://localhost/foodmart".
    • jdbcUser

      public final @Nullable String jdbcUser
      JDBC user name.

      Optional.

    • jdbcPassword

      public final @Nullable String jdbcPassword
      JDBC connect string, for example "jdbc:mysql://localhost/foodmart".

      Optional.

    • jdbcCatalog

      public final @Nullable String jdbcCatalog
      Name of the initial catalog in the JDBC data source.

      Optional.

    • jdbcSchema

      public final @Nullable String jdbcSchema
      Name of the initial schema in the JDBC data source.

      Optional.

  • Constructor Details

  • Method Details