package rpb

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

message CounterOp

riak_dt.proto:146

An operation to update a Counter, either on its own or inside a Map. The `increment` field can be positive or negative. When absent, the meaning is an increment by 1.

Used in: DtOp, MapUpdate

message DtFetchReq

riak_dt.proto:84

The equivalent of KV's "RpbGetReq", results in a DtFetchResp. The request-time options are limited to ones that are relevant to structured data-types.

message DtFetchResp

riak_dt.proto:125

The response to a "Fetch" request. If the `include_context` option is specified, an opaque "context" value will be returned along with the user-friendly data. When sending an "Update" request, the client should send this context as well, similar to how one would send a vclock for KV updates. The `type` field indicates which value type to expect. When the `value` field is missing from the message, the client should interpret it as a "not found".

enum DtFetchResp.DataType

riak_dt.proto:126

Used in: DtFetchResp

message DtOp

riak_dt.proto:207

A "union" type for update operations. The included operation depends on the datatype being updated.

Used in: DtUpdateReq

message DtUpdateReq

riak_dt.proto:219

The equivalent of KV's "RpbPutReq", results in an empty response or "DtUpdateResp" if `return_body` is specified, or the key is assigned by the server. The request-time options are limited to ones that are relevant to structured data-types.

message DtUpdateResp

riak_dt.proto:248

The equivalent of KV's "RpbPutResp", contains the assigned key if it was assigned by the server, and the resulting value and context if return_body was set.

message DtValue

riak_dt.proto:109

The value of the fetched data type. If present in the response, then empty values (sets, maps) should be treated as such.

Used in: DtFetchResp

message MapEntry

riak_dt.proto:66

An entry in a map is a pair of a field-name and value. The type defined in the field determines which value type is expected.

Used in: DtUpdateResp, DtValue

message MapField

riak_dt.proto:44

Field names in maps are composed of a binary identifier and a type. This is so that two clients can create fields with the same name but different types, and they converge independently.

Used in: MapEntry, MapOp, MapUpdate

enum MapField.MapFieldType

riak_dt.proto:49

The types that can be stored in a map are limited to counters, sets, registers, flags, and maps.

Used in: MapField

message MapOp

riak_dt.proto:193

An operation to update a Map. All operations apply to individual fields in the Map.

Used in: DtOp, MapUpdate

message MapUpdate

riak_dt.proto:165

An operation to be applied to a value stored in a Map -- the contents of an UPDATE operation. The operation field that is present depends on the type of the field to which it is applied.

Used in: MapOp

enum MapUpdate.FlagOp

riak_dt.proto:170

Flags only exist inside Maps and can only be enabled or disabled, and there are no arguments to the operations.

Used in: MapUpdate

message RpbAuthReq

riak.proto:162

Authentication request

message RpbBucketProps

riak.proto:110

Bucket properties

Used in: RpbGetBucketResp, RpbSetBucketReq, RpbSetBucketTypeReq

enum RpbBucketProps.RpbReplMode

riak.proto:143

Used by riak_repl bucket fixup

Used in: RpbBucketProps

message RpbCSBucketReq

riak_kv.proto:201

added solely for riak_cs currently for folding over a bucket and returning objects.

message RpbCSBucketResp

riak_kv.proto:214

return for CS bucket fold

message RpbCommitHook

riak.proto:104

A commit hook, which may either be a modfun or a JavaScript named function

Used in: RpbBucketProps

message RpbContent

riak_kv.proto:227

Content message included in get/put responses Holds the value and associated metadata

Used in: RpbGetResp, RpbPutReq, RpbPutResp

message RpbCounterGetReq

riak_kv.proto:265

counter value

message RpbCounterGetResp

riak_kv.proto:275

Counter value response

message RpbCounterUpdateReq

riak_kv.proto:249

Counter update request

message RpbCounterUpdateResp

riak_kv.proto:260

Counter update response? No message | error response

message RpbDelReq

riak_kv.proto:103

Delete request

message RpbErrorResp

riak.proto:36

Error response - may be generated for any Req

message RpbGetBucketReq

