datomisca

Entity

Related Docs: class Entity | package datomisca

object Entity

Source
Entity.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Entity
  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. def add[T](id: T, partial: PartialAddEntity)(implicit ev: AsEntityId[T]): AddEntity

    Creates a collection of assertions about the given entity id id.

    Creates a collection of assertions about the given entity id id.

    In Clojure, this is equivalent to:

    {:db/id entity-id
     attribute value
     attribute value
     ...
    }
    id

    a value that can be used as an entity id (AsEntityId)

  5. def add[T](id: T, props: Map[Keyword, AnyRef])(implicit ev: AsEntityId[T]): AddEntity

    Creates a collection of assertions about the given entity id id.

    Creates a collection of assertions about the given entity id id.

    In Clojure, this is equivalent to:

    {:db/id entity-id
     attribute value
     attribute value
     ...
    }
    val toto = Entity.add(DId(Partition.USER), Map(
      person / "name" -> "toto",
      person / "age" -> 30L: java.lang.Long
    ))
    id

    a value that can be used as an entity id (AsEntityId)

    props

    the map containing all tupled (keyword, value)

  6. def add[T](id: T)(props: (Keyword, DWrapper)*)(implicit ev: AsEntityId[T]): AddEntity

    Creates a collection of assertions about the given entity id id.

    Creates a collection of assertions about the given entity id id.

    In Clojure, this is equivalent to:

    {:db/id entity-id
     attribute value
     attribute value
     ...
    }
    val toto = Entity.add(DId(Partition.USER))(
      person / "name" -> "toto",
      person / "age" -> 30L
    )
    id

    a value that can be used as an entity id (AsEntityId)

    props

    a sequence of keyword-value pairs (Keyword, DWrapper)
    where the values can be of any type that can be cast to a Datomic value type (ToDatomicCast)

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  18. def partialAdd(props: (Keyword, DWrapper)*): PartialAddEntity

    Creates a PartialAddEntity.

    Creates a PartialAddEntity.

    props

    a sequence of keyword-value pairs (Keyword, DWrapper)
    where the values can be of any type that can be cast to a Datomic value type (ToDatomicCast)

  19. def retract[T](id: T)(implicit ev: AsPermanentEntityId[T]): RetractEntity

    Creates a entity retraction about the given entity id id.

    Creates a entity retraction about the given entity id id.

    In Clojure, this is equivalent to:

    [:db.fn/retractEntity entity-id]
    val retractEntity = Entity.retract(eid)
    id

    a value that can be used as a permament entity id (AsPermanentEntityId)

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped