Packages

c

lightdb.store

Transactionless

case class Transactionless[Doc <: Document[Doc], Model <: DocumentModel[Doc]](store: Store[Doc, Model]) extends Product with Serializable

Convenience feature for simple one-off operations removing the need to manually create a transaction around it.

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

Instance Constructors

  1. new Transactionless(store: Store[Doc, Model])

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 apply(id: Id[Doc]): Task[Doc]
  5. def apply[V](f: (Model) => (UniqueIndex[Doc, V], V)): Task[Doc]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. def count: Task[Int]
  9. def delete(id: Id[Doc]): Task[Boolean]
  10. def delete[V](f: (Model) => (UniqueIndex[Doc, V], V)): Task[Boolean]
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def get(id: Id[Doc]): Task[Option[Doc]]
  13. def get[V](f: (Model) => (UniqueIndex[Doc, V], V)): Task[Option[Doc]]
  14. def getAll(ids: Seq[Id[Doc]]): Task[List[Doc]]
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. def insert(docs: Seq[Doc]): Task[Seq[Doc]]
  17. def insert(doc: Doc): Task[Doc]
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def list: Task[List[Doc]]
  20. def modify(id: Id[Doc], lock: Boolean = true, deleteOnNone: Boolean = false)(f: Forge[Option[Doc], Option[Doc]]): Task[Option[Doc]]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. val store: Store[Doc, Model]
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def truncate: Task[Int]
  28. def upsert(docs: Seq[Doc]): Task[Seq[Doc]]
  29. def upsert(doc: Doc): Task[Doc]
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. object json

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped