Default package

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

message CounterOp

riak_dt.proto:143

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:81

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:122

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:123

Used in: DtFetchResp

message DtOp

riak_dt.proto:204

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

Used in: DtUpdateReq

message DtUpdateReq

riak_dt.proto:216

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:245

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:106

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:63

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:41

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:46

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:190

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

Used in: DtOp, MapUpdate

message MapUpdate

riak_dt.proto:162

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:167

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:163

Authentication request

message RpbBucketKeyPreflistItem

riak_kv.proto:289

Preflist item

Used in: RpbGetBucketKeyPreflistResp

message RpbBucketProps

riak.proto:108

Bucket properties

Used in: RpbGetBucketResp, RpbSetBucketReq, RpbSetBucketTypeReq

enum RpbBucketProps.RpbReplMode

riak.proto:141

Used by riak_repl bucket fixup

Used in: RpbBucketProps

message RpbCSBucketReq

riak_kv.proto:198

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

message RpbCSBucketResp

riak_kv.proto:211

return for CS bucket fold

message RpbCommitHook

riak.proto:102

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

Used in: RpbBucketProps

message RpbContent

riak_kv.proto:224

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

Used in: RpbGetResp, RpbPutReq, RpbPutResp

message RpbCounterGetReq

riak_kv.proto:262

counter value

message RpbCounterGetResp

riak_kv.proto:272

Counter value response

message RpbCounterUpdateReq

riak_kv.proto:246

Counter update request

message RpbCounterUpdateResp

riak_kv.proto:257

Counter update response? No message | error response

message RpbDelReq

riak_kv.proto:100

Delete request

message RpbErrorResp

riak.proto:34

Error response - may be generated for any Req

message RpbGetBucketKeyPreflistReq

riak_kv.proto:277

Get bucket-key preflist request

message RpbGetBucketKeyPreflistResp

riak_kv.proto:284

Get bucket-key preflist response

message RpbGetBucketReq

riak.proto:53

Get bucket properties request

message RpbGetBucketResp

riak.proto:59

Get bucket properties response

message RpbGetBucketTypeReq

riak.proto:80

Get bucket properties request

message RpbGetClientIdReq

riakextra.proto:2

(message has no fields)

message RpbGetClientIdResp

riak_kv.proto:35

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

message RpbGetReq

riak_kv.proto:46

Get Request - retrieve bucket/key

message RpbGetResp

riak_kv.proto:63

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

Used in: RpbIndexObject

message RpbGetServerInfoReq

riakextra.proto:3

(message has no fields)

message RpbGetServerInfoResp

riak.proto:40

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

message RpbIndexObject

riak_kv.proto:217

Used in: RpbCSBucketResp

message RpbIndexReq

riak_kv.proto:164

Secondary Index query request

enum RpbIndexReq.IndexQueryType

riak_kv.proto:165

Used in: RpbIndexReq

message RpbIndexResp

riak_kv.proto:188

Secondary Index query response

Link metadata

Used in: RpbContent

message RpbListBucketsReq

riak_kv.proto:119

List buckets request

message RpbListBucketsResp

riak_kv.proto:127

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:134

List keys in bucket request

message RpbListKeysResp

riak_kv.proto:142

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:149

Map/Reduce request

message RpbMapRedResp

riak_kv.proto:157

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:95

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

Used in: RpbBucketProps, RpbCommitHook

message RpbPair

riak.proto:46

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

Used in: RpbContent, RpbIndexResp, RpbSearchDoc

message RpbPingReq

riakextra.proto:1

(message has no fields)

message RpbPutReq

riak_kv.proto:72

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

message RpbPutResp

riak_kv.proto:92

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

message RpbResetBucketReq

riak.proto:74

Reset bucket properties request

message RpbSearchDoc

riak_search.proto:34

Used in: RpbSearchQueryResp

message RpbSearchQueryReq

riak_search.proto:38

message RpbSearchQueryResp

riak_search.proto:51

message RpbSetBucketReq

riak.proto:64

Set bucket properties request

message RpbSetBucketTypeReq

riak.proto:85

Set bucket properties request

message RpbSetClientIdReq

riak_kv.proto:39

message SetOp

riak_dt.proto:152

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