From 71e7d3bc20837ed5915717bcfd165ab2c19ed540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Dziepak?= Date: Tue, 4 Aug 2015 13:50:50 +0200 Subject: [PATCH] partition_slice: add distinct option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Dziepak --- query-request.hh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/query-request.hh b/query-request.hh index 4df3d70c20..8ddaba11e3 100644 --- a/query-request.hh +++ b/query-request.hh @@ -29,12 +29,13 @@ bool is_wrap_around(const query::partition_range& range, const schema& s) { // Can be accessed across cores. class partition_slice { public: - enum class option { send_clustering_key, send_partition_key, send_timestamp_and_expiry, reversed }; + enum class option { send_clustering_key, send_partition_key, send_timestamp_and_expiry, reversed, distinct }; using option_set = enum_set>; + option::reversed, + option::distinct>>; public: std::vector row_ranges; std::vector static_columns; // TODO: consider using bitmap