Sha256: 3d2feb6255efccb5f236a1362881b97ba9ca6c0e85ae92ff3ed96a86ef2137b7

Contents?: true

Size: 675 Bytes

Versions: 5

Compression:

Stored size: 675 Bytes

Contents

require 'riak/errors/crdt_error'

%w{ operation base inner_register inner_flag counter inner_counter batch_counter map inner_map batch_map set inner_set typed_collection }.each do |f|
  require "riak/crdt/#{f}"
end

module Riak
  # Container module for Convergent Replicated Data Type
  # features.
  module Crdt

    # 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`, or `set`).
    DEFAULT_BUCKET_TYPES = {
      counter: 'counters',
      map: 'maps',
      set: 'sets',
    }
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
riak-client-2.4.1 lib/riak/crdt.rb
riak-client-2.4.0 lib/riak/crdt.rb
riak-client-2.4.0.pre1 lib/riak/crdt.rb
riak-client-2.3.2 lib/riak/crdt.rb
riak-client-2.3.1 lib/riak/crdt.rb