Package org.apache.calcite.model
Class JsonJdbcSchema
java.lang.Object
org.apache.calcite.model.JsonSchema
org.apache.calcite.model.JsonJdbcSchema
JSON object representing a schema that maps to a JDBC database.
 
Like the base class JsonSchema,
 occurs within JsonRoot.schemas.
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.calcite.model.JsonSchemaJsonSchema.Type
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal @Nullable StringName of the initial catalog in the JDBC data source.final @Nullable StringThe name of the JDBC driver class.final @Nullable StringJDBC connect string, for example "jdbc:mysql://localhost/foodmart".final @Nullable StringName of the initial schema in the JDBC data source.final StringJDBC connect string, for example "jdbc:mysql://localhost/foodmart".final @Nullable StringJDBC user name.final @Nullable StringThe FQN of theSqlDialectFactoryimplementation.Fields inherited from class org.apache.calcite.model.JsonSchemaautoLattice, cache, lattices, materializations, name, path
- 
Constructor SummaryConstructorsConstructorDescriptionJsonJdbcSchema(String name, @Nullable List<Object> path, @Nullable Boolean cache, @Nullable Boolean autoLattice, @Nullable String jdbcDriver, @Nullable String sqlDialectFactory, String jdbcUrl, @Nullable String jdbcUser, @Nullable String jdbcPassword, @Nullable String jdbcCatalog, @Nullable String jdbcSchema) 
- 
Method SummaryMethods inherited from class org.apache.calcite.model.JsonSchemavisitChildren
- 
Field Details- 
jdbcDriverThe name of the JDBC driver class.Optional. If not specified, uses whichever class the JDBC DriverManagerchooses.
- 
sqlDialectFactoryThe FQN of theSqlDialectFactoryimplementation.Optional. If not specified, uses whichever class the JDBC DriverManagerchooses.
- 
jdbcUrlJDBC connect string, for example "jdbc:mysql://localhost/foodmart".
- 
jdbcUserJDBC user name.Optional. 
- 
jdbcPasswordJDBC connect string, for example "jdbc:mysql://localhost/foodmart".Optional. 
- 
jdbcCatalogName of the initial catalog in the JDBC data source.Optional. 
- 
jdbcSchemaName of the initial schema in the JDBC data source.Optional. 
 
- 
- 
Constructor Details- 
JsonJdbcSchemapublic JsonJdbcSchema(String name, @Nullable List<Object> path, @Nullable Boolean cache, @Nullable Boolean autoLattice, @Nullable String jdbcDriver, @Nullable String sqlDialectFactory, String jdbcUrl, @Nullable String jdbcUser, @Nullable String jdbcPassword, @Nullable String jdbcCatalog, @Nullable String jdbcSchema) 
 
- 
- 
Method Details- 
accept- Specified by:
- acceptin class- JsonSchema
 
 
-