Uses of Interface
com.couchbase.client.core.msg.kv.KeyValueRequest
Package
Description
-
Uses of KeyValueRequest in com.couchbase.client.core.classic
Modifier and TypeMethodDescriptionstatic <T extends CoreMutationResult>
CompletableFuture<T> ClassicHelper.maybeWrapWithLegacyDurability
(CompletableFuture<T> input, String key, CoreDurability durability, Core core, KeyValueRequest<?> request) Helper method to wrap a mutation result to perform legacy durability requirements if needed. -
Uses of KeyValueRequest in com.couchbase.client.core.error
Modifier and TypeMethodDescriptionstatic CouchbaseException
DefaultErrorUtil.keyValueStatusToException
(KeyValueRequest<? extends Response> request, Response response) Maps common KV response status codes to their corresponding user-level exceptions.static CouchbaseException
DefaultErrorUtil.keyValueStatusToException
(KeyValueRequest<? extends Response> request, ResponseStatus status, KeyValueErrorContext ctx, String defaultErrorString) -
Uses of KeyValueRequest in com.couchbase.client.core.error.context
Modifier and TypeMethodDescriptionstatic KeyValueErrorContext
KeyValueErrorContext.completedRequest
(KeyValueRequest<?> request, Response response) static KeyValueErrorContext
KeyValueErrorContext.completedRequest
(KeyValueRequest<?> request, ResponseStatus status, MemcacheProtocol.FlexibleExtras flexibleExtras) static KeyValueErrorContext
KeyValueErrorContext.incompleteRequest
(KeyValueRequest<?> request) ModifierConstructorDescriptionKeyValueErrorContext
(KeyValueRequest<?> request, ResponseStatus status, MemcacheProtocol.FlexibleExtras flexibleExtras) -
Uses of KeyValueRequest in com.couchbase.client.core.io.netty
Modifier and TypeMethodDescriptionstatic void
TracingUtils.setCommonKVSpanAttributes
(RequestSpan span, KeyValueRequest<Response> request) Sets attributes that are usefully duplicated across multiple spans. -
Uses of KeyValueRequest in com.couchbase.client.core.io.netty.kv
Modifier and TypeMethodDescriptionstatic CouchbaseException
MemcacheProtocol.mapSubDocumentError
(KeyValueRequest<?> request, SubDocumentOpResponseStatus status, String path, int index, MemcacheProtocol.FlexibleExtras flexibleExtras) For any response that can be returned by a SubDocument command - path, document, or execution-based - map it to an appropriate SubDocumentException.static com.couchbase.client.core.deps.io.netty.buffer.ByteBuf
MemcacheProtocol.mutationFlexibleExtras
(KeyValueRequest<?> request, KeyValueChannelContext ctx, com.couchbase.client.core.deps.io.netty.buffer.ByteBufAllocator alloc, Optional<DurabilityLevel> durabilityLevel) static com.couchbase.client.core.deps.io.netty.buffer.ByteBuf
MemcacheProtocol.mutationFlexibleExtras
(KeyValueRequest<?> request, KeyValueChannelContext ctx, com.couchbase.client.core.deps.io.netty.buffer.ByteBufAllocator alloc, Optional<DurabilityLevel> durabilityLevel, boolean preserveExpiry) -
Uses of KeyValueRequest in com.couchbase.client.core.msg.kv
Modifier and TypeClassDescriptionclass
class
BaseKeyValueRequest<R extends Response>
TheBaseKeyValueRequest
should be subclassed by all KeyValue requests since it provides common ground for all of them (i.e.class
class
A request to fetch a global configuration.class
class
Represents a KV GetAndTouch operation.class
Represents a KV GetAndTouch operation.class
Fetches the collection ID from the cluster based on aCollectionIdentifier
.class
class
Represents a kv get meta operation.class
Represents a KV Get (full document) operation.class
class
Uses the KV "add" command to insert documents if they do not already exist.class
class
Special observe request implementation to handle more than one key at the same time.class
Represents a NOOP KV Request, doing nothing.class
class
class
PredeterminedPartitionRequest<R extends Response>
Parent class for requests which have their partition already set at creation time.class
class
class
class
class
Represents a KV delete operation.class
Uses the KV replace command to replace a document if it exists.class
class
class
class
class
class
class
Uses the KV "set" command to unconditionally replace or insert documents regardless if they exist or not.