The Query2 component facilitates the process of search and retrieval of emf model elements in a structured format with an additional advantage that resource loading is minimized during execution.
Query2 uses an in-built index mechanism to speed up the queries. The indexes are build before query execution and used during query execution. The indexes can be re-used by multiple query executions. For most queries, the resources are not loaded, dramatically reducing memory consumption.
Query2 supports multiple ways to specify queries.
- User can use APIs for the basic EObject based Condition objects that are used to formulate queries for EMF models.
- User can specify queries in SQL like syntax. e.g from Manuscript as a select a.pages where a.title = "Learning Query2"
Commercial Use
Modify
Distribute
Sub-License
Private Use
Use Patent Claims
Hold Liable
Use Trademarks
Distribute Original
Disclose Source
Include Copyright
Include License
Include Install Instructions
Compensate Damages
These details are provided for information only. No information here is legal advice and should not be used as such.