Package org.apache.calcite.model
Class JsonMeasure
java.lang.Object
org.apache.calcite.model.JsonMeasure
An aggregate function applied to a column (or columns) of a lattice.
Occurs in a JsonTile
,
and there is a default list in
JsonLattice
.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
agg
The name of an aggregate function.Required. Usually
count
,sum
,min
,max
. -
args
Arguments to the measure.Valid values are:
- Not specified: no arguments
- null: no arguments
- Empty list: no arguments
- String: single argument, the name of a lattice column
- List: multiple arguments, each a column name
Unlike lattice dimensions, measures can not be specified in qualified format,
["table", "column"]
. When you define a lattice, make sure that each column you intend to use as a measure has a unique name within the lattice (using "AS alias
" if necessary).
-
-
Constructor Details
-
JsonMeasure
-
-
Method Details
-
accept
-