Module: Riak

Extended by:
Util::Translation
Defined in:
lib/riak.rb,
lib/riak/link.rb,
lib/riak/json.rb,
lib/riak/node.rb,
lib/riak/stamp.rb,
lib/riak/client.rb,
lib/riak/bucket.rb,
lib/riak/cluster.rb,
lib/riak/version.rb,
lib/riak/counter.rb,
lib/riak/robject.rb,
lib/riak/multiget.rb,
lib/riak/node/log.rb,
lib/riak/rcontent.rb,
lib/riak/conflict.rb,
lib/riak/walk_spec.rb,
lib/riak/map_reduce.rb,
lib/riak/util/escape.rb,
lib/riak/test_server.rb,
lib/riak/client/node.rb,
lib/riak/serializers.rb,
lib/riak/list_buckets.rb,
lib/riak/node/console.rb,
lib/riak/node/version.rb,
lib/riak/node/control.rb,
lib/riak/client/search.rb,
lib/riak/node/defaults.rb,
lib/riak/util/multipart.rb,
lib/riak/failed_request.rb,
lib/riak/client/yokozuna.rb,
lib/riak/client/decaying.rb,
lib/riak/secondary_index.rb,
lib/riak/node/generation.rb,
lib/riak/map_reduce/phase.rb,
lib/riak/map_reduce_error.rb,
lib/riak/util/translation.rb,
lib/riak/index_collection.rb,
lib/riak/map_reduce/results.rb,
lib/riak/node/configuration.rb,
lib/riak/client/http_backend.rb,
lib/riak/client/excon_backend.rb,
lib/riak/client/net_http_backend.rb,
lib/riak/client/feature_detection.rb,
lib/riak/client/beefcake/messages.rb,
lib/riak/client/protobuffs_backend.rb,
lib/riak/map_reduce/filter_builder.rb,
lib/riak/util/multipart/stream_parser.rb,
lib/riak/client/beefcake/message_codes.rb,
lib/riak/client/beefcake/object_methods.rb,
lib/riak/client/beefcake/message_overlay.rb,
lib/riak/client/http_backend/key_streamer.rb,
lib/riak/client/http_backend/configuration.rb,
lib/riak/client/beefcake_protobuffs_backend.rb,
lib/riak/client/http_backend/object_methods.rb,
lib/riak/client/http_backend/bucket_streamer.rb,
lib/riak/client/http_backend/request_headers.rb,
lib/riak/client/http_backend/transport_methods.rb,
lib/riak/client/http_backend/chunked_json_streamer.rb,
lib/riak/util/headers.rb

Overview

The Riak module contains all aspects of the client interface to Riak.

Defined Under Namespace

Modules: JSON, Serializers, Util Classes: BackwardsClockError, Bucket, Client, Cluster, Conflict, Counter, FailedRequest, HTTPFailedRequest, IndexCollection, Link, ListBuckets, MapReduce, MapReduceError, Multiget, Node, ProtobuffsFailedRequest, RContent, RObject, SecondaryIndex, Stamp, TestServer, WalkSpec

Constant Summary

VERSION =
"1.4.0"

Class Attribute Summary (collapse)

Method Summary

Methods included from Util::Translation

i18n_scope, t

Class Attribute Details

+ (Object) disable_list_keys_warnings

Only change this if you really know what you're doing. Better to err on the side of caution and assume you don't.



18
19
20
# File 'lib/riak.rb', line 18

def disable_list_keys_warnings
  @disable_list_keys_warnings
end

+ (Object) escaper

See Also:

  • #escaper=


7
8
9
# File 'lib/riak/util/escape.rb', line 7

def escaper
  @escaper
end

+ (Object) json_options

Options that will be passed to the JSON parser and encoder. Defaults to => 20



13
14
15
# File 'lib/riak/json.rb', line 13

def json_options
  @json_options
end

+ (true, false) url_decoding

In Riak 1.0+, buckets and keys are decoded internally before being stored. This increases compatibility with the Protocol Buffers transport and reduces inconsistency of link-walking vs. regular operations. If the node you are connecting to has set on, set this to true. Default is false.



30
31
32
# File 'lib/riak/util/escape.rb', line 30

def url_decoding
  @url_decoding
end