Uses of Class
org.ektorp.ViewQuery

Packages that use ViewQuery
org.ektorp   
org.ektorp.impl   
org.ektorp.support   
 

Uses of ViewQuery in org.ektorp
 

Methods in org.ektorp that return ViewQuery
 ViewQuery ViewQuery.allDocs()
          Will automatically set the query special _all_docs URI.
static ViewQuery PageRequest.applyPagingParameters(ViewQuery q, PageRequest pr)
           
 ViewQuery ViewQuery.cacheOk(boolean b)
          If set to true, the view query result will be cached and subsequent queries (with cacheOk set) may be served from the cache instead of the db.
 ViewQuery ViewQuery.dbPath(String s)
           
 ViewQuery ViewQuery.descending(boolean b)
          View rows are sorted by the key; specifying descending=true will reverse their order.
 ViewQuery ViewQuery.designDocId(String s)
           
 ViewQuery ViewQuery.endDocId(String s)
           
 ViewQuery ViewQuery.endKey(boolean b)
           
 ViewQuery ViewQuery.endKey(double d)
           
 ViewQuery ViewQuery.endKey(float f)
           
 ViewQuery ViewQuery.endKey(int i)
           
 ViewQuery ViewQuery.endKey(long l)
           
 ViewQuery ViewQuery.endKey(Object o)
           
 ViewQuery ViewQuery.endKey(String s)
           
 ViewQuery ViewQuery.group(boolean b)
          The group option controls whether the reduce function reduces to a set of distinct keys or to a single result row.
 ViewQuery ViewQuery.groupLevel(int i)
           
 ViewQuery ViewQuery.includeDocs(boolean b)
          The include_docs option will include the associated document.
 ViewQuery ViewQuery.inclusiveEnd(boolean b)
          The inclusive_end option controls whether the endkey is included in the result.
 ViewQuery ViewQuery.key(boolean b)
           
 ViewQuery ViewQuery.key(double d)
           
 ViewQuery ViewQuery.key(float f)
           
 ViewQuery ViewQuery.key(int i)
           
 ViewQuery ViewQuery.key(long l)
           
 ViewQuery ViewQuery.key(Object o)
           
 ViewQuery ViewQuery.key(String s)
           
 ViewQuery ViewQuery.keys(Collection<?> keyList)
          For multiple-key queries (as of CouchDB 0.9).
 ViewQuery ViewQuery.limit(int i)
          limit=0 you don't get any data, but all meta-data for this View.
 ViewQuery ViewQuery.listName(String s)
           
 ViewQuery ViewQuery.queryParam(String name, String value)
           
 ViewQuery ViewQuery.rawEndKey(String s)
           
 ViewQuery ViewQuery.rawKey(String s)
           
 ViewQuery ViewQuery.rawStartKey(String s)
           
 ViewQuery ViewQuery.reduce(boolean b)
          If a view contains both a map and reduce function, querying that view will by default return the result of the reduce function.
 ViewQuery ViewQuery.skip(int i)
          The skip option should only be used with small values, as skipping a large range of documents this way is inefficient (it scans the index from the startkey and then skips N elements, but still needs to read all the index values to do that).
 ViewQuery ViewQuery.staleOk(boolean b)
          The stale option can be used for higher performance at the cost of possibly not seeing the all latest data.
 ViewQuery ViewQuery.staleOkUpdateAfter()
          Same as staleOk(true) but will also trigger a rebuild of the view index after the results of the view have been retrieved.
 ViewQuery ViewQuery.startDocId(String s)
           
 ViewQuery ViewQuery.startKey(boolean b)
           
 ViewQuery ViewQuery.startKey(double d)
           
 ViewQuery ViewQuery.startKey(float f)
           
 ViewQuery ViewQuery.startKey(int i)
           
 ViewQuery ViewQuery.startKey(long l)
           
 ViewQuery ViewQuery.startKey(Object o)
           
 ViewQuery ViewQuery.startKey(String s)
           
 ViewQuery ViewQuery.updateSeq(boolean b)
          The update_seq option adds a field to the result indicating the update_seq the view reflects.
 ViewQuery ViewQuery.viewName(String s)
           
 

Methods in org.ektorp with parameters of type ViewQuery
static ViewQuery PageRequest.applyPagingParameters(ViewQuery q, PageRequest pr)
           
<T> Page<T>
CouchDbConnector.queryForPage(ViewQuery query, PageRequest pr, Class<T> type)
          Provides paged view results.
 InputStream CouchDbConnector.queryForStream(ViewQuery query)
           
 StreamingViewResult CouchDbConnector.queryForStreamingView(ViewQuery query)
          Please note that the StreamingViewResult need to be closed after usage.
 ViewResult CouchDbConnector.queryView(ViewQuery query)
           
<T> List<T>
CouchDbConnector.queryView(ViewQuery query, Class<T> type)
          This method requires the view result values to be document ids or documents : If the value is a document id, then the document is fetched from couchDB.
 

Uses of ViewQuery in org.ektorp.impl
 

Methods in org.ektorp.impl with parameters of type ViewQuery
<T> Page<T>
StdCouchDbConnector.queryForPage(ViewQuery query, PageRequest pr, Class<T> type)
           
 InputStream StdCouchDbConnector.queryForStream(ViewQuery query)
           
 StreamingViewResult StdCouchDbConnector.queryForStreamingView(ViewQuery query)
           
 ViewResult StdCouchDbConnector.queryView(ViewQuery query)
           
<T> List<T>
StdCouchDbConnector.queryView(ViewQuery query, Class<T> type)
           
 

Uses of ViewQuery in org.ektorp.support
 

Methods in org.ektorp.support that return ViewQuery
protected  ViewQuery CouchDbRepositorySupport.createQuery(String viewName)
          Creates a ViewQuery pre-configured with correct dbPath, design document id and view name.
 



Copyright © 2011. All Rights Reserved.