Packages

class View extends AnyRef

A view can be queried to get the result.

Linear Supertypes
AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. View
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new View(design: String, db: Database, view: String)

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. def buildReq(options: Map[String, String]): HttpRequest
    Attributes
    protected
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val db: Database
  8. val design: String
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def exists: Future[Boolean]

    Indicates whether this view exists

  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  19. def query[Key, Value, Doc](key: Option[Key] = None, keys: Iterable[Key] = Nil, startkey: Option[Key] = None, startkey_docid: Option[String] = None, endkey: Option[Key] = None, endkey_docid: Option[String] = None, limit: Int = 1, stale: Option[String] = None, descending: Boolean = false, skip: Int = 0, group: Boolean = false, group_level: Int = 1, reduce: Boolean = true, include_docs: Boolean = false, inclusive_end: Boolean = true, update_seq: Boolean = false)(implicit arg0: JsonFormat[Key], arg1: JsonReader[Value], arg2: JsonReader[Doc]): Future[ViewResult[Key, Value, Doc]]

    Queries the view on the server and returned the typed result.

    Queries the view on the server and returned the typed result. Only the found keys are returned, errors are ignored in the result.

    BE CAREFUL: If the types given to the constructor are not correct, strange things may happen! By 'strange', I mean exceptions

  20. def queryRaw(key: Option[JsValue] = None, keys: Iterable[JsValue] = Nil, startkey: Option[JsValue] = None, startkey_docid: Option[String] = None, endkey: Option[JsValue] = None, endkey_docid: Option[String] = None, limit: Int = 1, stale: Option[String] = None, descending: Boolean = false, skip: Int = 0, group: Boolean = false, group_level: Int = 1, reduce: Boolean = true, include_docs: Boolean = false, inclusive_end: Boolean = true, update_seq: Boolean = false): Future[RawViewResult]

    Queries the view on the server and returned the untyped result.

    Queries the view on the server and returned the untyped result.

    Warning: This is low-level API, and might break compatibility even between patch releases

  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    View → AnyRef → Any
  23. val uri: Uri
    Attributes
    protected[this]
  24. val view: String
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped

LowLevel

Low-level classes that may break compatibility even between patch and minor versions