Package com.couchbase.client.core.api.kv
Interface CoreKvOps
- All Known Implementing Classes:
ClassicCoreKvOps
,ProtostellarCoreKvOps
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
checkProjectionLimits
(List<String> projections, boolean withExpiry) existsAsync
(CoreCommonOptions common, String key) default CoreExistsResult
existsBlocking
(CoreCommonOptions common, String key) default Mono<CoreExistsResult>
existsReactive
(CoreCommonOptions common, String key) getAllReplicasReactive
(CoreCommonOptions common, String key) getAndLockAsync
(CoreCommonOptions common, String key, Duration lockTime) default CoreGetResult
getAndLockBlocking
(CoreCommonOptions common, String key, Duration lockTime) default Mono<CoreGetResult>
getAndLockReactive
(CoreCommonOptions common, String key, Duration lockTime) getAndTouchAsync
(CoreCommonOptions common, String key, CoreExpiry expiry) default CoreGetResult
getAndTouchBlocking
(CoreCommonOptions common, String key, CoreExpiry expiry) default Mono<CoreGetResult>
getAndTouchReactive
(CoreCommonOptions common, String key, CoreExpiry expiry) getAnyReplicaReactive
(CoreCommonOptions common, String key) getAsync
(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) default CoreGetResult
getBlocking
(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) default Mono<CoreGetResult>
getReactive
(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) insertAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) default CoreMutationResult
insertBlocking
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) default Mono<CoreMutationResult>
insertReactive
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) removeAsync
(CoreCommonOptions common, String key, long cas, CoreDurability durability) default CoreMutationResult
removeBlocking
(CoreCommonOptions common, String key, long cas, CoreDurability durability) default Mono<CoreMutationResult>
removeReactive
(CoreCommonOptions common, String key, long cas, CoreDurability durability) replaceAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) default CoreMutationResult
replaceBlocking
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) default Mono<CoreMutationResult>
replaceReactive
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) default CompletableFuture<List<CoreRangeScanItem>>
scanRequestAsync
(CoreScanType coreScanType, CoreScanOptions coreScanOptions) default Stream<CoreRangeScanItem>
scanRequestBlocking
(CoreScanType coreScanType, CoreScanOptions coreScanOptions) scanRequestReactive
(CoreScanType scanType, CoreScanOptions options) subdocGetAllReplicasReactive
(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands) subdocGetAnyReplicaReactive
(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands) subdocGetAsync
(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) default CoreSubdocGetResult
subdocGetBlocking
(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) default Mono<CoreSubdocGetResult>
subdocGetReactive
(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) default CoreSubdocMutateResult
subdocMutateBlocking
(CoreCommonOptions common, String key, Supplier<List<CoreSubdocMutateCommand>> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted) default Mono<CoreSubdocMutateResult>
subdocMutateReactive
(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) default CoreMutationResult
touchBlocking
(CoreCommonOptions common, String key, CoreExpiry expiry) default Mono<CoreMutationResult>
touchReactive
(CoreCommonOptions common, String key, CoreExpiry expiry) unlockAsync
(CoreCommonOptions common, String key, long cas) default void
unlockBlocking
(CoreCommonOptions common, String key, long cas) unlockReactive
(CoreCommonOptions common, String key, long cas) upsertAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) default CoreMutationResult
upsertBlocking
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) default Mono<CoreMutationResult>
upsertReactive
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry)
-
Method Details
-
getAsync
CoreAsyncResponse<CoreGetResult> getAsync(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) -
getBlocking
default CoreGetResult getBlocking(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) -
getReactive
default Mono<CoreGetResult> getReactive(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) -
checkProjectionLimits
-
getAndLockAsync
CoreAsyncResponse<CoreGetResult> getAndLockAsync(CoreCommonOptions common, String key, Duration lockTime) -
getAndLockBlocking
-
getAndLockReactive
default Mono<CoreGetResult> getAndLockReactive(CoreCommonOptions common, String key, Duration lockTime) -
getAndTouchAsync
CoreAsyncResponse<CoreGetResult> getAndTouchAsync(CoreCommonOptions common, String key, CoreExpiry expiry) -
getAndTouchBlocking
-
getAndTouchReactive
default Mono<CoreGetResult> getAndTouchReactive(CoreCommonOptions common, String key, CoreExpiry expiry) -
insertAsync
CoreAsyncResponse<CoreMutationResult> insertAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) -
insertBlocking
default CoreMutationResult insertBlocking(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) -
insertReactive
default Mono<CoreMutationResult> insertReactive(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) -
upsertAsync
CoreAsyncResponse<CoreMutationResult> upsertAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) -
upsertBlocking
default CoreMutationResult upsertBlocking(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) -
upsertReactive
default Mono<CoreMutationResult> upsertReactive(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) -
replaceAsync
CoreAsyncResponse<CoreMutationResult> replaceAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) -
replaceBlocking
default CoreMutationResult replaceBlocking(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) -
replaceReactive
default Mono<CoreMutationResult> replaceReactive(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) -
removeAsync
CoreAsyncResponse<CoreMutationResult> removeAsync(CoreCommonOptions common, String key, long cas, CoreDurability durability) -
removeBlocking
default CoreMutationResult removeBlocking(CoreCommonOptions common, String key, long cas, CoreDurability durability) -
removeReactive
default Mono<CoreMutationResult> removeReactive(CoreCommonOptions common, String key, long cas, CoreDurability durability) -
existsAsync
-
existsBlocking
-
existsReactive
-
touchAsync
CoreAsyncResponse<CoreMutationResult> touchAsync(CoreCommonOptions common, String key, CoreExpiry expiry) -
touchBlocking
-
touchReactive
default Mono<CoreMutationResult> touchReactive(CoreCommonOptions common, String key, CoreExpiry expiry) -
unlockAsync
-
unlockBlocking
-
unlockReactive
-
subdocGetAsync
CoreAsyncResponse<CoreSubdocGetResult> subdocGetAsync(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) -
subdocGetBlocking
default CoreSubdocGetResult subdocGetBlocking(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) -
subdocGetReactive
default Mono<CoreSubdocGetResult> subdocGetReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) -
subdocGetAllReplicasReactive
Flux<CoreSubdocGetResult> subdocGetAllReplicasReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands) -
subdocGetAnyReplicaReactive
Mono<CoreSubdocGetResult> subdocGetAnyReplicaReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands) -
getAllReplicasReactive
-
getAnyReplicaReactive
-
subdocMutateAsync
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) -
subdocMutateBlocking
default CoreSubdocMutateResult subdocMutateBlocking(CoreCommonOptions common, String key, Supplier<List<CoreSubdocMutateCommand>> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted) -
subdocMutateReactive
default Mono<CoreSubdocMutateResult> subdocMutateReactive(CoreCommonOptions common, String key, Supplier<List<CoreSubdocMutateCommand>> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted) -
scanRequestReactive
-
scanRequestAsync
default CompletableFuture<List<CoreRangeScanItem>> scanRequestAsync(CoreScanType coreScanType, CoreScanOptions coreScanOptions) -
scanRequestBlocking
default Stream<CoreRangeScanItem> scanRequestBlocking(CoreScanType coreScanType, CoreScanOptions coreScanOptions)
-