Class: Riak::Client::BeefcakeProtobuffsBackend::TimeSeriesDeleteOperator
Instance Attribute Summary
Attributes inherited from Operator
Instance Method Summary collapse
Methods inherited from Operator
Constructor Details
This class inherits a constructor from Riak::Client::BeefcakeProtobuffsBackend::Operator
Instance Method Details
#delete(table_name, key_components, options = {}) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/riak/client/beefcake/time_series_delete_operator.rb', line 10 def delete(table_name, key_components, = {}) codec = TsCellCodec.new = .merge(table: table_name, key: codec.cells_for(key_components)) request = TsDelReq.new backend.protocol do |p| p.write :TsDelReq, request p.expect :TsDelResp, TsDelResp, empty_body_acceptable: true end end |