Uses of Class
com.couchbase.client.java.query.N1qlQuery
-
Packages that use N1qlQuery Package Description com.couchbase.client.java com.couchbase.client.java.query com.couchbase.client.java.query.core com.couchbase.client.java.util.rawQuerying -
-
Uses of N1qlQuery in com.couchbase.client.java
Methods in com.couchbase.client.java with parameters of type N1qlQuery Modifier and Type Method Description rx.Observable<AsyncN1qlQueryResult>
AsyncBucket. query(N1qlQuery query)
Queries a N1QL secondary index.rx.Observable<AsyncN1qlQueryResult>
AsyncBucket. query(N1qlQuery query, long timeout, TimeUnit timeUnit)
Queries a N1QL secondary index with a custom timeout.rx.Observable<AsyncN1qlQueryResult>
AsyncCluster. query(N1qlQuery query)
Asynchronously perform a N1QL query that can span multiple buckets.N1qlQueryResult
Bucket. query(N1qlQuery query)
Queries a N1QL secondary index with thedefault query timeout
.N1qlQueryResult
Bucket. query(N1qlQuery query, long timeout, TimeUnit timeUnit)
Queries a N1QL secondary index with a custom timeout.N1qlQueryResult
Cluster. query(N1qlQuery query)
Synchronously perform a N1QL query that can span multiple buckets, with the defaulttimeout
.N1qlQueryResult
Cluster. query(N1qlQuery query, long timeout, TimeUnit timeUnit)
Synchronously perform a N1QL query that can span multiple buckets, with a custom timeout.rx.Observable<AsyncN1qlQueryResult>
CouchbaseAsyncBucket. query(N1qlQuery query)
rx.Observable<AsyncN1qlQueryResult>
CouchbaseAsyncBucket. query(N1qlQuery query, long timeout, TimeUnit timeUnit)
rx.Observable<AsyncN1qlQueryResult>
CouchbaseAsyncCluster. query(N1qlQuery query)
N1qlQueryResult
CouchbaseBucket. query(N1qlQuery query)
N1qlQueryResult
CouchbaseBucket. query(N1qlQuery query, long timeout, TimeUnit timeUnit)
N1qlQueryResult
CouchbaseCluster. query(N1qlQuery query)
N1qlQueryResult
CouchbaseCluster. query(N1qlQuery query, long timeout, TimeUnit timeUnit)
-
Uses of N1qlQuery in com.couchbase.client.java.query
Subclasses of N1qlQuery in com.couchbase.client.java.query Modifier and Type Class Description class
AbstractN1qlQuery
An abstract base for N1QLN1qlQuery
.class
ParameterizedN1qlQuery
Represent a N1QL query with an optionally parameterized statement (in which case the values must be passed according to the type and number of placeholders).class
PreparedN1qlQuery
Represent a N1QL query, with a parameterized prepared statement plan (for which the values must be passed according to the type and number of placeholders).class
SimpleN1qlQuery
-
Uses of N1qlQuery in com.couchbase.client.java.query.core
Methods in com.couchbase.client.java.query.core with parameters of type N1qlQuery Modifier and Type Method Description protected rx.Observable<AsyncN1qlQueryResult>
N1qlQueryExecutor. dispatchPrepared(N1qlQuery query, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)
rx.Observable<AsyncN1qlQueryResult>
N1qlQueryExecutor. execute(N1qlQuery query, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)
protected rx.Observable<AsyncN1qlQueryResult>
N1qlQueryExecutor. executePrepared(N1qlQuery query, PreparedPayload payload, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)
Issues a proper N1QL EXECUTE, detecting if parameters must be added to it.protected rx.Observable<AsyncN1qlQueryResult>
N1qlQueryExecutor. executeQuery(N1qlQuery query, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)
Internal: Queries a N1QL secondary index.protected rx.Observable<AsyncN1qlQueryResult>
N1qlQueryExecutor. prepareAndExecute(N1qlQuery query, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)
Issues a N1QL PREPARE, puts the plan in cache then EXECUTE it.protected rx.Observable<AsyncN1qlQueryResult>
N1qlQueryExecutor. retryPrepareAndExecuteOnce(Throwable error, N1qlQuery query, CouchbaseEnvironment env, long timeout, TimeUnit timeUnit)
In case the error warrants a retry, issue a PREPARE, followed by an update of the cache and an EXECUTE. -
Uses of N1qlQuery in com.couchbase.client.java.util.rawQuerying
Methods in com.couchbase.client.java.util.rawQuerying with parameters of type N1qlQuery Modifier and Type Method Description rx.Observable<JsonObject>
AsyncRawQueryExecutor. n1qlToJsonObject(N1qlQuery query)
Asynchronously perform aN1qlQuery
and return the raw N1QL response as aJsonObject
.JsonObject
RawQueryExecutor. n1qlToJsonObject(N1qlQuery query)
Synchronously perform aN1qlQuery
and return the raw N1QL response as aJsonObject
.<T> rx.Observable<T>
AsyncRawQueryExecutor. n1qlToRawCustom(N1qlQuery query, rx.functions.Func1<TranscoderUtils.ByteBufToArray,T> deserializer)
Asynchronously perform aN1qlQuery
and apply a user function to deserialize the raw N1QL response, which is represented as a "TranscoderUtils.ByteBufToArray".<T> T
RawQueryExecutor. n1qlToRawCustom(N1qlQuery query, rx.functions.Func1<TranscoderUtils.ByteBufToArray,T> deserializer)
Synchronously perform aN1qlQuery
and apply a user function to deserialize the raw N1QL response, which is represented as a "TranscoderUtils.ByteBufToArray".rx.Observable<String>
AsyncRawQueryExecutor. n1qlToRawJson(N1qlQuery query)
Asynchronously perform aN1qlQuery
and return the raw N1QL response as a String.String
RawQueryExecutor. n1qlToRawJson(N1qlQuery query)
Synchronously perform aN1qlQuery
and return the raw N1QL response as a String.
-