@Stability.Internal public class QueryAccessor extends Object
Constructor and Description |
---|
QueryAccessor() |
Modifier and Type | Method and Description |
---|---|
static RuntimeException |
convertCoreQueryError(Throwable err) |
static com.couchbase.client.core.msg.query.QueryRequest |
targetedQueryRequest(String statement,
byte[] queryBytes,
String clientContextId,
com.couchbase.client.core.node.NodeIdentifier target,
boolean readonly,
com.couchbase.client.core.retry.RetryStrategy retryStrategy,
Duration timeout,
com.couchbase.client.core.cnc.RequestSpan parentSpan,
com.couchbase.client.core.Core core)
Used by the transactions library, this provides some binary interface protection against
QueryRequest/TargetedQueryRequest changing.
|
@Stability.Internal public static com.couchbase.client.core.msg.query.QueryRequest targetedQueryRequest(String statement, byte[] queryBytes, String clientContextId, @Nullable com.couchbase.client.core.node.NodeIdentifier target, boolean readonly, com.couchbase.client.core.retry.RetryStrategy retryStrategy, Duration timeout, com.couchbase.client.core.cnc.RequestSpan parentSpan, com.couchbase.client.core.Core core)
public static RuntimeException convertCoreQueryError(Throwable err)
Copyright © 2024 Couchbase, Inc.. All rights reserved.