Module: Riak::Crdt

Defined in:
lib/riak/crdt.rb,
lib/riak/crdt/map.rb,
lib/riak/crdt/set.rb,
lib/riak/crdt/base.rb,
lib/riak/crdt/counter.rb,
lib/riak/crdt/batch_map.rb,
lib/riak/crdt/inner_map.rb,
lib/riak/crdt/inner_set.rb,
lib/riak/crdt/operation.rb,
lib/riak/crdt/inner_flag.rb,
lib/riak/crdt/batch_counter.rb,
lib/riak/crdt/hyper_log_log.rb,
lib/riak/crdt/inner_counter.rb,
lib/riak/crdt/inner_register.rb,
lib/riak/crdt/typed_collection.rb

Overview

Container module for Convergent Replicated Data Type features.

Defined Under Namespace

Modules: Operation Classes: Base, BatchCounter, BatchMap, Counter, HyperLogLog, InnerCounter, InnerFlag, InnerMap, InnerRegister, InnerSet, Map, Set, TypedCollection

Constant Summary collapse

DEFAULT_BUCKET_TYPES =

These are the default bucket types for the three top-level data types. Broadly, CRDTs require allow_mult to be enabled, and the ‘datatype` property to be set to the appropriate atom (`counter`, `map`, `set` or ’hll’).

{
  counter: 'counters',
  map: 'maps',
  set: 'sets',
  hll: 'hlls',
}