The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Data::Riak::Result - A result of a Riak query

VERSION

version 2.0

SYNOPSIS

  my $result = $bucket->get('key');
  $result->value;

DESCRIPTION

This class represents the result of a query to Riak.

Note that different kinds of requests can result in different kinds of results. For a listing of different request kinds and their corresponding result classes, see Data::Riak::Request. This document only describes attributes common to all result classes.

ATTRIBUTES

status_code

A code describing the result of the query that produced this result. Currently this is an HTTP status code.

content_type

The result's content type.

The result's value.

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.