Class ClassicCoreKvOps
java.lang.Object
com.couchbase.client.core.classic.kv.ClassicCoreKvOps
- All Implemented Interfaces:
CoreKvOps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexistsAsync(CoreCommonOptions common, String key) reactor.core.publisher.Flux<CoreGetResult> getAllReplicasReactive(CoreCommonOptions common, String key, CoreReadPreference readPreference) getAndLockAsync(CoreCommonOptions common, String key, Duration lockTime) getAndTouchAsync(CoreCommonOptions common, String key, CoreExpiry expiry) reactor.core.publisher.Mono<CoreGetResult> getAnyReplicaReactive(CoreCommonOptions common, String key, CoreReadPreference readPreference) getAsync(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) insertAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) removeAsync(CoreCommonOptions common, String key, long cas, CoreDurability durability) replaceAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) reactor.core.publisher.Flux<CoreRangeScanItem> scanRequestReactive(CoreScanType scanType, CoreScanOptions options) reactor.core.publisher.Flux<CoreSubdocGetResult> subdocGetAllReplicasReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, CoreReadPreference readPreference) reactor.core.publisher.Mono<CoreSubdocGetResult> subdocGetAnyReplicaReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, CoreReadPreference readPreference) subdocGetAsync(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) subdocMutateAsync(CoreCommonOptions common, String key, Supplier<List<CoreSubdocMutateCommand>> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted) touchAsync(CoreCommonOptions common, String key, CoreExpiry expiry) unlockAsync(CoreCommonOptions common, String key, long cas) upsertAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.couchbase.client.core.api.kv.CoreKvOps
checkProjectionLimits, existsBlocking, existsReactive, getAndLockBlocking, getAndLockReactive, getAndTouchBlocking, getAndTouchReactive, getBlocking, getReactive, insertBlocking, insertReactive, removeBlocking, removeReactive, replaceBlocking, replaceReactive, scanRequestAsync, scanRequestBlocking, subdocGetBlocking, subdocGetReactive, subdocMutateBlocking, subdocMutateReactive, touchBlocking, touchReactive, unlockBlocking, unlockReactive, upsertBlocking, upsertReactive
-
Constructor Details
-
ClassicCoreKvOps
-
-
Method Details
-
getAsync
public CoreAsyncResponse<CoreGetResult> getAsync(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) -
getAndLockAsync
public CoreAsyncResponse<CoreGetResult> getAndLockAsync(CoreCommonOptions common, String key, Duration lockTime) - Specified by:
getAndLockAsyncin interfaceCoreKvOps
-
getAndTouchAsync
public CoreAsyncResponse<CoreGetResult> getAndTouchAsync(CoreCommonOptions common, String key, CoreExpiry expiry) - Specified by:
getAndTouchAsyncin interfaceCoreKvOps
-
insertAsync
public CoreAsyncResponse<CoreMutationResult> insertAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) - Specified by:
insertAsyncin interfaceCoreKvOps
-
upsertAsync
public CoreAsyncResponse<CoreMutationResult> upsertAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
upsertAsyncin interfaceCoreKvOps
-
replaceAsync
public CoreAsyncResponse<CoreMutationResult> replaceAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
replaceAsyncin interfaceCoreKvOps
-
removeAsync
public CoreAsyncResponse<CoreMutationResult> removeAsync(CoreCommonOptions common, String key, long cas, CoreDurability durability) - Specified by:
removeAsyncin interfaceCoreKvOps
-
existsAsync
- Specified by:
existsAsyncin interfaceCoreKvOps
-
touchAsync
public CoreAsyncResponse<CoreMutationResult> touchAsync(CoreCommonOptions common, String key, CoreExpiry expiry) - Specified by:
touchAsyncin interfaceCoreKvOps
-
unlockAsync
- Specified by:
unlockAsyncin interfaceCoreKvOps
-
subdocGetAsync
public CoreAsyncResponse<CoreSubdocGetResult> subdocGetAsync(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) - Specified by:
subdocGetAsyncin interfaceCoreKvOps
-
getAllReplicasReactive
public reactor.core.publisher.Flux<CoreGetResult> getAllReplicasReactive(CoreCommonOptions common, String key, CoreReadPreference readPreference) - Specified by:
getAllReplicasReactivein interfaceCoreKvOps
-
getAnyReplicaReactive
public reactor.core.publisher.Mono<CoreGetResult> getAnyReplicaReactive(CoreCommonOptions common, String key, CoreReadPreference readPreference) - Specified by:
getAnyReplicaReactivein interfaceCoreKvOps
-
subdocGetAllReplicasReactive
public reactor.core.publisher.Flux<CoreSubdocGetResult> subdocGetAllReplicasReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, CoreReadPreference readPreference) - Specified by:
subdocGetAllReplicasReactivein interfaceCoreKvOps
-
subdocGetAnyReplicaReactive
public reactor.core.publisher.Mono<CoreSubdocGetResult> subdocGetAnyReplicaReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, CoreReadPreference readPreference) - Specified by:
subdocGetAnyReplicaReactivein interfaceCoreKvOps
-
subdocMutateAsync
public CoreAsyncResponse<CoreSubdocMutateResult> subdocMutateAsync(CoreCommonOptions common, String key, Supplier<List<CoreSubdocMutateCommand>> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted) - Specified by:
subdocMutateAsyncin interfaceCoreKvOps
-
scanRequestReactive
public reactor.core.publisher.Flux<CoreRangeScanItem> scanRequestReactive(CoreScanType scanType, CoreScanOptions options) - Specified by:
scanRequestReactivein interfaceCoreKvOps
-