AnyEvent-Riak

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

        optional, number

        Experimental, may change/disappear

    type
        optional, string

        Bucket type, if not set we assume the 'default' type

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

    bucket
        required, string

    key optional, string

    vclock
        optional, string

lib/AnyEvent/Riak.pm  view on Meta::CPAN

=item type

optional, string

Bucket type, if not set we assume the 'default' type

=back

=head2 put

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

=over

=item bucket

required, string

=item key

optional, string

pbc/riak.proto  view on Meta::CPAN

}

// Get Response - if the record was not found there will be no content/vclock
message RpbGetResp {
    repeated RpbContent content = 1;
    optional bytes vclock = 2;        // the opaque vector clock for the object
    optional bool unchanged = 3;
}


// Put request - if options.return_body is set then the updated metadata/data for
//               the key will be returned.
message RpbPutReq {
    required bytes bucket = 1;
    optional bytes key = 2;
    optional bytes vclock = 3;
    required RpbContent content = 4;
    optional uint32 w = 5;
    optional uint32 dw = 6;
    optional bool return_body = 7;
    optional uint32 pw = 8;



( run in 0.355 second using v1.01-cache-2.11-cpan-0a6323c29d9 )