K
- the type of the key emitted by the viewRB
- the type of the request builder returned after each set operationpublic static interface SettableViewParameters.Common<K,RB extends RequestBuilder>
Modifier and Type | Method and Description |
---|---|
RB |
descending(boolean descending)
Return the documents in ‘descending by key’ order.
|
RB |
endKey(K endkey)
Stop returning records when the specified key is reached.
|
RB |
endKeyDocId(java.lang.String endkey_docid)
Stop returning records when the specified document ID is reached.
|
RB |
includeDocs(boolean include_docs)
Include the full content of the documents in the response.
|
RB |
inclusiveEnd(boolean inclusive_end)
Include rows with the specified endkey.
|
RB |
keys(K... keys)
Return only documents that match the specified key or keys.
|
RB |
stable(boolean stable)
Determine whether the view should be returned from a "stable" set of shards.
|
RB |
stale(java.lang.String stale)
Deprecated.
use
stable(boolean) and update(String) instead |
RB |
startKey(K startkey)
Return records starting with the specified key.
|
RB |
startKeyDocId(java.lang.String startkey_docid)
Return records starting with the specified document ID.
|
RB |
update(java.lang.String update)
Determine whether the view in question should be updated prior to or after responding
to the user.
|
RB descending(boolean descending)
descending
- true
to return the documents in "descending by key" order,
default false
RB endKey(K endkey)
endkey
- of the type emitted by the viewRB endKeyDocId(java.lang.String endkey_docid)
Used to distinguish between records with the same endkey.
endkey_docid
- endkey document IDRB includeDocs(boolean include_docs)
Note that using include_docs=true might have performance implications.
include_docs
- true
to return the full content, default false
RB inclusiveEnd(boolean inclusive_end)
inclusive_end
- false
to exclude, default true
RB keys(K... keys)
keys
- one or more keys of the type emitted by the viewRB stable(boolean stable)
Determine whether the view should be returned from a "stable" set of shards.
stable
- string indicating stable view behaviourRB stale(java.lang.String stale)
stable(boolean)
and update(String)
insteadIf this parameter is not given, a response is returned only after the view has been built.
See:
stale
- string indicating stale view behaviourRB startKey(K startkey)
startkey
- of the type emitted by the viewRB startKeyDocId(java.lang.String startkey_docid)
Used to distinguish between records with the same endkey.
startkey_docid
- startkey document IDRB update(java.lang.String update)
Determine whether the view in question should be updated prior to or after responding to the user.
See:
update
- string indicating update view behaviour