net.liftmodules.couchdb

Queryable

trait Queryable[SelfType <: Queryable[SelfType]] extends AnyRef

Trait of requests that support CouchDB querying. That is, _all_docs and views

Self Type
Queryable[SelfType] with Request
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Queryable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def newQueryable(req: Request): SelfType

    Create a new self-typed instance

    Create a new self-typed instance

    Attributes
    protected

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def arrayRange(prefix: List[JValue]): SelfType

    Query a range matching the given key prefix.

    Query a range matching the given key prefix. Equivalent to composing from(prefix) and to(prefix with {} appended), e.g. from=["foobar"]&to=["foobar",{}]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def descending: SelfType

    Specify a descending sort.

    Specify a descending sort. Note that the reversal is applied before key filtering, so you must reverse your from(...) and to(...) values.

  10. def dontReduce: SelfType

    Specify that reduction should not occur

  11. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def from(lowValue: JValue, docid: String): SelfType

    Restrict the query to only keys greater than or equal to the given key, not including any documents that are earlier in the view than the given docid

  15. def from(lowValue: JValue): SelfType

    Restrict the query to only keys greater than or equal to the given key

  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def group(level: Int): SelfType

    Group results at the given level (see http://wiki.

    Group results at the given level (see http://wiki.apache.org/couchdb/Introduction_to_CouchDB_views)

  18. def group: SelfType

    Group results (see http://wiki.

    Group results (see http://wiki.apache.org/couchdb/Introduction_to_CouchDB_views)

  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. def includeDocs: SelfType

    Include the associated document with each result

  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. def key(keyValue: JValue): SelfType

    Query for the given key only

  23. def keys(keyValues: JValue*): SelfType

    Query for the given set of keys

  24. def limit(i: Int): SelfType

    Limit the query to the given number of results

  25. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  28. def query: Handler[Box[QueryResults]]

    Fetch results of the query

  29. def staleOk: SelfType

    Specify that stale view data is okay.

    Specify that stale view data is okay. Used for optimization -- some other query must keep the view fresh.

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

    Definition Classes
    AnyRef
  31. def to(highValue: JValue, docid: String): SelfType

    Restrict the query to only keys less than or equal to the given key, not including any documents that are later in the view than the given docid

  32. def to(highValue: JValue): SelfType

    Restrict the query to only keys less than or equal to the given key

  33. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  37. def withParams(params: Traversable[(String, String)]): SelfType

    Add parameters to the query

Inherited from AnyRef

Inherited from Any

Ungrouped