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.
- 
ClassDescriptionJSON object representing a column.JSON schema element that represents a custom schema.Custom table schema element.Function schema element.JSON object representing a schema that maps to a JDBC database.Element that describes a star schema and provides a framework for defining, recognizing, and recommending materialized views at various levels of aggregation.JSON object representing a schema whose tables are explicitly specified.Element that describes how a table is a materialization of a query.An aggregate function applied to a column (or columns) of a lattice.Root schema element.Schema schema element.Built-in schema types.Information about whether a table allows streaming.Table schema element.Materialized view within aJsonLattice.Type schema element.JSON object representing a type attribute.View schema element.Reads a model and creates schema objects accordingly.Extra operands automatically injected into aJsonCustomSchema.operand, as extra context for the adapter.