net.liftweb.couchdb.View

trait View

trait View

 extends Request with Queryable[View]


Trait of requests that represent a view that can be queried


Source: Database.scala(97)

 Fields

>|.. def >| Handler[Unit] Handlers
DELETE.. def DELETE Request Request
HEAD.. def HEAD Request Request
POST.. def POST Request Request
as_source.. def as_source Handler[Source] Handlers
as_str.. def as_str Handler[String] Handlers
creds.. val creds Option[Credentials] Request
defaultCharset.. val defaultCharset String Request
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 Queryable
dontReduce.. def dontReduce
Specify that reduction should not occur
SelfType Queryable
group.. def group
Group results (see http://wiki [details]
apache.org/couchdb/Introduction_to_CouchDB_views)
SelfType Queryable
gzip.. def gzip Request Request
host.. val host Option[HttpHost] Request
includeDocs.. def includeDocs
Include the associated document with each result
SelfType Queryable
query.. def query
Fetch results of the query
Handler[Box[QueryResults]] Queryable
req.. def req HttpRequestBase Request
request.. val request Request Request
secure.. def secure Request Request
staleOk.. def staleOk
Specify that stale view data is okay [details]
Used for optimization -- some other query must keep the view fresh.
SelfType Queryable
to_uri.. def to_uri URI Request
xfs.. val xfs List[Function1] Request

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
/.. def /(arg0 : String) Request Request
<&.. def <&(arg0 : Request) Request Request
<:<.. def <:<(arg0 : Map[String, String]) Request Request
<<.. def <<(arg0 : String) Request Request
<<.. def <<(arg0 : Map[String, Any]) Request Request
<<<.. def <<<(arg0 : File, arg1 : String) Request Request
<<<.. def <<<(arg0 : Any) Request Request
<<?.. def <<?(arg0 : Map[String, Any]) Request Request
<>.. def <>[T](arg0 : (Elem) => T) Handler[T] Handlers
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
>&.. def >&[T](arg0 : Handler[T]) Handler[T] Request
>+.. def >+[A, B](arg0 : (Handlers) => (Handler[A], Handler[B])) Handler[(A, B)] Handlers
>-.. def >-[T](arg0 : (String) => T) Handler[T] Handlers
>:>.. def >:>[T](arg0 : (Map[String, Set[String]]) => T) Handler[T] Handlers
>>.. def >>[T](arg0 : (InputStream, String) => T) Handler[T] Handlers
>>.. def >>[T](arg0 : (InputStream) => T) Handler[T] Handlers
>>>.. def >>>[OS <: OutputStream](arg0 : OS) Handler[OS] Handlers
>\.. def >\(arg0 : String) Request Request
>~.. def >~[T](arg0 : (Source) => T) Handler[T] Handlers
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 Queryable
as.. def as(arg0 : String, arg1 : String) Request Request
asInstanceOf.. final def asInstanceOf[T0] T0 Any
as_!.. def as_!(arg0 : String, arg1 : String) Request Request
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 Queryable
from.. def from(lowValue : JValue)
Restrict the query to only keys greater than or equal to the given key
SelfType Queryable
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 Queryable
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
key.. def key(keyValue : JValue)
Query for the given key only
SelfType Queryable
keys.. def keys(keyValues : JValue*)
Query for the given set of keys
SelfType Queryable
limit.. def limit(i : Int)
Limit the query to the given number of results
SelfType Queryable
ne.. final def ne(arg0 : Object) Boolean AnyRef
newQueryable.. protected def newQueryable(req : Request)
Create a new self-typed instance
View
next.. def next(arg0 : Function1) Request Request
next_uri.. def next_uri(arg0 : (String) => String) Request Request
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 Queryable
to.. def to(highValue : JValue)
Restrict the query to only keys less than or equal to the given key
SelfType Queryable
toString.. def toString String AnyRef
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
withParams.. protected def withParams(params : Map[String, Any])
Add parameters to the query
SelfType Queryable
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.