Class JdbcCatalogSchema

java.lang.Object
org.apache.calcite.adapter.jdbc.JdbcBaseSchema
org.apache.calcite.adapter.jdbc.JdbcCatalogSchema
All Implemented Interfaces:
Schema, Wrapper

public class JdbcCatalogSchema extends JdbcBaseSchema implements Wrapper
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 subSchemas() and Lookup.get(String). Then it creates a JdbcSchema for this schema name. Each JdbcSchema will populate its tables on demand.