Class CoreProtostellarKeyValueRequests
- java.lang.Object
-
- com.couchbase.client.core.protostellar.kv.CoreProtostellarKeyValueRequests
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.ExistsRequest>
existsRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key)
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.GetAndLockRequest>
getAndLockRequest(CoreProtostellar core, CoreCommonOptions opts, CoreKeyspace keyspace, String key, Duration lockTime)
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.GetAndTouchRequest>
getAndTouchRequest(CoreProtostellar core, CoreCommonOptions opts, CoreKeyspace keyspace, String key, CoreExpiry expiry)
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.GetRequest>
getRequest(CoreProtostellar core, CoreCommonOptions opts, CoreKeyspace keyspace, String key, List<String> projections, boolean withExpiry)
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.InsertRequest>
insertRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry)
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.LookupInRequest>
lookupInRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted)
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.MutateInRequest>
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)
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.RemoveRequest>
removeRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, long cas, CoreDurability durability)
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.ReplaceRequest>
replaceRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry)
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.TouchRequest>
touchRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, CoreExpiry expiry)
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.UnlockRequest>
unlockRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, long cas)
static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.UpsertRequest>
upsertRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry)
-
-
-
Method Detail
-
getRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.GetRequest> getRequest(CoreProtostellar core, CoreCommonOptions opts, CoreKeyspace keyspace, String key, List<String> projections, boolean withExpiry)
-
getAndLockRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.GetAndLockRequest> getAndLockRequest(CoreProtostellar core, CoreCommonOptions opts, CoreKeyspace keyspace, String key, Duration lockTime)
-
getAndTouchRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.GetAndTouchRequest> getAndTouchRequest(CoreProtostellar core, CoreCommonOptions opts, CoreKeyspace keyspace, String key, CoreExpiry expiry)
-
insertRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.InsertRequest> insertRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry)
-
replaceRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.ReplaceRequest> replaceRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, Supplier<CoreEncodedContent> content, long cas, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry)
-
upsertRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.UpsertRequest> upsertRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, Supplier<CoreEncodedContent> content, CoreDurability durability, CoreExpiry expiry, boolean preserveExpiry)
-
removeRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.RemoveRequest> removeRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, long cas, CoreDurability durability)
-
existsRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.ExistsRequest> existsRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key)
-
touchRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.TouchRequest> touchRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, CoreExpiry expiry)
-
unlockRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.UnlockRequest> unlockRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, long cas)
-
mutateInRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.MutateInRequest> 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)
-
lookupInRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.LookupInRequest> lookupInRequest(CoreProtostellar core, CoreKeyspace keyspace, CoreCommonOptions opts, String key, List<CoreSubdocGetCommand> commands, boolean accessDeleted)
-
-