|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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.dbPath(java.lang.String s)
|
ViewQuery |
ViewQuery.descending(boolean b)
View rows are sorted by the key; specifying descending=true will reverse their order. |
ViewQuery |
ViewQuery.designDocId(java.lang.String s)
|
ViewQuery |
ViewQuery.endDocId(java.lang.String s)
|
ViewQuery |
ViewQuery.endKey(java.lang.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(java.lang.String s)
|
ViewQuery |
ViewQuery.limit(int i)
limit=0 you don't get any data, but all meta-data for this View. |
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.startDocId(java.lang.String s)
|
ViewQuery |
ViewQuery.startKey(java.lang.String s)
|
ViewQuery |
ViewQuery.viewName(java.lang.String s)
|
| Methods in org.ektorp with parameters of type ViewQuery | ||
|---|---|---|
java.io.InputStream |
CouchDbConnector.queryForStream(ViewQuery query)
|
|
ViewResult |
CouchDbConnector.queryView(ViewQuery query)
|
|
|
CouchDbConnector.queryView(ViewQuery query,
java.lang.Class<T> type)
This method requires the view result values to be document ids. |
|
| Uses of ViewQuery in org.ektorp.impl |
|---|
| Methods in org.ektorp.impl with parameters of type ViewQuery | ||
|---|---|---|
java.io.InputStream |
StdCouchDbConnector.queryForStream(ViewQuery query)
|
|
ViewResult |
StdCouchDbConnector.queryView(ViewQuery query)
|
|
|
StdCouchDbConnector.queryView(ViewQuery query,
java.lang.Class<T> type)
|
|
| Uses of ViewQuery in org.ektorp.support |
|---|
| Methods in org.ektorp.support that return ViewQuery | |
|---|---|
protected ViewQuery |
CouchDbRepositorySupport.createQuery(java.lang.String viewName)
Creates a ViewQuery pre-configured with correct dbPath, design document id and view name. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||