Module: Riak

Extended by:
Util::Translation
Defined in:
lib/riak.rb,
lib/riak/crdt.rb,
lib/riak/link.rb,
lib/riak/json.rb,
lib/riak/stamp.rb,
lib/riak/client.rb,
lib/riak/bucket.rb,
lib/riak/counter.rb,
lib/riak/version.rb,
lib/riak/robject.rb,
lib/riak/rcontent.rb,
lib/riak/crdt/set.rb,
lib/riak/crdt/map.rb,
lib/riak/multiget.rb,
lib/riak/conflict.rb,
lib/riak/walk_spec.rb,
lib/riak/crdt/base.rb,
lib/riak/map_reduce.rb,
lib/riak/serializers.rb,
lib/riak/util/escape.rb,
lib/riak/errors/base.rb,
lib/riak/client/node.rb,
lib/riak/bucket_type.rb,
lib/riak/crdt/counter.rb,
lib/riak/list_buckets.rb,
lib/riak/client/search.rb,
lib/riak/crdt/operation.rb,
lib/riak/crdt/inner_set.rb,
lib/riak/crdt/batch_map.rb,
lib/riak/crdt/inner_map.rb,
lib/riak/secondary_index.rb,
lib/riak/crdt/inner_flag.rb,
lib/riak/client/decaying.rb,
lib/riak/client/yokozuna.rb,
lib/riak/map_reduce_error.rb,
lib/riak/util/translation.rb,
lib/riak/map_reduce/phase.rb,
lib/riak/index_collection.rb,
lib/riak/errors/crdt_error.rb,
lib/riak/crdt/inner_counter.rb,
lib/riak/map_reduce/results.rb,
lib/riak/crdt/batch_counter.rb,
lib/riak/crdt/inner_register.rb,
lib/riak/bucket_typed/bucket.rb,
lib/riak/crdt/typed_collection.rb,
lib/riak/errors/failed_request.rb,
lib/riak/client/beefcake/socket.rb,
lib/riak/errors/connection_error.rb,
lib/riak/errors/protobuffs_error.rb,
lib/riak/errors/backend_creation.rb,
lib/riak/client/beefcake/messages.rb,
lib/riak/client/beefcake/protocol.rb,
lib/riak/client/feature_detection.rb,
lib/riak/client/protobuffs_backend.rb,
lib/riak/map_reduce/filter_builder.rb,
lib/riak/client/beefcake/crdt_loader.rb,
lib/riak/client/beefcake/message_codes.rb,
lib/riak/client/beefcake/crdt_operator.rb,
lib/riak/client/beefcake/object_methods.rb,
lib/riak/client/beefcake/message_overlay.rb,
lib/riak/client/beefcake_protobuffs_backend.rb

Overview

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

Defined Under Namespace

Modules: BucketTyped, Crdt, JSON, Serializers, Util Classes: BackendCreationError, BackwardsClockError, Bucket, BucketType, Client, Conflict, ConnectionError, Counter, CrdtError, Error, FailedRequest, IndexCollection, Link, ListBuckets, MapReduce, MapReduceError, Multiget, ProtobuffsError, ProtobuffsErrorResponse, ProtobuffsFailedHeader, ProtobuffsFailedRequest, ProtobuffsUnexpectedResponse, RContent, RObject, SecondaryIndex, Stamp, TlsError, UserConfigurationError, WalkSpec

Constant Summary

VERSION =
"2.1.0"

Class Attribute Summary collapse

Method Summary

Methods included from Util::Translation

i18n_scope, t

Class Attribute Details

.disable_list_keys_warningsObject

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



20
21
22
# File 'lib/riak.rb', line 20

def disable_list_keys_warnings
  @disable_list_keys_warnings
end

.escaperObject

See Also:

  • #escaper=


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

def escaper
  @escaper
end

.json_optionsObject

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

.url_decodingtrue, false

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