summaryrefslogtreecommitdiffstats
path: root/common/index.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-22 13:38:39 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-05-23 13:57:43 +0200
commit5fd22ce5775cc50bdf4f1fec2038bf09ef20d553 (patch)
tree9ba62a515d6b12c823a28ef21fbeb289e0055afd /common/index.h
parent4cb0d1561cf41551d4ddc418f8666388b90318b9 (diff)
downloadsink-5fd22ce5775cc50bdf4f1fec2038bf09ef20d553.tar.gz
sink-5fd22ce5775cc50bdf4f1fec2038bf09ef20d553.zip
DbLayout support for indexes
Diffstat (limited to 'common/index.h')
-rw-r--r--common/index.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/index.h b/common/index.h
index 81dc5bf..f16a426 100644
--- a/common/index.h
+++ b/common/index.h
@@ -30,6 +30,7 @@ public:
30 }; 30 };
31 31
32 Index(const QString &storageRoot, const QString &name, Sink::Storage::DataStore::AccessMode mode = Sink::Storage::DataStore::ReadOnly); 32 Index(const QString &storageRoot, const QString &name, Sink::Storage::DataStore::AccessMode mode = Sink::Storage::DataStore::ReadOnly);
33 Index(const QString &storageRoot, const Sink::Storage::DbLayout &layout, Sink::Storage::DataStore::AccessMode mode = Sink::Storage::DataStore::ReadOnly);
33 Index(const QByteArray &name, Sink::Storage::DataStore::Transaction &); 34 Index(const QByteArray &name, Sink::Storage::DataStore::Transaction &);
34 35
35 void add(const QByteArray &key, const QByteArray &value); 36 void add(const QByteArray &key, const QByteArray &value);