mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 09:00:35 +00:00
cql3: expose Operation.execute() interface
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
|
||||
#include "core/shared_ptr.hh"
|
||||
|
||||
#include "db/api.hh"
|
||||
|
||||
#include <experimental/optional>
|
||||
|
||||
namespace cql3 {
|
||||
@@ -97,17 +99,14 @@ public:
|
||||
if (t != null)
|
||||
t.collectMarkerSpecification(boundNames);
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Execute the operation.
|
||||
*
|
||||
* @param rowKey row key for the update.
|
||||
* @param cf the column family to which to add the updates generated by this operation.
|
||||
* @param prefix the prefix that identify the CQL3 row this operation applies to.
|
||||
* @param params parameters of the update.
|
||||
*/
|
||||
public abstract void execute(ByteBuffer rowKey, ColumnFamily cf, Composite prefix, UpdateParameters params) throws InvalidRequestException;
|
||||
virtual void execute(api::mutation& m, const api::clustering_prefix& row_key, const update_parameters& params) = 0;
|
||||
|
||||
#if 0
|
||||
/**
|
||||
* A parsed raw UPDATE operation.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user