Class JsonMeasure

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String agg
      The name of an aggregate function.
      java.lang.Object args
      Arguments to the measure.
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonMeasure()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(ModelHandler modelHandler)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • agg

        public java.lang.String agg
        The name of an aggregate function.

        Required. Usually count, sum, min, max.

      • args

        public java.lang.Object 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 Detail

      • JsonMeasure

        public JsonMeasure()
    • Method Detail

      • accept

        public void accept​(ModelHandler modelHandler)