Package org.apache.calcite.model
Class JsonTile
- java.lang.Object
-
- org.apache.calcite.model.JsonTile
-
public class JsonTile extends java.lang.Object
Materialized view within aJsonLattice
.A tile is defined in terms of its dimensionality (the grouping columns, drawn from the lattice) and measures (aggregate functions applied to lattice columns).
Occurs within
JsonLattice.tiles
.- See Also:
Description of schema elements
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List
dimensions
List of dimensions that define this tile.java.util.List<JsonMeasure>
measures
List of measures in this tile.
-
Constructor Summary
Constructors Constructor Description JsonTile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelHandler handler)
-
-
-
Field Detail
-
dimensions
public final java.util.List dimensions
List of dimensions that define this tile.Each dimension is a column from the lattice. The list of dimensions defines the level of aggregation, like a
GROUP BY
clause.Required, but may be empty. Each element is either a string (the unique label of the column within the lattice) or a string list (a pair consisting of a table alias and a column name).
-
measures
public java.util.List<JsonMeasure> measures
List of measures in this tile.If not specified, uses
JsonLattice.defaultMeasures
.
-
-
Method Detail
-
accept
public void accept(ModelHandler handler)
-
-