Class JdbcCatalogSchema

java.lang.Object
org.apache.calcite.schema.impl.AbstractSchema
org.apache.calcite.adapter.jdbc.JdbcCatalogSchema
All Implemented Interfaces:
Schema

public class JdbcCatalogSchema extends AbstractSchema
Schema based upon a JDBC catalog (database).

This schema does not directly contain tables, but contains a sub-schema for each schema in the catalog in the back-end. Each of those sub-schemas is an instance of JdbcSchema.

This schema is lazy: it does not compute the list of schema names until the first call to getSubSchemaMap(). Then it creates a JdbcSchema for each schema name. Each JdbcSchema will populate its tables on demand.