NAME

Data::Riak::Request - A request to Riak

VERSION

version 2.0

DESCRIPTION

This role is implemented by all available request classes in Data::Riak. Please see below for a list of all request classes and their associated result classes.

Refer to the specialised request and result classes for their respective documentation.

REQUEST CLASSES

Data::Riak::Request::GetBucketProps

Data::Riak::Result::SingleJSONValue

Data::Riak::Request::GetObject

Data::Riak::Result::SingleObject

Data::Riak::Request::LinkWalk

Data::Riak::Result::Object

Data::Riak::Request::ListBucketKeys

Data::Riak::Result::SingleJSONValue

Data::Riak::Request::ListBuckets

Data::Riak::Result::SingleJSONValue

Data::Riak::Request::MapReduce

Data::Riak::Result

Data::Riak::Request::Ping

Data::Riak::Result::SingleValue

Data::Riak::Request::RemoveObject

Data::Riak::Result::MaybeVClock

Data::Riak::Request::SetBucketProps

Data::Riak::Result

Data::Riak::Request::Status

Data::Riak::Result::SingleJSONValue

Data::Riak::Request::StoreObject

Data::Riak::Result::SingleObject

REQUIRED METHODS

as_http_request_args

In order to be able to send requests through the HTTP backend, Data::Riak::HTTP, requests need to be able to describe themselfs as HTTP::Requests.

This method is required to return constructor arguments for HTTP::Request.

ATTRIBUTES

result_class

Class describing the result of a given request. See Data::Riak::Result.

AUTHORS

  • Andrew Nelson <anelson at cpan.org>

  • Florian Ragwitz <rafl@debian.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Infinity Interactive.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.