Class CoreProtostellarKeyValueResponses
java.lang.Object
com.couchbase.client.core.protostellar.kv.CoreProtostellarKeyValueResponses
For converting Protostellar GRPC KV responses.
-
Method Summary
Modifier and TypeMethodDescriptionprotected static CoreMutationResult
convertMutationResult
(CoreKeyspace keyspace, String key, long cas, com.couchbase.client.protostellar.kv.v1.MutationToken mt) static CoreExistsResult
convertResponse
(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.ExistsResponse response) static CoreGetResult
convertResponse
(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.GetAndLockResponse response) static CoreGetResult
convertResponse
(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.GetAndTouchResponse response) static CoreGetResult
convertResponse
(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.GetResponse response) static CoreMutationResult
convertResponse
(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.InsertResponse response) static CoreSubdocMutateResult
convertResponse
(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.MutateInResponse response, List<CoreSubdocMutateCommand> specs) static CoreMutationResult
convertResponse
(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.RemoveResponse response) static CoreMutationResult
convertResponse
(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.ReplaceResponse response) static CoreMutationResult
convertResponse
(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.TouchResponse response) static CoreMutationResult
convertResponse
(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.UnlockResponse response) static CoreMutationResult
convertResponse
(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.UpsertResponse response) static CoreSubdocGetResult
convertResponse
(CoreProtostellar core, ProtostellarRequest<?> request, CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.LookupInResponse response, List<CoreSubdocGetCommand> specs)
-
Method Details
-
convertResponse
public static CoreMutationResult convertResponse(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.InsertResponse response) -
convertResponse
public static CoreMutationResult convertResponse(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.RemoveResponse response) -
convertResponse
public static CoreMutationResult convertResponse(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.ReplaceResponse response) -
convertResponse
public static CoreMutationResult convertResponse(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.UpsertResponse response) -
convertResponse
public static CoreMutationResult convertResponse(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.TouchResponse response) -
convertResponse
public static CoreMutationResult convertResponse(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.UnlockResponse response) -
convertResponse
public static CoreExistsResult convertResponse(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.ExistsResponse response) -
convertMutationResult
protected static CoreMutationResult convertMutationResult(CoreKeyspace keyspace, String key, long cas, @Nullable com.couchbase.client.protostellar.kv.v1.MutationToken mt) -
convertResponse
public static CoreGetResult convertResponse(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.GetResponse response) -
convertResponse
public static CoreGetResult convertResponse(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.GetAndLockResponse response) -
convertResponse
public static CoreGetResult convertResponse(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.GetAndTouchResponse response) -
convertResponse
public static CoreSubdocMutateResult convertResponse(CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.MutateInResponse response, List<CoreSubdocMutateCommand> specs) -
convertResponse
public static CoreSubdocGetResult convertResponse(CoreProtostellar core, ProtostellarRequest<?> request, CoreKeyspace keyspace, String key, com.couchbase.client.protostellar.kv.v1.LookupInResponse response, List<CoreSubdocGetCommand> specs)
-