Class ClassicCoreKvOps
- java.lang.Object
-
- com.couchbase.client.core.classic.kv.ClassicCoreKvOps
-
-
Constructor Summary
Constructors Constructor Description ClassicCoreKvOps(Core 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, 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 Detail
-
ClassicCoreKvOps
public ClassicCoreKvOps(Core core, CoreKeyspace keyspace)
-
-
Method Detail
-
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
public CoreAsyncResponse<CoreExistsResult> existsAsync(CoreCommonOptions common, String key)
- Specified by:
existsAsyncin 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
-
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 Flux<CoreRangeScanItem> scanRequestReactive(CoreScanType scanType, CoreScanOptions options)
- Specified by:
scanRequestReactivein interfaceCoreKvOps
-
-