|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Query | |
---|---|
com.couchbase.client | |
com.couchbase.client.protocol.views |
Uses of Query in com.couchbase.client |
---|
Methods in com.couchbase.client with parameters of type Query | |
---|---|
HttpFuture<ViewResponse> |
CouchbaseClient.asyncQuery(AbstractView view,
Query query)
|
Paginator |
CouchbaseClient.paginatedQuery(View view,
Query query,
int docsPerPage)
A paginated query allows the user to get the results of a large query in small chunks allowing for better performance. |
ViewResponse |
CouchbaseClient.query(AbstractView view,
Query query)
Queries a Couchbase view and returns the result. |
Uses of Query in com.couchbase.client.protocol.views |
---|
Methods in com.couchbase.client.protocol.views that return Query | |
---|---|
Query |
Query.copy()
Creates a new query instance and returns it with the properties bound to the current object. |
Query |
Query.setBbox(double lowerLeftLong,
double lowerLeftLat,
double upperRightLong,
double upperRightLat)
Sets the params for a spatial bounding box view query. |
Query |
Query.setDebug(boolean debug)
Enabled debugging on view queries. |
Query |
Query.setDescending(boolean descending)
Return the documents in descending by key order. |
Query |
Query.setEndkeyDocID(java.lang.String endkeydocid)
Stop returning records when the specified document ID is reached. |
Query |
Query.setGroup(boolean group)
Group the results using the reduce function to a group or single row. |
Query |
Query.setGroupLevel(int grouplevel)
Specify the group level to be used. |
Query |
Query.setIncludeDocs(boolean include)
If the full documents should be included in the result. |
Query |
Query.setInclusiveEnd(boolean inclusiveend)
Specifies whether the specified end key should be included in the result. |
Query |
Query.setKey(ComplexKey key)
Return only documents that match the specified key. |
Query |
Query.setKey(java.lang.String key)
Return only documents that match the specified key. |
Query |
Query.setKeys(ComplexKey keys)
Return only documents that match each of keys specified within the given array. |
Query |
Query.setKeys(java.lang.String keys)
Return only documents that match each of keys specified within the given array. |
Query |
Query.setLimit(int limit)
Limit the number of the returned documents to the specified number. |
Query |
Query.setOnError(OnError opt)
Sets the response in the event of an error. |
Query |
Query.setRange(ComplexKey startkey,
ComplexKey endkey)
Returns records in the given key range. |
Query |
Query.setRange(java.lang.String startkey,
java.lang.String endkey)
Returns records in the given key range. |
Query |
Query.setRangeEnd(ComplexKey endkey)
Stop returning records when the specified key is reached. |
Query |
Query.setRangeEnd(java.lang.String endkey)
Stop returning records when the specified key is reached. |
Query |
Query.setRangeStart(ComplexKey startkey)
Return records with a value equal to or greater than the specified key. |
Query |
Query.setRangeStart(java.lang.String startkey)
Return records with a value equal to or greater than the specified key. |
Query |
Query.setReduce(java.lang.Boolean reduce)
Use the reduction function. |
Query |
Query.setSkip(int docstoskip)
Skip this number of records before starting to return the results. |
Query |
Query.setStale(Stale stale)
Allow the results from a stale view to be used. |
Query |
Query.setStartkeyDocID(java.lang.String startkeydocid)
Return records starting with the specified document ID. |
Constructors in com.couchbase.client.protocol.views with parameters of type Query | |
---|---|
Paginator(CouchbaseClient client,
View view,
Query query,
int numDocs)
Create a new Paginator. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |