Skip to content

Changes

Summary

  1. SQLite: remove indices that are prefixes of others (details)
  2. Refinements to model-driven SQLite backend in preparation for time-aware version (details)
  3. ITimeAwareGraphNode: instants use long values (details)
  4. core: EOLQueryEngine is autocloseable (details)
  5. SVN history test: avoid compilation warning (details)
  6. [LARGE] Add time-aware version of SQLite backend (details)
Commit 6fae570fde226fc56a5d15698e378e1e6daf0f01 by Antonio Garcia-Dominguez
SQLite: remove indices that are prefixes of others

This follows the advice in the official SQLite docs [1]:

  Hence, a good rule of thumb is that your database schema should never contain
  two indices where one index is a prefix of the other. Drop the index with
  fewer columns. SQLite will still be able to do efficient lookups with the
  longer index.

[1]: https://www.sqlite.org/queryplanner.html#_multi_column_indices
The file was modified sqlite/org.eclipse.hawk.sqlite/src-gen/org/eclipse/hawk/sqlite/schema/NonTimeawareSchema.java
The file was modified sqlite/org.eclipse.hawk.sqlite/model/standard-schema.flexmi
Commit 7285523d290a5b2a27305d42d9a3846b6cafa376 by Antonio Garcia-Dominguez
Refinements to model-driven SQLite backend in preparation for time-aware version
The file was modified sqlite/org.eclipse.hawk.sqlite/model/queryset2javaInterface.egl
The file was modified sqlite/org.eclipse.hawk.sqlite/model/standard-queryset.flexmi
The file was modified sqlite/org.eclipse.hawk.sqlite/src/org/eclipse/hawk/sqlite/iteration/StatementGraphNodeIterable.java
The file was removedsqlite/org.eclipse.hawk.sqlite/src-gen/org/eclipse/hawk/sqlite/schema/NonTimeawareSchema.java
The file was addedsqlite/org.eclipse.hawk.sqlite/src/org/eclipse/hawk/sqlite/AbstractSQLiteDatabase.java
The file was addedsqlite/org.eclipse.hawk.sqlite/generate-code.xml
The file was modified sqlite/org.eclipse.hawk.sqlite/model/queryset.ecore
The file was modified sqlite/org.eclipse.hawk.sqlite/model/standard-schema.flexmi
The file was addedsqlite/org.eclipse.hawk.sqlite/src-gen/org/eclipse/hawk/sqlite/schema/StandardSchema.java
The file was modified sqlite/org.eclipse.hawk.sqlite/src/org/eclipse/hawk/sqlite/SQLiteNode.java
The file was removedsqlite/org.eclipse.hawk.sqlite/src-gen/org/eclipse/hawk/sqlite/queries/NonTimeawareQueries.java
The file was modified sqlite/org.eclipse.hawk.sqlite/model/queryset.emf
The file was modified sqlite/org.eclipse.hawk.sqlite/src/org/eclipse/hawk/sqlite/SQLiteEdge.java
The file was modified sqlite/org.eclipse.hawk.sqlite/src/org/eclipse/hawk/sqlite/SQLiteDatabase.java
The file was modified sqlite/org.eclipse.hawk.sqlite/model/queryset2javaClass.egl
The file was modified sqlite/org.eclipse.hawk.sqlite/src/org/eclipse/hawk/sqlite/SQLiteTransaction.java
The file was modified sqlite/org.eclipse.hawk.sqlite/model/queryset-utils.eol
The file was modified sqlite/org.eclipse.hawk.sqlite/src/org/eclipse/hawk/sqlite/SQLiteNodeIndex.java
The file was modified sqlite/org.eclipse.hawk.sqlite.tests/META-INF/MANIFEST.MF
The file was modified sqlite/org.eclipse.hawk.sqlite.tests/.gitignore
The file was addedsqlite/org.eclipse.hawk.sqlite/src-gen/org/eclipse/hawk/sqlite/queries/StandardQueries.java
Commit a1b7f22e9ceb4dccc07b395e82bd42189726fe30 by Antonio Garcia-Dominguez
ITimeAwareGraphNode: instants use long values
The file was modified core/plugins/org.eclipse.hawk.core/src/org/eclipse/hawk/core/graph/timeaware/ITimeAwareGraphNode.java
Commit 76dd4fea6a718bb17c5a7726f8811fef5fd91742 by Antonio Garcia-Dominguez
core: EOLQueryEngine is autocloseable
The file was modified core/plugins/org.eclipse.hawk.epsilon/src/org/eclipse/hawk/epsilon/emc/EOLQueryEngine.java
Commit bbae8434bb0d5583b8a5c8025d3e94e39e1f4087 by Antonio Garcia-Dominguez
SVN history test: avoid compilation warning
The file was modified core/tests/org.eclipse.hawk.timeaware.tests/src/org/eclipse/hawk/timeaware/tests/SubversionNodeHistoryTest.java
Commit bf2f350c5f31bb9db30c27642a250006651834ed by Antonio Garcia-Dominguez
[LARGE] Add time-aware version of SQLite backend
The file was modified sqlite/org.eclipse.hawk.sqlite.tests/META-INF/MANIFEST.MF
The file was modified core/tests/org.eclipse.hawk.timeaware.tests/src/org/eclipse/hawk/timeaware/tests/DerivedAttributeHistoryTest.java
The file was modified core/tests/org.eclipse.hawk.timeaware.tests/src/org/eclipse/hawk/timeaware/tests/SubversionNodeHistoryTest.java
The file was removedsqlite/org.eclipse.hawk.sqlite/schema2java.launch
The file was addedsqlite/org.eclipse.hawk.sqlite/src/org/eclipse/hawk/sqlite/timeaware/TimeAwareSQLiteNodeIndex.java
The file was modified sqlite/org.eclipse.hawk.sqlite/META-INF/MANIFEST.MF
The file was modified core/tests/org.eclipse.hawk.backend.tests/src/org/eclipse/hawk/backend/tests/GraphPopulationTest.java
The file was addedsqlite/org.eclipse.hawk.sqlite/src/org/eclipse/hawk/sqlite/timeaware/TimeAwareSQLiteNode.java
The file was addedsqlite/org.eclipse.hawk.sqlite/src/org/eclipse/hawk/sqlite/timeaware/TimeAwareSQLiteDatabase.java
The file was addedsqlite/org.eclipse.hawk.sqlite.tests/src/org/eclipse/hawk/sqlite/tests/TimeAwareSQLiteDatabaseFactory.java
The file was removedsqlite/org.eclipse.hawk.sqlite/queryset2java.launch
The file was addedsqlite/org.eclipse.hawk.sqlite/src-gen/org/eclipse/hawk/sqlite/schema/TimeAwareSchema.java
The file was modified sqlite/org.eclipse.hawk.sqlite.tests/src/org/eclipse/hawk/sqlite/tests/SQLiteIntegrationTestSuite.java
The file was modified core/tests/org.eclipse.hawk.timeaware.tests/src/org/eclipse/hawk/timeaware/tests/TimeAwareTestSuite.java
The file was addedsqlite/org.eclipse.hawk.sqlite/model/timeaware-queryset.flexmi
The file was addedsqlite/org.eclipse.hawk.sqlite/model/timeaware-schema.xmi
The file was modified sqlite/org.eclipse.hawk.sqlite/src/org/eclipse/hawk/sqlite/SQLiteNodeIndex.java
The file was modified core/plugins/org.eclipse.hawk.core/src/org/eclipse/hawk/core/graph/timeaware/ITimeAwareGraphNodeIndex.java
The file was addedsqlite/org.eclipse.hawk.sqlite/src/org/eclipse/hawk/sqlite/timeaware/TimeAwareSQLiteEdge.java
The file was addedsqlite/org.eclipse.hawk.sqlite/org.eclipse.hawk.sqlite generate-code.xml.launch
The file was addedsqlite/org.eclipse.hawk.sqlite/model/schema2timeaware.mig
The file was modified core/tests/org.eclipse.hawk.timeaware.tests/src/org/eclipse/hawk/timeaware/tests/TimeAwareBackendTest.java
The file was addedsqlite/org.eclipse.hawk.sqlite/src-gen/org/eclipse/hawk/sqlite/queries/TimeAwareQueries.java
The file was modified core/plugins/org.eclipse.hawk.epsilon/src/org/eclipse/hawk/epsilon/emc/EOLQueryEngine.java
The file was addedsqlite/org.eclipse.hawk.sqlite.tests/src/org/eclipse/hawk/sqlite/tests/SQLiteTimeAwareTestSuite.java
The file was modified greycat/org.eclipse.hawk.greycat/src/org/eclipse/hawk/greycat/lucene/GreycatLuceneIndexer.java