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, 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:
getAndLockAsync
in interfaceCoreKvOps
-
getAndTouchAsync
public CoreAsyncResponse<CoreGetResult> getAndTouchAsync(CoreCommonOptions common, String key, long expiration)
- Specified by:
getAndTouchAsync
in interfaceCoreKvOps
-
insertAsync
public CoreAsyncResponse<CoreMutationResult> insertAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, long expiry)
- Specified by:
insertAsync
in interfaceCoreKvOps
-
upsertAsync
public CoreAsyncResponse<CoreMutationResult> upsertAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, long expiry, boolean preserveExpiry)
- Specified by:
upsertAsync
in interfaceCoreKvOps
-
replaceAsync
public CoreAsyncResponse<CoreMutationResult> replaceAsync(CoreCommonOptions common, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, long expiry, boolean preserveExpiry)
- Specified by:
replaceAsync
in interfaceCoreKvOps
-
removeAsync
public CoreAsyncResponse<CoreMutationResult> removeAsync(CoreCommonOptions common, String key, long cas, CoreDurability durability)
- Specified by:
removeAsync
in interfaceCoreKvOps
-
existsAsync
public CoreAsyncResponse<CoreExistsResult> existsAsync(CoreCommonOptions common, String key)
- Specified by:
existsAsync
in interfaceCoreKvOps
-
touchAsync
public CoreAsyncResponse<CoreMutationResult> touchAsync(CoreCommonOptions common, String key, long expiry)
- Specified by:
touchAsync
in interfaceCoreKvOps
-
unlockAsync
public CoreAsyncResponse<Void> unlockAsync(CoreCommonOptions common, String key, long cas)
- Specified by:
unlockAsync
in interfaceCoreKvOps
-
getAllReplicasReactive
public Flux<CoreGetResult> getAllReplicasReactive(CoreCommonOptions common, String key)
- Specified by:
getAllReplicasReactive
in interfaceCoreKvOps
-
getAnyReplicaReactive
public Mono<CoreGetResult> getAnyReplicaReactive(CoreCommonOptions common, String key)
- Specified by:
getAnyReplicaReactive
in interfaceCoreKvOps
-
subdocMutateAsync
public CoreAsyncResponse<CoreSubdocMutateResult> subdocMutateAsync(CoreCommonOptions common, String key, Supplier<List<CoreSubdocMutateCommand>> commands, CoreStoreSemantics storeSemantics, long cas, CoreDurability durability, long expiry, boolean preserveExpiry, boolean accessDeleted, boolean createAsDeleted)
- Specified by:
subdocMutateAsync
in interfaceCoreKvOps
-
scanRequestReactive
public Flux<CoreRangeScanItem> scanRequestReactive(CoreScanType scanType, CoreScanOptions options)
- Specified by:
scanRequestReactive
in interfaceCoreKvOps
-
-