org.finos.morphir.datamodel.Data$
See theData companion trait
Attributes
Companion
trait
Graph
Reset zoom Hide graph Show graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Members list
Represents data that lives beind a typedef. For example,
Represents data that lives beind a typedef. For example,
type Label = String
val x: Label = "xyz"
Should would be represented as
Aliased(Data.String("xyz"), schema = Schema.Alias("Label", Data.String))
Attributes
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Supertypes
trait Writable
class Object
trait Matchable
class Any
Known subtypes
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
See notes on Concept.Enum for information on how this type is modelled
See notes on Concept.Enum for information on how this type is modelled
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Since in ELM, record-based datastructures are generally kept in order, we want to preserve element ordering until the last possible second (i.e. within the DDL structure). This should perserve a certain amount of determinism. We have chosen to use LinkedHashMap because Scala's immutable ListMap is only suitable for a small amount of elements and has O(n) lookup time. Despite the fact that this datastructure is mutable
Since in ELM, record-based datastructures are generally kept in order, we want to preserve element ordering until the last possible second (i.e. within the DDL structure). This should perserve a certain amount of determinism. We have chosen to use LinkedHashMap because Scala's immutable ListMap is only suitable for a small amount of elements and has O(n) lookup time. Despite the fact that this datastructure is mutable
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Equlvalent to ELM Optional or Scala Option
Equlvalent to ELM Optional or Scala Option
Attributes
Companion
object
Supertypes
trait Writable
class Object
trait Matchable
class Any
Known subtypes
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
object
Supertypes
trait Writable
class Object
trait Matchable
class Any
Known subtypes
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Attributes
Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
A instance of a non-discrimiated union-type such as a Scala 3
A instance of a non-discrimiated union-type such as a Scala 3
type MyUnion = Int | String
Would be defined as
Union(Schema.Int, Schema.String)
A value of it would defined as:
Data.Union(Data.Int(123), Union(Schema.Int, Schema.String))
Attributes
Supertypes
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Attributes
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Writable
class Object
trait Matchable
class Any
Show all
Self type
The names of the product elements
The names of the product elements
Attributes
Inherited from:
Mirror
Attributes
Inherited from:
Mirror