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
24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/riak/client/beefcake/time_series_delete_operator.rb', line 24 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 |