final case class Attributed[D](data: D)(metadata: AttributeMap) extends Product with Serializable

Associates a metadata map with data.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Attributed
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Attributed(data: D)(metadata: AttributeMap)

Value Members

  1. val data: D
  2. def get[T](key: AttributeKey[T]): Option[T]

    Retrieves the associated value of key from the metadata.

  3. def map[T](f: (D) ⇒ T): Attributed[T]

    Transforms the data by applying f.

  4. val metadata: AttributeMap
  5. def put[T](key: AttributeKey[T], value: T): Attributed[D]

    Defines a mapping key -> value in the metadata.