net.liftweb.couchdb.Queryable

trait Queryable

trait Queryable[SelfType <: Queryable[SelfType]]

 extends ScalaObject


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


Source: Database.scala(107)

Direct Known Subclasses

AllDocs, View,

 Fields

descending.. def descending
Specify a descending sort [details]
Note that the reversal is applied before key filtering, so you must reverse your from(...) and to(...) values.
SelfType
dontReduce.. def dontReduce
Specify that reduction should not occur
SelfType
group.. def group
Group results (see http://wiki [details]
apache.org/couchdb/Introduction_to_CouchDB_views)
SelfType
includeDocs.. def includeDocs
Include the associated document with each result
SelfType
query.. def query
Fetch results of the query
Handler[Box[QueryResults]]
staleOk.. def staleOk
Specify that stale view data is okay [details]
Used for optimization -- some other query must keep the view fresh.
SelfType

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
arrayRange.. def arrayRange(prefix : List[JValue])
Query a range matching the given key prefix [details]
Equivalent to composing from(prefix) and to(prefix with {} appended), e.g. from=["foobar"]&to=["foobar",{}]
SelfType
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
from.. def from(lowValue : JValue, docid : String)
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
SelfType
from.. def from(lowValue : JValue)
Restrict the query to only keys greater than or equal to the given key
SelfType
getClass.. final def getClass Class[Any] AnyRef
group.. def group(level : Int)
Group results at the given level (see http://wiki [details]
apache.org/couchdb/Introduction_to_CouchDB_views)
SelfType
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
key.. def key(keyValue : JValue)
Query for the given key only
SelfType
keys.. def keys(keyValues : JValue*)
Query for the given set of keys
SelfType
limit.. def limit(i : Int)
Limit the query to the given number of results
SelfType
ne.. final def ne(arg0 : Object) Boolean AnyRef
newQueryable.. protected abstract def newQueryable(req : Request)
Create a new self-typed instance
SelfType
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
to.. def to(highValue : JValue, docid : String)
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
SelfType
to.. def to(highValue : JValue)
Restrict the query to only keys less than or equal to the given key
SelfType
toString.. def toString String AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
withParams.. protected def withParams(params : Map[String, Any])
Add parameters to the query
SelfType
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.