Package org.apache.calcite.model


@DefaultQualifier(value=org.checkerframework.checker.nullness.qual.NonNull.class,locations=FIELD) @DefaultQualifier(value=org.checkerframework.checker.nullness.qual.NonNull.class,locations=PARAMETER) @DefaultQualifier(value=org.checkerframework.checker.nullness.qual.NonNull.class,locations=RETURN) package org.apache.calcite.model
Provides model files, in JSON format, defining schemas and other metadata.

Models are specified using a model=<uri> parameter on the JDBC connect string. Calcite loads the model while initializing the connection. It first parses the JSON, then uses a ModelHandler as visitor over the parse tree.

There are standard implementations of schema and table, but the user can provide their own by implementing the SchemaFactory or TableFactory interfaces and including a custom schema in the model.

There are several examples of schemas in the tutorial.