class Riak::Client::BeefcakeProtobuffsBackend::CrdtLoader::HyperLogLogLoader

Public Class Methods

for_value(resp) click to toggle source
# File lib/riak/client/beefcake/crdt/hyper_log_log_loader.rb, line 4
def self.for_value(resp)
  return nil unless resp.hll_value
  new resp.hll_value
end
new(hll_value) click to toggle source
# File lib/riak/client/beefcake/crdt/hyper_log_log_loader.rb, line 9
def initialize(hll_value)
  @value = hll_value
end

Public Instance Methods

rubyfy() click to toggle source
# File lib/riak/client/beefcake/crdt/hyper_log_log_loader.rb, line 13
def rubyfy
  @value
end