package io.streamnative.oxia.proto

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service OxiaClient

client.proto:34

* Oxia service that allows clients to discover shard-to-server assignments and submit batches of requests. Clients should connect to a random server to discover the shard-to-server assignments and then send the actual batched requests to the appropriate shard leader. In the future, this may be handled server-side in a proxy layer to allows clients to not be concerned with sharding.

message DeleteRangeRequest

client.proto:345

* Input to a delete range request. Key ranges assume a UTF-8 byte sort order.

Used in: WriteRequest

message DeleteRangeResponse

client.proto:355

* The response for a delete range request.

Used in: WriteResponse

message DeleteRequest

client.proto:281

* A delete request. Deletes the specified key.

Used in: WriteRequest

message DeleteResponse

client.proto:293

* The response to a delete request or an item in a response to the delete range request.

Used in: WriteResponse

message GetRequest

client.proto:318

* A get request. Gets the stat and optionally the value for the specified key.

Used in: ReadRequest

message GetResponse

client.proto:330

* The response to a get request.

Used in: RangeScanResponse, ReadResponse

message Int32HashRange

client.proto:169

* Represents a range of hash values [min, max)

Used in: ShardAssignment

enum KeyComparisonType

client.proto:301

* The type of key comparison to apply in a get() request

Used in: GetRequest

message NamespaceShardsAssignment

client.proto:131

* The shards assignments for a given namespace

Used in: ShardAssignments

message Notification

client.proto:487

Used in: NotificationBatch

enum NotificationType

client.proto:466

Used in: Notification

message PutRequest

client.proto:235

* A put request. Persists the specified key and value

Used in: WriteRequest

message PutResponse

client.proto:267

* The response to a put request.

Used in: WriteResponse

message SecondaryIndex

client.proto:227

Used in: PutRequest, proto.StorageEntry

message ShardAssignment

client.proto:147

* The assignment of a shard to a server.

Used in: NamespaceShardsAssignment

message ShardAssignments

client.proto:124

* The response to a shard assignments request.

Used as request type in: replication.OxiaCoordination.PushShardAssignments

Used as response type in: OxiaClient.GetShardAssignments

enum ShardKeyRouter

client.proto:160

Used in: NamespaceShardsAssignment

enum Status

client.proto:431

* Represents all the possible status.

Used in: DeleteRangeResponse, DeleteResponse, GetResponse, PutResponse

message Version

client.proto:409

* Version contains info about the state of a record.

Used in: GetResponse, PutResponse

message WriteRequest

client.proto:182

* A batch write request. Applies the batches of requests. Requests are processed in positional order within batches and the batch types are processed in the following order: puts, deletes, delete_ranges.

Used as request type in: OxiaClient.Write, OxiaClient.WriteStream

Used as field type in: proto.WriteRequests

message WriteResponse

client.proto:198

* The response to a batch write request. Responses of each type respect the order of the original requests.

Used as response type in: OxiaClient.Write, OxiaClient.WriteStream