Class ProtostellarCoreKvOps
java.lang.Object
com.couchbase.client.core.protostellar.kv.ProtostellarCoreKvOps
- All Implemented Interfaces:
CoreKvOps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexistsAsync
(CoreCommonOptions common, String key) existsBlocking
(CoreCommonOptions common, String key) existsReactive
(CoreCommonOptions common, String key) getAllReplicasReactive
(CoreCommonOptions common, String key) getAndLockAsync
(CoreCommonOptions common, String key, Duration lockTime) getAndTouchAsync
(CoreCommonOptions common, String key, CoreExpiry expiry) getAnyReplicaReactive
(CoreCommonOptions common, String key) getAsync
(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) getBlocking
(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) getReactive
(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) insertAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) insertBlocking
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) insertReactive
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) removeAsync
(CoreCommonOptions common, String key, long cas, CoreDurability durability) removeBlocking
(CoreCommonOptions common, String key, long cas, CoreDurability durability) 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) replaceBlocking
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) replaceReactive
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) scanRequestAsync
(CoreScanType scanType, CoreScanOptions options) scanRequestBlocking
(CoreScanType scanType, CoreScanOptions options) 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) subdocGetBlocking
(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) 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) subdocMutateBlocking
(CoreCommonOptions common, String key, Supplier<List<CoreSubdocMutateCommand>> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted) 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) unlockAsync
(CoreCommonOptions common, String key, long cas) upsertAsync
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) upsertBlocking
(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) upsertReactive
(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, wait
Methods inherited from interface com.couchbase.client.core.api.kv.CoreKvOps
checkProjectionLimits, getAndLockBlocking, getAndLockReactive, getAndTouchBlocking, getAndTouchReactive, touchBlocking, touchReactive, unlockBlocking, unlockReactive
-
Constructor Details
-
ProtostellarCoreKvOps
-
-
Method Details
-
getBlocking
public CoreGetResult getBlocking(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) - Specified by:
getBlocking
in interfaceCoreKvOps
-
getAsync
public CoreAsyncResponse<CoreGetResult> getAsync(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) -
getReactive
public Mono<CoreGetResult> getReactive(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) - Specified by:
getReactive
in interfaceCoreKvOps
-
getAndLockAsync
public CoreAsyncResponse<CoreGetResult> getAndLockAsync(CoreCommonOptions common, String key, Duration lockTime) - Specified by:
getAndLockAsync
in interfaceCoreKvOps
-
getAndTouchAsync
public CoreAsyncResponse<CoreGetResult> getAndTouchAsync(CoreCommonOptions common, String key, CoreExpiry expiry) - Specified by:
getAndTouchAsync
in interfaceCoreKvOps
-
insertBlocking
public CoreMutationResult insertBlocking(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) - Specified by:
insertBlocking
in interfaceCoreKvOps
-
insertAsync
public CoreAsyncResponse<CoreMutationResult> insertAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) - Specified by:
insertAsync
in interfaceCoreKvOps
-
insertReactive
public Mono<CoreMutationResult> insertReactive(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) - Specified by:
insertReactive
in interfaceCoreKvOps
-
upsertBlocking
public CoreMutationResult upsertBlocking(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
upsertBlocking
in interfaceCoreKvOps
-
upsertAsync
public CoreAsyncResponse<CoreMutationResult> upsertAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
upsertAsync
in interfaceCoreKvOps
-
upsertReactive
public Mono<CoreMutationResult> upsertReactive(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
upsertReactive
in interfaceCoreKvOps
-
replaceBlocking
public CoreMutationResult replaceBlocking(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
replaceBlocking
in interfaceCoreKvOps
-
replaceAsync
public CoreAsyncResponse<CoreMutationResult> replaceAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
replaceAsync
in interfaceCoreKvOps
-
replaceReactive
public Mono<CoreMutationResult> replaceReactive(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
replaceReactive
in interfaceCoreKvOps
-
removeBlocking
public CoreMutationResult removeBlocking(CoreCommonOptions common, String key, long cas, CoreDurability durability) - Specified by:
removeBlocking
in interfaceCoreKvOps
-
removeAsync
public CoreAsyncResponse<CoreMutationResult> removeAsync(CoreCommonOptions common, String key, long cas, CoreDurability durability) - Specified by:
removeAsync
in interfaceCoreKvOps
-
removeReactive
public Mono<CoreMutationResult> removeReactive(CoreCommonOptions common, String key, long cas, CoreDurability durability) - Specified by:
removeReactive
in interfaceCoreKvOps
-
existsBlocking
- Specified by:
existsBlocking
in interfaceCoreKvOps
-
existsAsync
- Specified by:
existsAsync
in interfaceCoreKvOps
-
existsReactive
- Specified by:
existsReactive
in interfaceCoreKvOps
-
touchAsync
public CoreAsyncResponse<CoreMutationResult> touchAsync(CoreCommonOptions common, String key, CoreExpiry expiry) - Specified by:
touchAsync
in interfaceCoreKvOps
-
unlockAsync
- Specified by:
unlockAsync
in interfaceCoreKvOps
-
subdocGetBlocking
public CoreSubdocGetResult subdocGetBlocking(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) - Specified by:
subdocGetBlocking
in interfaceCoreKvOps
-
subdocGetAsync
public CoreAsyncResponse<CoreSubdocGetResult> subdocGetAsync(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) - Specified by:
subdocGetAsync
in interfaceCoreKvOps
-
subdocGetReactive
public Mono<CoreSubdocGetResult> subdocGetReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) - Specified by:
subdocGetReactive
in interfaceCoreKvOps
-
subdocGetAllReplicasReactive
public Flux<CoreSubdocGetResult> subdocGetAllReplicasReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands) - Specified by:
subdocGetAllReplicasReactive
in interfaceCoreKvOps
-
subdocGetAnyReplicaReactive
public Mono<CoreSubdocGetResult> subdocGetAnyReplicaReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands) - Specified by:
subdocGetAnyReplicaReactive
in interfaceCoreKvOps
-
getAllReplicasReactive
- Specified by:
getAllReplicasReactive
in interfaceCoreKvOps
-
getAnyReplicaReactive
- Specified by:
getAnyReplicaReactive
in interfaceCoreKvOps
-
subdocMutateBlocking
public CoreSubdocMutateResult subdocMutateBlocking(CoreCommonOptions common, String key, Supplier<List<CoreSubdocMutateCommand>> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted) - Specified by:
subdocMutateBlocking
in 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:
subdocMutateAsync
in interfaceCoreKvOps
-
subdocMutateReactive
public 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) - Specified by:
subdocMutateReactive
in interfaceCoreKvOps
-
scanRequestReactive
- Specified by:
scanRequestReactive
in interfaceCoreKvOps
-
scanRequestAsync
public CompletableFuture<List<CoreRangeScanItem>> scanRequestAsync(CoreScanType scanType, CoreScanOptions options) - Specified by:
scanRequestAsync
in interfaceCoreKvOps
-
scanRequestBlocking
public Stream<CoreRangeScanItem> scanRequestBlocking(CoreScanType scanType, CoreScanOptions options) - Specified by:
scanRequestBlocking
in interfaceCoreKvOps
-