Class ProtostellarCoreKvOps
java.lang.Object
com.couchbase.client.core.protostellar.kv.ProtostellarCoreKvOps
- All Implemented Interfaces:
CoreKvOps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexistsAsync(CoreCommonOptions common, String key) existsBlocking(CoreCommonOptions common, String key) reactor.core.publisher.Mono<CoreExistsResult> existsReactive(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) getBlocking(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) reactor.core.publisher.Mono<CoreGetResult> 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) reactor.core.publisher.Mono<CoreMutationResult> 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) reactor.core.publisher.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) replaceBlocking(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) reactor.core.publisher.Mono<CoreMutationResult> 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) 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) subdocGetBlocking(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) reactor.core.publisher.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) subdocMutateBlocking(CoreCommonOptions common, String key, Supplier<List<CoreSubdocMutateCommand>> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted) reactor.core.publisher.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) 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) reactor.core.publisher.Mono<CoreMutationResult> 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, waitMethods 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:
getBlockingin interfaceCoreKvOps
-
getAsync
public CoreAsyncResponse<CoreGetResult> getAsync(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) -
getReactive
public reactor.core.publisher.Mono<CoreGetResult> getReactive(CoreCommonOptions common, String key, List<String> projections, boolean withExpiry) - Specified by:
getReactivein interfaceCoreKvOps
-
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
-
insertBlocking
public CoreMutationResult insertBlocking(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) - Specified by:
insertBlockingin interfaceCoreKvOps
-
insertAsync
public CoreAsyncResponse<CoreMutationResult> insertAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) - Specified by:
insertAsyncin interfaceCoreKvOps
-
insertReactive
public reactor.core.publisher.Mono<CoreMutationResult> insertReactive(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry) - Specified by:
insertReactivein interfaceCoreKvOps
-
upsertBlocking
public CoreMutationResult upsertBlocking(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
upsertBlockingin interfaceCoreKvOps
-
upsertAsync
public CoreAsyncResponse<CoreMutationResult> upsertAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
upsertAsyncin interfaceCoreKvOps
-
upsertReactive
public reactor.core.publisher.Mono<CoreMutationResult> upsertReactive(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
upsertReactivein interfaceCoreKvOps
-
replaceBlocking
public CoreMutationResult replaceBlocking(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
replaceBlockingin 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
-
replaceReactive
public reactor.core.publisher.Mono<CoreMutationResult> replaceReactive(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry) - Specified by:
replaceReactivein interfaceCoreKvOps
-
removeBlocking
public CoreMutationResult removeBlocking(CoreCommonOptions common, String key, long cas, CoreDurability durability) - Specified by:
removeBlockingin interfaceCoreKvOps
-
removeAsync
public CoreAsyncResponse<CoreMutationResult> removeAsync(CoreCommonOptions common, String key, long cas, CoreDurability durability) - Specified by:
removeAsyncin interfaceCoreKvOps
-
removeReactive
public reactor.core.publisher.Mono<CoreMutationResult> removeReactive(CoreCommonOptions common, String key, long cas, CoreDurability durability) - Specified by:
removeReactivein interfaceCoreKvOps
-
existsBlocking
- Specified by:
existsBlockingin interfaceCoreKvOps
-
existsAsync
- Specified by:
existsAsyncin interfaceCoreKvOps
-
existsReactive
public reactor.core.publisher.Mono<CoreExistsResult> existsReactive(CoreCommonOptions common, String key) - Specified by:
existsReactivein interfaceCoreKvOps
-
touchAsync
public CoreAsyncResponse<CoreMutationResult> touchAsync(CoreCommonOptions common, String key, CoreExpiry expiry) - Specified by:
touchAsyncin interfaceCoreKvOps
-
unlockAsync
- Specified by:
unlockAsyncin interfaceCoreKvOps
-
subdocGetBlocking
public CoreSubdocGetResult subdocGetBlocking(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) - Specified by:
subdocGetBlockingin interfaceCoreKvOps
-
subdocGetAsync
public CoreAsyncResponse<CoreSubdocGetResult> subdocGetAsync(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) - Specified by:
subdocGetAsyncin interfaceCoreKvOps
-
subdocGetReactive
public reactor.core.publisher.Mono<CoreSubdocGetResult> subdocGetReactive(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted) - Specified by:
subdocGetReactivein 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
-
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
-
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:
subdocMutateBlockingin 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
-
subdocMutateReactive
public reactor.core.publisher.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:
subdocMutateReactivein interfaceCoreKvOps
-
scanRequestReactive
public reactor.core.publisher.Flux<CoreRangeScanItem> scanRequestReactive(CoreScanType scanType, CoreScanOptions options) - Specified by:
scanRequestReactivein interfaceCoreKvOps
-
scanRequestAsync
public CompletableFuture<List<CoreRangeScanItem>> scanRequestAsync(CoreScanType scanType, CoreScanOptions options) - Specified by:
scanRequestAsyncin interfaceCoreKvOps
-
scanRequestBlocking
public Stream<CoreRangeScanItem> scanRequestBlocking(CoreScanType scanType, CoreScanOptions options) - Specified by:
scanRequestBlockingin interfaceCoreKvOps
-