diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-09-23 01:35:13 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-09-23 01:35:13 +0200 |
commit | 52ad48c8bd755a2fde249296d6017853538f478f (patch) | |
tree | d3adbee13e49d2525720069cb7d9ca6b5876dbd8 /common/domain/folder.h | |
parent | 6fc76bc690e5a2e7748936fa835338d820c7e7de (diff) | |
download | sink-52ad48c8bd755a2fde249296d6017853538f478f.tar.gz sink-52ad48c8bd755a2fde249296d6017853538f478f.zip |
A new query system
Diffstat (limited to 'common/domain/folder.h')
-rw-r--r-- | common/domain/folder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/domain/folder.h b/common/domain/folder.h index ff87006..e4631de 100644 --- a/common/domain/folder.h +++ b/common/domain/folder.h | |||
@@ -21,10 +21,10 @@ | |||
21 | #include "applicationdomaintype.h" | 21 | #include "applicationdomaintype.h" |
22 | 22 | ||
23 | #include "storage.h" | 23 | #include "storage.h" |
24 | #include "datastorequery.h" | ||
25 | 24 | ||
26 | class ResultSet; | 25 | class ResultSet; |
27 | class QByteArray; | 26 | class QByteArray; |
27 | class DataStoreQuery; | ||
28 | 28 | ||
29 | template<typename T> | 29 | template<typename T> |
30 | class ReadPropertyMapper; | 30 | class ReadPropertyMapper; |
@@ -45,7 +45,7 @@ class TypeImplementation<Sink::ApplicationDomain::Folder> { | |||
45 | public: | 45 | public: |
46 | typedef Sink::ApplicationDomain::Buffer::Folder Buffer; | 46 | typedef Sink::ApplicationDomain::Buffer::Folder Buffer; |
47 | typedef Sink::ApplicationDomain::Buffer::FolderBuilder BufferBuilder; | 47 | typedef Sink::ApplicationDomain::Buffer::FolderBuilder BufferBuilder; |
48 | static DataStoreQuery::Ptr prepareQuery(const Sink::Query &query, Sink::Storage::Transaction &transaction); | 48 | static QSharedPointer<DataStoreQuery> prepareQuery(const Sink::Query &query, Sink::Storage::Transaction &transaction); |
49 | static QSet<QByteArray> indexedProperties(); | 49 | static QSet<QByteArray> indexedProperties(); |
50 | static void index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); | 50 | static void index(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); |
51 | static void removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); | 51 | static void removeIndex(const QByteArray &identifier, const BufferAdaptor &bufferAdaptor, Sink::Storage::Transaction &transaction); |