diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-04 15:07:35 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-04 15:07:35 +0100 |
commit | c04755a772cbc6b2cf3a80e9c3c17b718e153c55 (patch) | |
tree | 9284c7c1bcd58912d19a5d2a614b5953443556ff /common/datastorequery.h | |
parent | ba94c4300c52dd80774ed7affc2ef9b4508cb7be (diff) | |
download | sink-c04755a772cbc6b2cf3a80e9c3c17b718e153c55.tar.gz sink-c04755a772cbc6b2cf3a80e9c3c17b718e153c55.zip |
User querybase
Diffstat (limited to 'common/datastorequery.h')
-rw-r--r-- | common/datastorequery.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/datastorequery.h b/common/datastorequery.h index 5f4149e..65503a8 100644 --- a/common/datastorequery.h +++ b/common/datastorequery.h | |||
@@ -32,7 +32,7 @@ class DataStoreQuery { | |||
32 | public: | 32 | public: |
33 | typedef QSharedPointer<DataStoreQuery> Ptr; | 33 | typedef QSharedPointer<DataStoreQuery> Ptr; |
34 | 34 | ||
35 | DataStoreQuery(const Sink::Query &query, const QByteArray &type, Sink::Storage::EntityStore &store); | 35 | DataStoreQuery(const Sink::QueryBase &query, const QByteArray &type, Sink::Storage::EntityStore &store); |
36 | ResultSet execute(); | 36 | ResultSet execute(); |
37 | ResultSet update(qint64 baseRevision); | 37 | ResultSet update(qint64 baseRevision); |
38 | 38 | ||
@@ -49,9 +49,9 @@ private: | |||
49 | QVector<QByteArray> loadIncrementalResultSet(qint64 baseRevision); | 49 | QVector<QByteArray> loadIncrementalResultSet(qint64 baseRevision); |
50 | 50 | ||
51 | void setupQuery(); | 51 | void setupQuery(); |
52 | QByteArrayList executeSubquery(const Sink::Query &subquery); | 52 | QByteArrayList executeSubquery(const Sink::QueryBase &subquery); |
53 | 53 | ||
54 | Sink::Query mQuery; | 54 | Sink::QueryBase mQuery; |
55 | const QByteArray mType; | 55 | const QByteArray mType; |
56 | bool mInitialQuery; | 56 | bool mInitialQuery; |
57 | QSharedPointer<FilterBase> mCollector; | 57 | QSharedPointer<FilterBase> mCollector; |