Class ProtostellarCoreKvOps
- java.lang.Object
-
- com.couchbase.client.core.protostellar.kv.ProtostellarCoreKvOps
-
-
Constructor Summary
Constructors Constructor Description ProtostellarCoreKvOps(CoreProtostellar core, CoreKeyspace keyspace)
-
Method Summary
-
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, subdocGetBlocking, subdocGetReactive, touchBlocking, touchReactive, unlockBlocking, unlockReactive
-
-
-
-
Constructor Detail
-
ProtostellarCoreKvOps
public ProtostellarCoreKvOps(CoreProtostellar core, CoreKeyspace keyspace)
-
-
Method Detail
-
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 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 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 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 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 Mono<CoreMutationResult> removeReactive(CoreCommonOptions common, String key, long cas, CoreDurability durability)
- Specified by:
removeReactivein interfaceCoreKvOps
-
existsBlocking
public CoreExistsResult existsBlocking(CoreCommonOptions common, String key)
- Specified by:
existsBlockingin interfaceCoreKvOps
-
existsAsync
public CoreAsyncResponse<CoreExistsResult> existsAsync(CoreCommonOptions common, String key)
- Specified by:
existsAsyncin interfaceCoreKvOps
-
existsReactive
public 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
public CoreAsyncResponse<Void> unlockAsync(CoreCommonOptions common, String key, long cas)
- Specified by:
unlockAsyncin interfaceCoreKvOps
-
subdocGetAsync
public CoreAsyncResponse<CoreSubdocGetResult> subdocGetAsync(CoreCommonOptions common, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted)
- Specified by:
subdocGetAsyncin interfaceCoreKvOps
-
getAllReplicasReactive
public Flux<CoreGetResult> getAllReplicasReactive(CoreCommonOptions common, String key)
- Specified by:
getAllReplicasReactivein interfaceCoreKvOps
-
getAnyReplicaReactive
public Mono<CoreGetResult> getAnyReplicaReactive(CoreCommonOptions common, String key)
- 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 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 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
-
-