class Riak::TimeSeries::Deletion

Delete entries from Riak Time Series.

Attributes

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

Public Class Methods

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

Public Instance Methods

delete!() click to toggle source
# File lib/riak/time_series/deletion.rb, line 17
def delete!
  client.backend do |be|
    be.time_series_delete_operator.delete(table_name,
                                          key,
                                          options)
  end
  true
end