Uses of Interface
com.couchbase.client.core.msg.kv.KeyValueRequest
-
-
Uses of KeyValueRequest in com.couchbase.client.core.error
Methods in com.couchbase.client.core.error with parameters of type KeyValueRequest Modifier and Type Method Description static CouchbaseExceptionDefaultErrorUtil. keyValueStatusToException(KeyValueRequest<? extends Response> request, Response response)Maps common KV response status codes to their corresponding user-level exceptions. -
Uses of KeyValueRequest in com.couchbase.client.core.error.context
Methods in com.couchbase.client.core.error.context with parameters of type KeyValueRequest Modifier and Type Method Description static KeyValueErrorContextKeyValueErrorContext. completedRequest(KeyValueRequest<?> request, ResponseStatus status)static KeyValueErrorContextKeyValueErrorContext. incompleteRequest(KeyValueRequest<?> request)Constructors in com.couchbase.client.core.error.context with parameters of type KeyValueRequest Constructor Description KeyValueErrorContext(KeyValueRequest<?> request, ResponseStatus status) -
Uses of KeyValueRequest in com.couchbase.client.core.io.netty
Methods in com.couchbase.client.core.io.netty with parameters of type KeyValueRequest Modifier and Type Method Description static voidTracingUtils. 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
Methods in com.couchbase.client.core.io.netty.kv with parameters of type KeyValueRequest Modifier and Type Method Description static CouchbaseExceptionMemcacheProtocol. mapSubDocumentError(KeyValueRequest<?> request, SubDocumentOpResponseStatus status, String path, int index)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.ByteBufMemcacheProtocol. 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.ByteBufMemcacheProtocol. 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
Classes in com.couchbase.client.core.msg.kv that implement KeyValueRequest Modifier and Type Class Description classAppendRequestclassBaseKeyValueRequest<R extends Response>TheBaseKeyValueRequestshould be subclassed by all KeyValue requests since it provides common ground for all of them (i.e.classCarrierBucketConfigRequestclassCarrierGlobalConfigRequestA request to fetch a global configuration.classDecrementRequestclassGetAndLockRequestRepresents a KV GetAndTouch operation.classGetAndTouchRequestRepresents a KV GetAndTouch operation.classGetCollectionIdRequestFetches the collection ID from the cluster based on aCollectionIdentifier.classGetCollectionManifestRequestclassGetMetaRequestRepresents a kv get meta operation.classGetRequestRepresents a KV Get (full document) operation.classIncrementRequestclassInsertRequestUses the KV "add" command to insert documents if they do not already exist.classKvPingRequestclassMultiObserveViaCasRequestSpecial observe request implementation to handle more than one key at the same time.classNoopRequestRepresents a NOOP KV Request, doing nothing.classObserveViaCasRequestclassObserveViaSeqnoRequestclassPrependRequestclassRemoveRequestRepresents a KV delete operation.classReplaceRequestUses the KV replace command to replace a document if it exists.classReplicaGetRequestclassSubdocGetRequestclassSubdocMutateRequestclassTouchRequestclassUnlockRequestclassUpsertRequestUses the KV "set" command to unconditionally replace or insert documents regardless if they exist or not.
-