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

VIATRA/Query/DeveloperDocumentation/QueryEngineArchitecture

< VIATRA‎ | Query
Revision as of 13:47, 19 May 2015 by Ujhelyiz.mit.bme.hu (Talk | contribs) (Created page with "== IncQuery Engine Internals == === Overview === File:IncQueryEngine.png === Most important concepts === * '''IncQueryEngine''': the central element of the API. * '''In...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

IncQuery Engine Internals

Overview

IncQueryEngine.png

Most important concepts

  • IncQueryEngine: the central element of the API.
  • IncQueryScope: selects the model the IncQueryEngine should work on. The project itself implements only EMFScope right now.
  • RuntimeContext: wrapper class for the query backends to access the model. The access can be both indexed and non-indexed.
  • IQueryBackend: an executor of graph pattern matches; it instantiates IResultProviders. Query Backends needs to be registered to the IncQueryEngine itself.
    • RetePatternMatcher is the fully incremental implementation of the IResultProvider interface.
    • LocalSearchMatcher is a local search based implementation of the IResultProvider interface.
  • The Matcher interface is the public matcher API: generated instances are type-safe.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.