folap.modeldefinition

Members list

Type members

Classlikes

object Codegen

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Codegen.type
object CodegenUtils

This object contains utility functions for the DSL

This object contains utility functions for the DSL

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class Dimension(name: String, attributes: Seq[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class Event(name: String, dimensions: Seq[Dimension], measures: Seq[Measure])

The case class representing an Event

The case class representing an Event

Value parameters

dimensions

the dimensions of the Event

measures

the measures of the Event

name

the name of the Event

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object EventBuilder

Builder of an Event

Builder of an Event

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class Measure(name: String, typology: MeasureType)

A class representing a DSL Measure.

A class representing a DSL Measure.

Each Measure is defined by a name and a typology that restricts it to one of the allowed numeric types defined in MeasureType.

Value parameters

name

the name of the measure

typology

the numeric type of the measure (must be one of: Int, Long, Float, Double)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object MeasureDSL

A domain-specific language (DSL) for creating Measures

A domain-specific language (DSL) for creating Measures

This DSL enforces type safety by accepting only specific numeric types defined in MeasureType.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
MeasureDSL.type
object SeqBuilder

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
SeqBuilder.type

Types

type MeasureType = Int.type | Long.type | Float.type | Double.type | BigInt.type | BigDecimal.type

A type representing the allowed numeric types for a Measure.

A type representing the allowed numeric types for a Measure.

Any attempt to use a different type (e.g., String, Boolean, etc.) will result in a compile-time error.

Attributes