Sha256: 95f1395b06cbd9982c495b60f85306f45efb6e581e999da1c390779cc3884177

Contents?: true

Size: 343 Bytes

Versions: 3

Compression:

Stored size: 343 Bytes

Contents

module Riak::TimeSeries
  class Read
    attr_accessor :key
    attr_reader :client
    attr_reader :table_name

    def initialize(client, table_name)
      @client = client
      @table_name = table_name
    end

    def read!
      client.backend do |be|
        be.time_series_get_operator.get(table_name, key)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
riak-client-2.3.2 lib/riak/time_series/read.rb
riak-client-2.3.1 lib/riak/time_series/read.rb
riak-client-2.3.0 lib/riak/time_series/read.rb