Package org.apache.calcite.model
Class JsonMapSchema
- java.lang.Object
-
- org.apache.calcite.model.JsonSchema
-
- org.apache.calcite.model.JsonMapSchema
-
- Direct Known Subclasses:
JsonCustomSchema
public class JsonMapSchema extends JsonSchema
JSON object representing a schema whose tables are explicitly specified.Like the base class
JsonSchema
, occurs withinJsonRoot.schemas
.- See Also:
Description of JSON schema elements
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.calcite.model.JsonSchema
JsonSchema.Type
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<JsonFunction>
functions
Functions in this schema.java.util.List<JsonTable>
tables
Tables in this schema.java.util.List<JsonType>
types
Types in this schema.-
Fields inherited from class org.apache.calcite.model.JsonSchema
autoLattice, cache, lattices, materializations, name, path
-
-
Constructor Summary
Constructors Constructor Description JsonMapSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelHandler handler)
void
visitChildren(ModelHandler modelHandler)
-
-
-
Field Detail
-
tables
public final java.util.List<JsonTable> tables
Tables in this schema.The list may be empty.
-
types
public final java.util.List<JsonType> types
Types in this schema.The list may be empty.
-
functions
public final java.util.List<JsonFunction> functions
Functions in this schema.The list may be empty.
-
-
Method Detail
-
accept
public void accept(ModelHandler handler)
- Specified by:
accept
in classJsonSchema
-
visitChildren
public void visitChildren(ModelHandler modelHandler)
- Overrides:
visitChildren
in classJsonSchema
-
-