@Stability.Volatile public class TargetedQueryRequest extends QueryRequest implements TargetedRequest
Constructor and Description |
---|
TargetedQueryRequest(Duration timeout,
CoreContext ctx,
RetryStrategy retryStrategy,
Authenticator authenticator,
String statement,
byte[] query,
boolean idempotent,
String contextId,
RequestSpan parentSpan,
String bucket,
String scope,
NodeIdentifier target) |
Modifier and Type | Method and Description |
---|---|
NodeIdentifier |
target()
The target where this request must be dispatched to.
|
bucket, credentials, decode, encode, idempotent, name, operationId, queryContext, scope, serviceContext, serviceType, statement, toString
absoluteTimeout, cancel, cancellationReason, cancelled, completed, context, createdAt, fail, failed, id, requestSpan, response, retryStrategy, succeed, succeeded, timeout, timeoutElapsed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
absoluteTimeout, cancel, cancellationReason, cancelled, completed, context, createdAt, fail, failed, id, requestSpan, response, retryStrategy, succeed, succeeded, timeout, timeoutElapsed
public TargetedQueryRequest(Duration timeout, CoreContext ctx, RetryStrategy retryStrategy, Authenticator authenticator, String statement, byte[] query, boolean idempotent, String contextId, RequestSpan parentSpan, String bucket, String scope, NodeIdentifier target)
public NodeIdentifier target()
TargetedRequest
target
in interface TargetedRequest
Copyright © 2021 Couchbase, Inc.. All rights reserved.