datomisca

Attribute2EntityReaderCast

Related Docs: trait Attribute2EntityReaderCast | package datomisca

object Attribute2EntityReaderCast

Source
attribute2EntityReader.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Attribute2EntityReaderCast
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. implicit val attr2EntityReaderCastIdOnly: Attribute2EntityReaderCast[DatomicRef.type, one.type, Long]

    Given a cardinality one reference attribute, we can read the entity id of the entity that is referenced.

    Given a cardinality one reference attribute, we can read the entity id of the entity that is referenced.

    If the referenced entity is an ident entity, then we can still get the entity id from the ident keyword.

  6. implicit def attr2EntityReaderCastKeyword[K](implicit fromKeyword: (Keyword) ⇒ K): Attribute2EntityReaderCast[DatomicRef.type, one.type, K]

    Given a cardinality one reference attribute, we can read the ident keyword of the ident entity that is referenced.

    Given a cardinality one reference attribute, we can read the ident keyword of the ident entity that is referenced.

    And if we have an implicit view from Keyword to a type K, then we can get the result of this view, rather than the keyword.

    If the referenced entity is not an ident entity, then an exception will be thrown.

  7. implicit def attr2EntityReaderCastMany[DD <: AnyRef, A](implicit conv: FromDatomic[DD, A]): Attribute2EntityReaderCast[DD, many.type, Set[A]]

    If there is a conversion for DD to A (see FromDatomic) then we can read a Set of A for a many attribute with value type DD.

  8. implicit val attr2EntityReaderCastManyIdOnly: Attribute2EntityReaderCast[DatomicRef.type, many.type, Set[Long]]

    Given a cardinality many reference attribute, we can read the set of entity ids of the entities that are referenced.

    Given a cardinality many reference attribute, we can read the set of entity ids of the entities that are referenced.

    If the referenced entities are ident entities, then we can still get the entity ids from the ident keywords.

  9. implicit def attr2EntityReaderCastManyKeyword[K](implicit fromKeyword: (Keyword) ⇒ K): Attribute2EntityReaderCast[DatomicRef.type, many.type, Set[K]]

    Given a cardinality many reference attribute, we can read set of ident keywords of the ident entities that are referenced.

    Given a cardinality many reference attribute, we can read set of ident keywords of the ident entities that are referenced.

    And if we have an implicit view from Keyword to a type K, then we can get the result of this view, rather than the keyword.

    If the referenced entities are not all ident entities, then an exception will be thrown.

  10. implicit def attr2EntityReaderCastOne[DD <: AnyRef, A](implicit conv: FromDatomic[DD, A]): Attribute2EntityReaderCast[DD, one.type, A]

    If there is a conversion for DD to A (see FromDatomic) then we can read an A for an attribute with value type DD.

  11. implicit def attr2EntityReaderManyIdView[A](implicit er: EntityReader[A]): Attribute2EntityReaderCast[DatomicRef.type, many.type, Set[IdView[A]]]

    If there is an EntityReader for type A then we can read set of entities referenced by a cardinality many reference attribute as a Set of IdView of A.

  12. implicit def attr2EntityReaderManyObj[A](implicit er: EntityReader[A]): Attribute2EntityReaderCast[DatomicRef.type, many.type, Set[A]]

    If there is an EntityReader for type A then we can read set of entities referenced by a cardinality many reference attribute as a Set of A.

  13. implicit def attr2EntityReaderOneIdView[A](implicit er: EntityReader[A]): Attribute2EntityReaderCast[DatomicRef.type, one.type, IdView[A]]

    If there is an EntityReader for type A then we can read the entity referenced by a cardinality one reference attribute as an IdView of A.

  14. implicit def attr2EntityReaderOneObj[A](implicit er: EntityReader[A]): Attribute2EntityReaderCast[DatomicRef.type, one.type, A]

    If there is an EntityReader for type A then we can read the entity referenced by a cardinality one reference attribute as an A.

  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped