summaryrefslogtreecommitdiffstats
path: root/common/index.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/index.h')
-rw-r--r--common/index.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/index.h b/common/index.h
index f16a426..043cc90 100644
--- a/common/index.h
+++ b/common/index.h
@@ -40,6 +40,10 @@ public:
40 bool matchSubStringKeys = false); 40 bool matchSubStringKeys = false);
41 QByteArray lookup(const QByteArray &key); 41 QByteArray lookup(const QByteArray &key);
42 42
43 void rangeLookup(const QByteArray &lowerBound, const QByteArray &upperBound,
44 const std::function<void(const QByteArray &value)> &resultHandler,
45 const std::function<void(const Error &error)> &errorHandler);
46
43private: 47private:
44 Q_DISABLE_COPY(Index); 48 Q_DISABLE_COPY(Index);
45 Sink::Storage::DataStore::Transaction mTransaction; 49 Sink::Storage::DataStore::Transaction mTransaction;