Default package

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

message CounterOp

riak.proto:297

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.proto:235

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.proto:276

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.proto:277

Used in: DtFetchResp

message DtOp

riak.proto:358

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

Used in: DtUpdateReq

message DtUpdateReq

riak.proto:370

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.proto:399

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.proto:260

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.proto:217

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.proto:195

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.proto:200

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

Used in: MapField

message MapOp

riak.proto:344

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

Used in: DtOp, MapUpdate

message MapUpdate

riak.proto:316

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.proto:321

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

Authentication request

message RpbBucketProps

riak.proto:103

Bucket properties

Used in: RpbGetBucketResp, RpbSetBucketReq, RpbSetBucketTypeReq

enum RpbBucketProps.RpbReplMode

riak.proto:136

Used by riak_repl bucket fixup

Used in: RpbBucketProps

message RpbCSBucketReq

riak.proto:600

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

message RpbCSBucketResp

riak.proto:613

return for CS bucket fold

message RpbCommitHook

riak.proto:97

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

Used in: RpbBucketProps

message RpbContent

riak.proto:626

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

Used in: RpbGetResp, RpbPutReq, RpbPutResp

message RpbCounterGetReq

riak.proto:664

counter value

message RpbCounterGetResp

riak.proto:674

Counter value response

message RpbCounterUpdateReq

riak.proto:648

Counter update request

message RpbCounterUpdateResp

riak.proto:659

Counter update response? No message | error response

message RpbDelReq

riak.proto:502

Delete request

message RpbErrorResp

riak.proto:29

Error response - may be generated for any Req

message RpbGetBucketReq

riak.proto:48

Get bucket properties request

message RpbGetBucketResp

riak.proto:54

Get bucket properties response

message RpbGetBucketTypeReq

riak.proto:75

Get bucket properties request

message RpbGetClientIdResp

riak.proto:437

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

message RpbGetReq

riak.proto:448

Get Request - retrieve bucket/key

message RpbGetResp

riak.proto:465

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

Used in: RpbIndexObject

message RpbGetServerInfoResp

riak.proto:35

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

message RpbIndexObject

riak.proto:619

Used in: RpbCSBucketResp

message RpbIndexReq

riak.proto:566

Secondary Index query request

enum RpbIndexReq.IndexQueryType

riak.proto:567

Used in: RpbIndexReq

message RpbIndexResp

riak.proto:590

Secondary Index query response

riak.proto:641

Link metadata

Used in: RpbContent

message RpbListBucketsReq

riak.proto:521

List buckets request

message RpbListBucketsResp

riak.proto:529

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.proto:536

List keys in bucket request

message RpbListKeysResp

riak.proto:544

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.proto:551

Map/Reduce request

message RpbMapRedResp

riak.proto:559

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

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

Used in: RpbBucketProps, RpbCommitHook

message RpbPair

riak.proto:41

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

Used in: RpbContent, RpbIndexResp, RpbSearchDoc

message RpbPutReq

riak.proto:474

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

message RpbPutResp

riak.proto:494

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

message RpbResetBucketReq

riak.proto:69

Reset bucket properties request

message RpbSearchDoc

riak.proto:705

Used in: RpbSearchQueryResp

message RpbSearchQueryReq

riak.proto:709

message RpbSearchQueryResp

riak.proto:722

message RpbSetBucketReq

riak.proto:59

Set bucket properties request

message RpbSetBucketTypeReq

riak.proto:80

Set bucket properties request

message RpbSetClientIdReq

riak.proto:441

message RpbYokozunaIndex

riak.proto:756

Used in: RpbYokozunaIndexGetResp, RpbYokozunaIndexPutReq

message RpbYokozunaIndexDeleteReq

riak.proto:777

DELETE request - Remove an index

message RpbYokozunaIndexGetReq

riak.proto:763

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

message RpbYokozunaIndexGetResp

riak.proto:767

message RpbYokozunaIndexPutReq

riak.proto:772

PUT request - Create a new index

message RpbYokozunaSchema

riak.proto:783

Used in: RpbYokozunaSchemaGetResp, RpbYokozunaSchemaPutReq

message RpbYokozunaSchemaGetReq

riak.proto:794

GET request - Return matching schema by name

message RpbYokozunaSchemaGetResp

riak.proto:798

message RpbYokozunaSchemaPutReq

riak.proto:789

PUT request - create or potentially update a new schema

message SetOp

riak.proto:306

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