riak.proto:55

Get bucket properties request

message RpbGetBucketResp

riak.proto:61

Get bucket properties response

message RpbGetBucketTypeReq

riak.proto:82

Get bucket properties request

message RpbGetClientIdResp

riak_kv.proto:38

Get ClientId Request - no message defined, just send RpbGetClientIdReq message code

message RpbGetReq

riak_kv.proto:49

Get Request - retrieve bucket/key

message RpbGetResp

riak_kv.proto:66

Get Response - if the record was not found there will be no content/vclock

Used in: RpbIndexObject

message RpbGetServerInfoResp

riak.proto:42

Get server info request - no message defined, just send RpbGetServerInfoReq message code

message RpbIndexObject

riak_kv.proto:220

Used in: RpbCSBucketResp

message RpbIndexReq

riak_kv.proto:167

Secondary Index query request

enum RpbIndexReq.IndexQueryType

riak_kv.proto:168

Used in: RpbIndexReq

message RpbIndexResp

riak_kv.proto:191

Secondary Index query response

Link metadata

Used in: RpbContent

message RpbListBucketsReq

riak_kv.proto:122

List buckets request

message RpbListBucketsResp

riak_kv.proto:130

List buckets response - one or more of these packets will be sent the last one will have done set true (and may not have any buckets in it)

message RpbListKeysReq

riak_kv.proto:137

List keys in bucket request

message RpbListKeysResp

riak_kv.proto:145

List keys in bucket response - one or more of these packets will be sent the last one will have done set true (and may not have any keys in it)

message RpbMapRedReq

riak_kv.proto:152

Map/Reduce request

message RpbMapRedResp

riak_kv.proto:160

Map/Reduce response one or more of these packets will be sent the last one will have done set true (and may not have phase/data in it)

message RpbModFun

riak.proto:97

Module-Function pairs for commit hooks and other bucket properties that take functions

Used in: RpbBucketProps, RpbCommitHook

message RpbPair

riak.proto:48

Key/value pair - used for user metadata, indexes, search doc fields

Used in: RpbContent, RpbIndexResp, RpbSearchDoc

message RpbPutReq

riak_kv.proto:75

Put request - if options.return_body is set then the updated metadata/data for the key will be returned.

message RpbPutResp

riak_kv.proto:95

Put response - same as get response with optional key if one was generated

message RpbResetBucketReq

riak.proto:76

Reset bucket properties request

message RpbSearchDoc

riak_search.proto:37

Used in: RpbSearchQueryResp

message RpbSearchQueryReq

riak_search.proto:41

message RpbSearchQueryResp

riak_search.proto:54

message RpbSetBucketReq

riak.proto:66

Set bucket properties request

message RpbSetBucketTypeReq

riak.proto:87

Set bucket properties request

message RpbSetClientIdReq

riak_kv.proto:42

message RpbYokozunaIndex

riak_yokozuna.proto:37

Used in: RpbYokozunaIndexGetResp, RpbYokozunaIndexPutReq

message RpbYokozunaIndexDeleteReq

riak_yokozuna.proto:58

DELETE request - Remove an index

message RpbYokozunaIndexGetReq

riak_yokozuna.proto:44

GET request - If a name is given, return matching index, else return all

message RpbYokozunaIndexGetResp

riak_yokozuna.proto:48

message RpbYokozunaIndexPutReq

riak_yokozuna.proto:53

PUT request - Create a new index

message RpbYokozunaSchema

riak_yokozuna.proto:64

Used in: RpbYokozunaSchemaGetResp, RpbYokozunaSchemaPutReq

message RpbYokozunaSchemaGetReq

riak_yokozuna.proto:75

GET request - Return matching schema by name

message RpbYokozunaSchemaGetResp

riak_yokozuna.proto:79

message RpbYokozunaSchemaPutReq

riak_yokozuna.proto:70

PUT request - create or potentially update a new schema

message SetOp

riak_dt.proto:155

An operation to update a Set, either on its own or inside a Map. Set members are opaque binary values, you can only add or remove them from a Set.

Used in: DtOp, MapUpdate