Class CoreProtoStellarKvBinaryRequests
java.lang.Object
com.couchbase.client.core.protostellar.kv.CoreProtoStellarKvBinaryRequests
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ProtostellarRequest
<com.couchbase.client.protostellar.kv.v1.AppendRequest> appendRequest
(CoreProtostellar core, String key, CoreKeyspace keyspace, CoreCommonOptions opts, byte[] content, long cas, CoreDurability durability) For creating Protostellar GRPC requests.static ProtostellarRequest
<com.couchbase.client.protostellar.kv.v1.DecrementRequest> decrementRequest
(CoreProtostellar core, String key, CoreKeyspace keyspace, CoreCommonOptions opts, CoreExpiry expiry, long delta, Optional<Long> initial, CoreDurability durability) static ProtostellarRequest
<com.couchbase.client.protostellar.kv.v1.IncrementRequest> incrementRequest
(CoreProtostellar core, String key, CoreKeyspace keyspace, CoreCommonOptions opts, CoreExpiry expiry, long delta, Optional<Long> initial, CoreDurability durability) static ProtostellarRequest
<com.couchbase.client.protostellar.kv.v1.PrependRequest> prependRequest
(CoreProtostellar core, String key, CoreKeyspace keyspace, CoreCommonOptions opts, byte[] content, long cas, CoreDurability durability)
-
Constructor Details
-
CoreProtoStellarKvBinaryRequests
public CoreProtoStellarKvBinaryRequests()
-
-
Method Details
-
appendRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.AppendRequest> appendRequest(CoreProtostellar core, String key, CoreKeyspace keyspace, CoreCommonOptions opts, byte[] content, long cas, CoreDurability durability) For creating Protostellar GRPC requests. -
prependRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.PrependRequest> prependRequest(CoreProtostellar core, String key, CoreKeyspace keyspace, CoreCommonOptions opts, byte[] content, long cas, CoreDurability durability) -
incrementRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.IncrementRequest> incrementRequest(CoreProtostellar core, String key, CoreKeyspace keyspace, CoreCommonOptions opts, CoreExpiry expiry, long delta, Optional<Long> initial, CoreDurability durability) -
decrementRequest
public static ProtostellarRequest<com.couchbase.client.protostellar.kv.v1.DecrementRequest> decrementRequest(CoreProtostellar core, String key, CoreKeyspace keyspace, CoreCommonOptions opts, CoreExpiry expiry, long delta, Optional<Long> initial, CoreDurability durability)
-