summaryrefslogtreecommitdiffstats
path: root/common/typeindex.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-04 08:25:18 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-04 08:25:18 +0200
commitd6a01b3f82d626856001356c0875aa738a0346ac (patch)
treed77a6000e9d53be7844d72697496efa093b5f8ad /common/typeindex.h
parent48ba18c92eede967afc4cf8894a3b06fd6a3c179 (diff)
downloadsink-d6a01b3f82d626856001356c0875aa738a0346ac.tar.gz
sink-d6a01b3f82d626856001356c0875aa738a0346ac.zip
Support for subqueries.
This allows us to match properties from a subquery. Unfortunately this also means that DataStoreQuery needs access to all type implementations to issue the subquery (for potentially another type).
Diffstat (limited to 'common/typeindex.h')
-rw-r--r--common/typeindex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/typeindex.h b/common/typeindex.h
index 7266f02..4972e95 100644
--- a/common/typeindex.h
+++ b/common/typeindex.h
@@ -22,6 +22,7 @@
22#include "bufferadaptor.h" 22#include "bufferadaptor.h"
23#include "storage.h" 23#include "storage.h"
24#include "query.h" 24#include "query.h"
25#include "log.h"
25#include <QByteArray> 26#include <QByteArray>
26 27
27class TypeIndex 28class TypeIndex
@@ -79,6 +80,7 @@ public:
79private: 80private:
80 QByteArray indexName(const QByteArray &property, const QByteArray &sortProperty = QByteArray()) const; 81 QByteArray indexName(const QByteArray &property, const QByteArray &sortProperty = QByteArray()) const;
81 QByteArray mType; 82 QByteArray mType;
83 SINK_DEBUG_COMPONENT(mType)
82 QByteArrayList mProperties; 84 QByteArrayList mProperties;
83 QMap<QByteArray, QByteArray> mSortedProperties; 85 QMap<QByteArray, QByteArray> mSortedProperties;
84 //<Property, ResultProperty> 86 //<Property, ResultProperty>