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)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 |
|---|---|
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.
|
| Constructor and Description |
|---|
JsonRoot() |
public String version
public 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–2018 The Apache Software Foundation. All rights reserved.