data: database storage

* replaced storage by a new version that utilizes sqlite for persistence.
* added SqliteStorage to manage direct access to the database.
* added testsuit for sqlite.
* slimmed down the protected interface of the storage.
* changed tests in StorageTestSuit to avoid using protected methods of the storage.
* added functions to begin and commit a transaction to the storage.
* removed GraphFilterTestSuite.
* removed GraphFilterConductorTestSuite.
* added Node and Edge constructor that takes id as parameter
* added constructor for TokenComponentNameCached that accepts NameHierarchy as parameter
* added TokenLocation constructor that takes locationId as parameter.
* created respective construction functions in TokenLocatonLine, -File and -Collection.

fortune cookie message = Recognition will come from unexpected sources.
This commit is contained in:
malte_langkabel
2015-08-25 18:07:02 +02:00
parent d996cf384d
commit e628241b02
63 changed files with 167982 additions and 3582 deletions
+3 -12
View File
@@ -101,12 +101,6 @@ add_files(
data/access/StorageAccessProxy.cpp
data/access/StorageAccessProxy.h
data/graph/filter/GraphFilter.cpp
data/graph/filter/GraphFilter.h
data/graph/filter/GraphFilterConductor.cpp
data/graph/filter/GraphFilterConductor.h
data/graph/filter/GraphFilterImplementations.h
data/graph/token_component/TokenComponent.cpp
data/graph/token_component/TokenComponent.h
data/graph/token_component/TokenComponentAbstraction.cpp
@@ -128,16 +122,10 @@ add_files(
data/graph/Edge.cpp
data/graph/Edge.h
data/graph/FilterableGraph.cpp
data/graph/FilterableGraph.h
data/graph/Graph.cpp
data/graph/Graph.h
data/graph/Node.cpp
data/graph/Node.h
data/graph/StorageGraph.cpp
data/graph/StorageGraph.h
data/graph/SubGraph.cpp
data/graph/SubGraph.h
data/graph/Token.cpp
data/graph/Token.h
@@ -204,10 +192,13 @@ add_files(
data/type/ReferenceModifiedDataType.cpp
data/type/ReferenceModifiedDataType.h
data/SqliteStorage.cpp
data/SqliteStorage.h
data/Storage.cpp
data/Storage.h
data/StorageCache.cpp
data/StorageCache.h
data/StorageTypes.h
settings/ApplicationSettings.cpp
settings/ApplicationSettings.h