summaryrefslogtreecommitdiff
path: root/cpp/src/Freeze/IndexI.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Freeze/IndexI.h')
-rw-r--r--cpp/src/Freeze/IndexI.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/cpp/src/Freeze/IndexI.h b/cpp/src/Freeze/IndexI.h
index ca59018ac4b..b531d636e85 100644
--- a/cpp/src/Freeze/IndexI.h
+++ b/cpp/src/Freeze/IndexI.h
@@ -22,23 +22,22 @@
namespace Freeze
{
+class ObjectStore;
+
class IndexI
{
public:
- IndexI(Index&, const std::string&);
+ IndexI(Index&);
- std::vector<Ice::Identity>
- untypedFindFirst(const Freeze::Key&, Ice::Int) const;
+ std::vector<Ice::Identity> untypedFindFirst(const Key&, Ice::Int) const;
- std::vector<Ice::Identity>
- untypedFind(const Freeze::Key&) const;
+ std::vector<Ice::Identity> untypedFind(const Key&) const;
- Ice::Int
- untypedCount(const Freeze::Key&) const;
+ Ice::Int untypedCount(const Key&) const;
void
- associate(EvictorI* evictor, DbTxn* txn, bool createDb, bool populateIndex);
+ associate(ObjectStore* store, DbTxn* txn, bool createDb, bool populateIndex);
int
secondaryKeyCreate(Db*, const Dbt*, const Dbt*, Dbt*);
@@ -46,14 +45,14 @@ public:
void
close();
-
-
private:
+
+
Index& _index;
- std::string _name;
+ std::string _filename;
std::auto_ptr<Db> _db;
- EvictorI* _evictor;
+ ObjectStore* _store;
};
}