From 87695f52d5ac627cdd710f37c275fccdf920af0b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 6 Oct 2016 17:52:52 +0200 Subject: count as a first aggregation function --- common/resultset.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'common/resultset.h') diff --git a/common/resultset.h b/common/resultset.h index 4e934fc..7b77417 100644 --- a/common/resultset.h +++ b/common/resultset.h @@ -19,6 +19,8 @@ #pragma once #include +#include +#include #include #include "metadata_generated.h" #include "entitybuffer.h" @@ -31,7 +33,13 @@ class ResultSet { public: - typedef std::function Callback; + struct Result { + QByteArray uid; + Sink::EntityBuffer buffer; + Sink::Operation operation; + QMap aggregateValues; + }; + typedef std::function Callback; typedef std::function ValueGenerator; typedef std::function IdGenerator; typedef std::function SkipValue; -- cgit v1.2.3