MeasureDSL
A domain-specific language (DSL) for creating Measures
This DSL enforces type safety by accepting only specific numeric types defined in MeasureType.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MeasureDSL.type
Members list
Type members
Classlikes
Intermediate representation of a measure's name.
Intermediate representation of a measure's name.
Value parameters
- name
-
the name assigned to the measure
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Class that provides the named
infix method to specify a measure name.
Class that provides the named
infix method to specify a measure name.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
DSL initializer.
DSL initializer.
Starts the construction of a Measure using the measure named "..." as Type
syntax.
Attributes
- Returns
-
a MeasureWord instance
Extensions
Extensions
Extension method for Measurename to complete a Measure definition by assigning its typology.
Extension method for Measurename to complete a Measure definition by assigning its typology.
Value parameters
- typology
-
the static type of the measure (e.g., Int, Long, Float, Double)
Attributes
- Returns
-
a Measure instance with the specified name and typology