Object

gnieh.sohva.Database

local

Related Doc: package Database

Permalink

object local extends Local

Exposes the interface for managing local (non-replicating) documents.

Linear Supertypes
Local, DocumentOps, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. local
  2. Local
  3. DocumentOps
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val credit: Int

    Permalink
    Definition Classes
    LocalDocumentOps
  7. def deleteDoc[T](doc: T)(implicit arg0: CouchFormat[T]): Future[Boolean]

    Permalink

    Deletes the document from the database.

    Deletes the document from the database. The document will only be deleted if the caller provided the last revision

    Definition Classes
    DocumentOps
  8. implicit val ec: ExecutionContext

    Permalink
    Definition Classes
    LocalDocumentOps
  9. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def getDocById[T](id: String, revision: Option[String] = None)(implicit arg0: JsonReader[T]): Future[Option[T]]

    Permalink

    Returns the document identified by the given id if it exists

    Returns the document identified by the given id if it exists

    Definition Classes
    DocumentOps
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def http(req: HttpRequest): Future[JsValue]

    Permalink
    Attributes
    protected[gnieh.sohva]
    Definition Classes
    LocalDocumentOps
  16. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def optHttp(req: HttpRequest): Future[Option[JsValue]]

    Permalink
    Attributes
    protected[gnieh.sohva]
    Definition Classes
    LocalDocumentOps
  21. def saveDoc[T](doc: T)(implicit arg0: CouchFormat[T]): Future[T]

    Permalink

    Creates or updates the given object as a document into this database The given object must have an _id and an optional _rev fields to conform to the couchdb document structure.

    Creates or updates the given object as a document into this database The given object must have an _id and an optional _rev fields to conform to the couchdb document structure. The saved revision is returned. If something went wrong, an exception is raised

    Definition Classes
    DocumentOps
  22. def saveRawDoc(doc: JsValue): Future[JsValue]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    DocumentOps
  23. val strategy: Strategy

    Permalink
    Definition Classes
    LocalDocumentOps
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. val uri: Uri

    Permalink
    Attributes
    protected[gnieh.sohva]
    Definition Classes
    LocalDocumentOps
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Local

Inherited from DocumentOps

Inherited from AnyRef

Inherited from Any

Ungrouped