diff options
Diffstat (limited to 'common/typeindex.h')
-rw-r--r-- | common/typeindex.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common/typeindex.h b/common/typeindex.h index 7ff2029..1f216a7 100644 --- a/common/typeindex.h +++ b/common/typeindex.h | |||
@@ -98,6 +98,7 @@ public: | |||
98 | 98 | ||
99 | private: | 99 | private: |
100 | friend class Sink::Storage::EntityStore; | 100 | friend class Sink::Storage::EntityStore; |
101 | void updateIndex(bool add, const QByteArray &identifier, const Sink::ApplicationDomain::ApplicationDomainType &entity, Sink::Storage::DataStore::Transaction &transaction); | ||
101 | QByteArray indexName(const QByteArray &property, const QByteArray &sortProperty = QByteArray()) const; | 102 | QByteArray indexName(const QByteArray &property, const QByteArray &sortProperty = QByteArray()) const; |
102 | Sink::Log::Context mLogCtx; | 103 | Sink::Log::Context mLogCtx; |
103 | QByteArray mType; | 104 | QByteArray mType; |
@@ -107,6 +108,6 @@ private: | |||
107 | QMap<QByteArray, QByteArray> mSecondaryProperties; | 108 | QMap<QByteArray, QByteArray> mSecondaryProperties; |
108 | QList<Sink::Indexer::Ptr> mCustomIndexer; | 109 | QList<Sink::Indexer::Ptr> mCustomIndexer; |
109 | Sink::Storage::DataStore::Transaction *mTransaction; | 110 | Sink::Storage::DataStore::Transaction *mTransaction; |
110 | QHash<QByteArray, std::function<void(const QByteArray &identifier, const QVariant &value, Sink::Storage::DataStore::Transaction &transaction)>> mIndexer; | 111 | QHash<QByteArray, std::function<void(bool, const QByteArray &identifier, const QVariant &value, Sink::Storage::DataStore::Transaction &transaction)>> mIndexer; |
111 | QHash<QByteArray, std::function<void(const QByteArray &identifier, const QVariant &value, const QVariant &sortValue, Sink::Storage::DataStore::Transaction &transaction)>> mSortIndexer; | 112 | QHash<QByteArray, std::function<void(bool, const QByteArray &identifier, const QVariant &value, const QVariant &sortValue, Sink::Storage::DataStore::Transaction &transaction)>> mSortIndexer; |
112 | }; | 113 | }; |