Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "VIATRA/Query"

(add link to pure whitelist)
(EMF-IncQuery User Documentation)
Line 23: Line 23:
 
** [[EMFIncQuery/UserDocumentation/QueryLanguage|A Short Introduction to the Query Language]]
 
** [[EMFIncQuery/UserDocumentation/QueryLanguage|A Short Introduction to the Query Language]]
 
** [[ EMFIncQuery/UserDocumentation/QueryDevelopment|Getting started with Query Development]]
 
** [[ EMFIncQuery/UserDocumentation/QueryDevelopment|Getting started with Query Development]]
** [[EMFIncQuery/UserDocumentation/RETE_Visualizer|RETE Visualizer]]
+
** Advanced topics
** [[EMFIncQuery/UserDocumentation/LocalSearch_DebuggerTooling|Local Search Debugger Tooling]]
+
*** [[EMFIncQuery/UserDocumentation/RETE_Visualizer|RETE Visualizer]]
** [[EMFIncQuery/UserDocumentation/DebuggerTooling|EMF-IncQuery Debugger Tooling]] (since 0.8.0)
+
*** [[EMFIncQuery/UserDocumentation/LocalSearch_DebuggerTooling|Local Search Debugger Tooling]]
** [[EMFIncQuery/UserDocumentation/SDK/QueryHotspotTesting|Finding query evaluation hotspots]] (since 1.0.0)
+
*** [[EMFIncQuery/UserDocumentation/DebuggerTooling|EMF-IncQuery Debugger Tooling]] (since 0.8.0)
** [[EMFIncQuery/UserDocumentation/PureWhitelist|Pure whitelist]] (since 1.0.0)
+
*** [[EMFIncQuery/UserDocumentation/SDK/QueryHotspotTesting|Finding query evaluation hotspots]] (since 1.0.0)
 +
*** [[EMFIncQuery/UserDocumentation/PureWhitelist|Pure whitelist]] (since 1.0.0)
 +
*** [[EMFIncQuery/UserDocumentation/AdvancedPatterns|Advanced pattern language constructs]]
 
* Using the EMF-IncQuery Runtime library
 
* Using the EMF-IncQuery Runtime library
 
** [[EMFIncQuery/UserDocumentation/HeadlessExecution|Headless (standalone) execution of EMF-IncQuery queries and unit tests]]
 
** [[EMFIncQuery/UserDocumentation/HeadlessExecution|Headless (standalone) execution of EMF-IncQuery queries and unit tests]]
Line 34: Line 36:
 
** [[EMFIncQuery/UserDocumentation/API/RunOnce|Run once querying API documentation]]
 
** [[EMFIncQuery/UserDocumentation/API/RunOnce|Run once querying API documentation]]
 
** [[EMFIncQuery/UserDocumentation/API/BaseIndexer|IncQuery Base Indexer]]
 
** [[EMFIncQuery/UserDocumentation/API/BaseIndexer|IncQuery Base Indexer]]
** [[EMFIncQuery/UserDocumentation/AdvancedPatterns|Advanced pattern language constructs]]
 
 
* Integration Components
 
* Integration Components
 
** [[EMFIncQuery/UserDocumentation/Databinding|Databinding]]
 
** [[EMFIncQuery/UserDocumentation/Databinding|Databinding]]

Revision as of 10:17, 3 July 2015

EMF-IncQuery Wiki Documentation

For the query language, we reuse the concepts of graph patterns (which is a key concept in many graph transformation tools) as a concise and easy way to specify complex structural model queries. High runtime performance is achieved by adapting incremental graph pattern matching techniques based on the Rete algorithm.

We believe the average programmer using EMF models will like EMF-IncQuery for the following reasons:

  • declarative queries can be evaluated over EMF without manually traversing the models,
  • complex interrelated constellations of EMF objects can be easily formulated as a graph pattern,
    • the language is expressive and provides powerful features such as negation or counting,
    • graph patterns are composable and reusable,
    • queries can be evaluated with great freedom, i.e. input and output parameters can be selected at run-time,
    • some frequently encountered shortcomings of EMF’s interfaces are addressed:
    • easy and efficient enumeration of all instances of a class regardless of location,
    • simple backwards navigation along all kinds of references (even without eOpposite)
    • finding objects based on attribute value,
  • the incremental query evaluation mechanism offers a significant performance boost when frequently querying complex structural patterns with a moderate amount of modifications in-between (e.g. during continuous validation),
  • from the declarative representation of queries, pattern matcher code is generated which can be distributed as Eclipse plug-ins with very few dependencies.


EMF-IncQuery User Documentation

Contributor's Guide

Releases

Back to the top