Package org.apache.calcite.model
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 withinJsonRoot.schemas
.- See Also:
Description of JSON schema elements
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.calcite.model.JsonSchema
JsonSchema.Type
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
jdbcCatalog
Name of the initial catalog in the JDBC data source.java.lang.String
jdbcDriver
The name of the JDBC driver class.java.lang.String
jdbcPassword
JDBC connect string, for example "jdbc:mysql://localhost/foodmart".java.lang.String
jdbcSchema
Name of the initial schema in the JDBC data source.java.lang.String
jdbcUrl
JDBC connect string, for example "jdbc:mysql://localhost/foodmart".java.lang.String
jdbcUser
JDBC user name.java.lang.String
sqlDialectFactory
The FQN of theSqlDialectFactory
implementation.-
Fields inherited from class org.apache.calcite.model.JsonSchema
autoLattice, cache, lattices, materializations, name, path
-
-
Constructor Summary
Constructors Constructor Description JsonJdbcSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelHandler handler)
-
Methods inherited from class org.apache.calcite.model.JsonSchema
visitChildren
-
-
-
-
Field Detail
-
jdbcDriver
public java.lang.String jdbcDriver
The name of the JDBC driver class.Optional. If not specified, uses whichever class the JDBC
DriverManager
chooses.
-
sqlDialectFactory
public java.lang.String sqlDialectFactory
The FQN of theSqlDialectFactory
implementation.Optional. If not specified, uses whichever class the JDBC
DriverManager
chooses.
-
jdbcUrl
public java.lang.String jdbcUrl
JDBC connect string, for example "jdbc:mysql://localhost/foodmart".Optional.
-
jdbcUser
public java.lang.String jdbcUser
JDBC user name.Optional.
-
jdbcPassword
public java.lang.String jdbcPassword
JDBC connect string, for example "jdbc:mysql://localhost/foodmart".Optional.
-
jdbcCatalog
public java.lang.String jdbcCatalog
Name of the initial catalog in the JDBC data source.Optional.
-
jdbcSchema
public java.lang.String jdbcSchema
Name of the initial schema in the JDBC data source.Optional.
-
-
Method Detail
-
accept
public void accept(ModelHandler handler)
- Specified by:
accept
in classJsonSchema
-
-