Sha256: 78801a13b1298ca6bb2e57b4dceea16269ea6b7fa0106287df367a1ddbfe6c39

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 Bytes

Contents

class Riak::Client::BeefcakeProtobuffsBackend
  class CrdtLoader
    class HyperLogLogLoader
      def self.for_value(resp)
        return nil unless resp.hll_value
        new resp.hll_value
      end

      def initialize(hll_value)
        @value = hll_value
      end

      def rubyfy
        @value
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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