| Package | Description |
|---|---|
| com.couchbase.client.core.api.kv | |
| com.couchbase.client.core.classic | |
| com.couchbase.client.core.classic.kv | |
| com.couchbase.client.core.protostellar.kv |
| Modifier and Type | Field and Description |
|---|---|
static CoreExpiry |
CoreExpiry.NONE
A "null object" that represents the absence of an expiry.
|
| Modifier and Type | Method and Description |
|---|---|
static CoreExpiry |
CoreExpiry.of(Duration duration)
Returns
NONE if the duration is zero, otherwise a relative CoreExpiry with this duration. |
static CoreExpiry |
CoreExpiry.of(Instant instant)
Returns
NONE if the instant's epoch second is zero, otherwise an absolute CoreExpiry with this instant. |
| Modifier and Type | Method and Description |
|---|---|
static long |
ClassicExpiryHelper.encode(CoreExpiry expiry) |
static long |
ClassicExpiryHelper.encode(CoreExpiry expiry,
Supplier<Long> millisClock) |
| Modifier and Type | Method and Description |
|---|---|
CoreAsyncResponse<CoreCounterResult> |
ClassicCoreKvBinaryOps.decrementAsync(String id,
CoreCommonOptions options,
CoreExpiry expiry,
long delta,
Optional<Long> initial,
CoreDurability durability)
Decrements the counter document by one or the number defined in the options.
|
CoreAsyncResponse<CoreGetResult> |
ClassicCoreKvOps.getAndTouchAsync(CoreCommonOptions common,
String key,
CoreExpiry expiry) |
CoreAsyncResponse<CoreCounterResult> |
ClassicCoreKvBinaryOps.incrementAsync(String id,
CoreCommonOptions options,
CoreExpiry expiry,
long delta,
Optional<Long> initial,
CoreDurability durability)
Increments the counter document by one or the number defined in the options.
|
CoreAsyncResponse<CoreMutationResult> |
ClassicCoreKvOps.insertAsync(CoreCommonOptions common,
String key,
Supplier<CoreEncodedContent> content,
CoreDurability durability,
CoreExpiry expiry) |
CoreAsyncResponse<CoreMutationResult> |
ClassicCoreKvOps.replaceAsync(CoreCommonOptions common,
String key,
Supplier<CoreEncodedContent> content,
long cas,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry) |
CoreAsyncResponse<CoreSubdocMutateResult> |
ClassicCoreKvOps.subdocMutateAsync(CoreCommonOptions common,
String key,
Supplier<List<CoreSubdocMutateCommand>> commands,
CoreStoreSemantics storeSemantics,
long cas,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry,
boolean accessDeleted,
boolean createAsDeleted) |
CoreAsyncResponse<CoreMutationResult> |
ClassicCoreKvOps.touchAsync(CoreCommonOptions common,
String key,
CoreExpiry expiry) |
CoreAsyncResponse<CoreMutationResult> |
ClassicCoreKvOps.upsertAsync(CoreCommonOptions common,
String key,
Supplier<CoreEncodedContent> content,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry) |
| Modifier and Type | Method and Description |
|---|---|
CoreAsyncResponse<CoreCounterResult> |
ProtostellarCoreKvBinaryOps.decrementAsync(String id,
CoreCommonOptions options,
CoreExpiry expiry,
long delta,
Optional<Long> initial,
CoreDurability durability) |
CoreCounterResult |
ProtostellarCoreKvBinaryOps.decrementBlocking(String id,
CoreCommonOptions options,
CoreExpiry expiry,
long delta,
Optional<Long> initial,
CoreDurability durability) |
Mono<CoreCounterResult> |
ProtostellarCoreKvBinaryOps.decrementReactive(String id,
CoreCommonOptions options,
CoreExpiry expiry,
long delta,
Optional<Long> initial,
CoreDurability durability) |
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.DecrementRequest> |
CoreProtoStellarKvBinaryRequests.decrementRequest(CoreProtostellar core,
String key,
CoreKeyspace keyspace,
CoreCommonOptions opts,
CoreExpiry expiry,
long delta,
Optional<Long> initial,
CoreDurability durability) |
CoreAsyncResponse<CoreGetResult> |
ProtostellarCoreKvOps.getAndTouchAsync(CoreCommonOptions common,
String key,
CoreExpiry expiry) |
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.GetAndTouchRequest> |
CoreProtostellarKeyValueRequests.getAndTouchRequest(CoreProtostellar core,
CoreCommonOptions opts,
CoreKeyspace keyspace,
String key,
CoreExpiry expiry,
CompressionConfig compressionConfig) |
CoreAsyncResponse<CoreCounterResult> |
ProtostellarCoreKvBinaryOps.incrementAsync(String id,
CoreCommonOptions options,
CoreExpiry expiry,
long delta,
Optional<Long> initial,
CoreDurability durability) |
CoreCounterResult |
ProtostellarCoreKvBinaryOps.incrementBlocking(String id,
CoreCommonOptions options,
CoreExpiry expiry,
long delta,
Optional<Long> initial,
CoreDurability durability) |
Mono<CoreCounterResult> |
ProtostellarCoreKvBinaryOps.incrementReactive(String id,
CoreCommonOptions options,
CoreExpiry expiry,
long delta,
Optional<Long> initial,
CoreDurability durability) |
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.IncrementRequest> |
CoreProtoStellarKvBinaryRequests.incrementRequest(CoreProtostellar core,
String key,
CoreKeyspace keyspace,
CoreCommonOptions opts,
CoreExpiry expiry,
long delta,
Optional<Long> initial,
CoreDurability durability) |
CoreAsyncResponse<CoreMutationResult> |
ProtostellarCoreKvOps.insertAsync(CoreCommonOptions common,
String key,
Supplier<CoreEncodedContent> content,
CoreDurability durability,
CoreExpiry expiry) |
CoreMutationResult |
ProtostellarCoreKvOps.insertBlocking(CoreCommonOptions common,
String key,
Supplier<CoreEncodedContent> content,
CoreDurability durability,
CoreExpiry expiry) |
Mono<CoreMutationResult> |
ProtostellarCoreKvOps.insertReactive(CoreCommonOptions common,
String key,
Supplier<CoreEncodedContent> content,
CoreDurability durability,
CoreExpiry expiry) |
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.InsertRequest> |
CoreProtostellarKeyValueRequests.insertRequest(CoreProtostellar core,
CoreKeyspace keyspace,
CoreCommonOptions opts,
String key,
Supplier<CoreEncodedContent> content,
CoreDurability durability,
CoreExpiry expiry,
CompressionConfig compressionConfig) |
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.MutateInRequest> |
CoreProtostellarKeyValueRequests.mutateInRequest(CoreProtostellar core,
CoreKeyspace keyspace,
CoreCommonOptions opts,
String key,
List<CoreSubdocMutateCommand> commands,
CoreStoreSemantics storeSemantics,
long cas,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry,
boolean accessDeleted,
boolean createAsDeleted) |
CoreAsyncResponse<CoreMutationResult> |
ProtostellarCoreKvOps.replaceAsync(CoreCommonOptions common,
String key,
Supplier<CoreEncodedContent> content,
long cas,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry) |
CoreMutationResult |
ProtostellarCoreKvOps.replaceBlocking(CoreCommonOptions common,
String key,
Supplier<CoreEncodedContent> content,
long cas,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry) |
Mono<CoreMutationResult> |
ProtostellarCoreKvOps.replaceReactive(CoreCommonOptions common,
String key,
Supplier<CoreEncodedContent> content,
long cas,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry) |
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.ReplaceRequest> |
CoreProtostellarKeyValueRequests.replaceRequest(CoreProtostellar core,
CoreKeyspace keyspace,
CoreCommonOptions opts,
String key,
Supplier<CoreEncodedContent> content,
long cas,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry,
CompressionConfig compressionConfig) |
CoreAsyncResponse<CoreSubdocMutateResult> |
ProtostellarCoreKvOps.subdocMutateAsync(CoreCommonOptions common,
String key,
Supplier<List<CoreSubdocMutateCommand>> commands,
CoreStoreSemantics storeSemantics,
long cas,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry,
boolean accessDeleted,
boolean createAsDeleted) |
CoreSubdocMutateResult |
ProtostellarCoreKvOps.subdocMutateBlocking(CoreCommonOptions common,
String key,
Supplier<List<CoreSubdocMutateCommand>> commands,
CoreStoreSemantics storeSemantics,
long cas,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry,
boolean accessDeleted,
boolean createAsDeleted) |
Mono<CoreSubdocMutateResult> |
ProtostellarCoreKvOps.subdocMutateReactive(CoreCommonOptions common,
String key,
Supplier<List<CoreSubdocMutateCommand>> commands,
CoreStoreSemantics storeSemantics,
long cas,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry,
boolean accessDeleted,
boolean createAsDeleted) |
CoreAsyncResponse<CoreMutationResult> |
ProtostellarCoreKvOps.touchAsync(CoreCommonOptions common,
String key,
CoreExpiry expiry) |
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.TouchRequest> |
CoreProtostellarKeyValueRequests.touchRequest(CoreProtostellar core,
CoreKeyspace keyspace,
CoreCommonOptions opts,
String key,
CoreExpiry expiry) |
CoreAsyncResponse<CoreMutationResult> |
ProtostellarCoreKvOps.upsertAsync(CoreCommonOptions common,
String key,
Supplier<CoreEncodedContent> content,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry) |
CoreMutationResult |
ProtostellarCoreKvOps.upsertBlocking(CoreCommonOptions common,
String key,
Supplier<CoreEncodedContent> content,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry) |
Mono<CoreMutationResult> |
ProtostellarCoreKvOps.upsertReactive(CoreCommonOptions common,
String key,
Supplier<CoreEncodedContent> content,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry) |
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.UpsertRequest> |
CoreProtostellarKeyValueRequests.upsertRequest(CoreProtostellar core,
CoreKeyspace keyspace,
CoreCommonOptions opts,
String key,
Supplier<CoreEncodedContent> content,
CoreDurability durability,
CoreExpiry expiry,
boolean preserveExpiry,
CompressionConfig compressionConfig) |
Copyright © 2024 Couchbase, Inc.. All rights reserved.