AttributeSeqBuilder

folap.olapdsl.AttributeSeqBuilder

Provides a DSL for building sequences of AttributeDSL objects using intuitive and readable syntax with the infix and keyword.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Extensions

Extensions

extension (attribute: AttributeDSL)
infix def and(attr: AttributeDSL): Seq[AttributeDSL]

Extension method that allows combining two attributes into a sequence of AttributeDSL.

Extension method that allows combining two attributes into a sequence of AttributeDSL.

Value parameters

name

first attribute

other

second attribute

Attributes

Returns

a sequence of AttributeDSL

extension (name: String)
infix def and(other: String): Seq[AttributeDSL]

Extension method that allows combining two attribute names (as strings) into a sequence of AttributeDSL with empty values.

Extension method that allows combining two attribute names (as strings) into a sequence of AttributeDSL with empty values.

Value parameters

name

first attribute name

other

second attribute name

Attributes

Returns

a sequence of AttributeDSL with empty values

extension (seq: Seq[AttributeDSL])
infix def and(next: String): Seq[AttributeDSL]

Extension method that allows appending a new attribute (by name, with empty value) to an existing sequence.

Extension method that allows appending a new attribute (by name, with empty value) to an existing sequence.

Value parameters

next

name of the new attribute to append

seq

existing sequence of attributes

Attributes

Returns

updated sequence including the new attribute

extension (seq: Seq[AttributeDSL])
infix def and(attr: AttributeDSL): Seq[AttributeDSL]

Extension method that allows appending an AttributeDSL to an existing sequence of AttributeDSL.

Extension method that allows appending an AttributeDSL to an existing sequence of AttributeDSL.

Value parameters

attr

attribute to append

seq

existing sequence of attributes

Attributes

Returns

updated sequence including the new attribute