public class JsonRoot extends Object
A POJO with fields of Boolean, String, ArrayList,
LinkedHashMap, per Jackson simple data
binding.
Schema structure is as follows:
RootJsonSchema(in collectionschemas)JsonType(in collectiontypes)JsonTable(in collectiontables)JsonColumn(in collectioncolumns)JsonStream(in fieldstream)JsonViewJsonFunction(in collectionfunctions)JsonLattice(in collectionlattices)JsonMeasure(in collectiondefaultMeasures)JsonTile(in collectiontiles)JsonMeasure(in collectionmeasures)JsonMaterialization(in collectionmaterializations)
See the JSON model reference.
| Modifier and Type | Field and Description |
|---|---|
@Nullable String |
defaultSchema
Name of the schema that will become the default schema for connections
to Calcite that use this model.
|
List<JsonSchema> |
schemas
List of schema elements.
|
String |
version
Schema model version number.
|
public final String version
public final @Nullable String defaultSchema
Optional, case-sensitive. If specified, there must be a schema in this model with this name.
public final List<JsonSchema> schemas
The list may be empty.
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.