Package | Description |
---|---|
com.couchbase.client.java.query | |
com.couchbase.client.java.query.core |
Modifier and Type | Method and Description |
---|---|
PreparedPayload |
PreparedN1qlQuery.statement() |
Constructor and Description |
---|
PreparedN1qlQuery(PreparedPayload plan,
JsonArray positionalParams,
N1qlParams params) |
PreparedN1qlQuery(PreparedPayload plan,
JsonObject namedParams,
N1qlParams params) |
PreparedN1qlQuery(PreparedPayload plan,
N1qlParams params) |
Modifier and Type | Method and Description |
---|---|
protected PreparedPayload |
N1qlQueryExecutor.extractPreparedPayloadFromResponse(PrepareStatement prepared,
JsonObject response)
Extracts the
PreparedPayload from the server’s response during a PREPARE. |
Modifier and Type | Method and Description |
---|---|
protected rx.Observable<PreparedPayload> |
N1qlQueryExecutor.prepare(Statement statement)
Queries a N1QL secondary index and prepare an execution plan via the given statement in
String form. |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
N1qlQueryExecutor(ClusterFacade core,
String bucket,
String username,
String password,
LRUCache<String,PreparedPayload> lruCache,
boolean encodedPlanEnabled)
This constructor is for testing purpose, prefer using
N1qlQueryExecutor.N1qlQueryExecutor(ClusterFacade, String, String, String) . |
Copyright © 2015 Couchbase, Inc.