Sha256: 86019c2d0c2229fdf14a50bd79d35520eae7a88dcf6455d61a767e2c0ed53fd7

Contents?: true

Size: 699 Bytes

Versions: 2

Compression:

Stored size: 699 Bytes

Contents

require 'riak/errors/crdt_error'

%w{ operation base inner_register inner_flag counter inner_counter batch_counter hyper_log_log 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`, `set`
    # or 'hll').
    DEFAULT_BUCKET_TYPES = {
      counter: 'counters',
      map: 'maps',
      set: 'sets',
      hll: 'hlls',
    }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
riak-client-2.6.0 lib/riak/crdt.rb
riak-client-2.5.0 lib/riak/crdt.rb