public class JsonJdbcSchema extends JsonSchema
Like the base class JsonSchema,
occurs within JsonRoot.schemas.
Description of JSON schema elementsJsonSchema.Type| Modifier and Type | Field and Description |
|---|---|
@Nullable String |
jdbcCatalog
Name of the initial catalog in the JDBC data source.
|
@Nullable String |
jdbcDriver
The name of the JDBC driver class.
|
@Nullable String |
jdbcPassword
JDBC connect string, for example "jdbc:mysql://localhost/foodmart".
|
@Nullable String |
jdbcSchema
Name of the initial schema in the JDBC data source.
|
String |
jdbcUrl
JDBC connect string, for example "jdbc:mysql://localhost/foodmart".
|
@Nullable String |
jdbcUser
JDBC user name.
|
@Nullable String |
sqlDialectFactory
The FQN of the
SqlDialectFactory implementation. |
autoLattice, cache, lattices, materializations, name, path| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ModelHandler handler) |
visitChildrenpublic final @Nullable String jdbcDriver
Optional. If not specified, uses whichever class the JDBC
DriverManager chooses.
public final @Nullable String sqlDialectFactory
SqlDialectFactory implementation.
Optional. If not specified, uses whichever class the JDBC
DriverManager chooses.
public final String jdbcUrl
public final @Nullable String jdbcUser
Optional.
public final @Nullable String jdbcPassword
Optional.
public final @Nullable String jdbcCatalog
Optional.
public final @Nullable String jdbcSchema
Optional.
public 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)
public void accept(ModelHandler handler)
accept in class JsonSchemaCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.