class Riak::TimeSeries::Read

Attributes

client[R]
key[RW]
table_name[R]

Public Class Methods

new(client, table_name) click to toggle source
# File lib/riak/time_series/read.rb, line 7
def initialize(client, table_name)
  @client = client
  @table_name = table_name
end

Public Instance Methods

read!() click to toggle source
# File lib/riak/time_series/read.rb, line 12
def read!
  client.backend do |be|
    op = be.time_series_get_operator(client.convert_timestamp)
    op.get(table_name, key)
  end
end