Modifier and Type | Method and Description |
---|---|
IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>> |
SpecificationBuilder.getOrCreateSpecification(Pattern pattern)
Creates a new or returns an existing query specification for the pattern.
|
IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>> |
SpecificationBuilder.getOrCreateSpecification(Pattern pattern,
boolean skipPatternValidation)
Creates a new or returns an existing query specification for the pattern.
|
IQuerySpecification<? extends IncQueryMatcher<? extends IPatternMatch>> |
SpecificationBuilder.getOrCreateSpecification(Pattern pattern,
java.util.List<IQuerySpecification<?>> createdPatternList,
boolean skipPatternValidation) |
GenericPatternMatcher |
GenericQuerySpecification.instantiate(IncQueryEngine engine) |
static GenericPatternMatcher |
GenericPatternMatcher.on(IncQueryEngine engine,
GenericQuerySpecification querySpecification)
Deprecated.
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
static GenericPatternMatcher |
GenericPatternMatcher.on(IncQueryEngine engine,
Pattern pattern)
Deprecated.
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
Modifier and Type | Method and Description |
---|---|
java.lang.ClassLoader |
SimpleClassLoaderProvider.getClassLoader(Pattern pattern) |
java.lang.ClassLoader |
IClassLoaderProvider.getClassLoader(Pattern pattern)
Finds the class loader usable for interpreting expressions defined inside the pattern.
|
Modifier and Type | Method and Description |
---|---|
static AdvancedIncQueryEngine |
AdvancedIncQueryEngine.createUnmanagedEngine(IncQueryScope scope)
Creates a new unmanaged IncQuery engine to evaluate queries over a given scope specified by an
IncQueryScope . |
static AdvancedIncQueryEngine |
AdvancedIncQueryEngine.createUnmanagedEngine(org.eclipse.emf.common.notify.Notifier emfScopeRoot)
Deprecated.
use
AdvancedIncQueryEngine.createUnmanagedEngine(IncQueryScope) instead to evaluate queries on both EMF and non-EMF scopes. |
static AdvancedIncQueryEngine |
AdvancedIncQueryEngine.createUnmanagedEngine(org.eclipse.emf.common.notify.Notifier emfScopeRoot,
BaseIndexOptions options)
Deprecated.
use
AdvancedIncQueryEngine.createUnmanagedEngine(IncQueryScope) instead to evaluate queries on both EMF and non-EMF scopes. |
static AdvancedIncQueryEngine |
AdvancedIncQueryEngine.createUnmanagedEngine(org.eclipse.emf.common.notify.Notifier emfScopeRoot,
boolean wildcardMode)
Deprecated.
use
AdvancedIncQueryEngine.createUnmanagedEngine(IncQueryScope) instead to evaluate queries on both EMF and non-EMF scopes. |
static AdvancedIncQueryEngine |
AdvancedIncQueryEngine.createUnmanagedEngine(org.eclipse.emf.common.notify.Notifier emfScopeRoot,
boolean wildcardMode,
boolean dynamicEMFMode)
Deprecated.
use
AdvancedIncQueryEngine.createUnmanagedEngine(IncQueryScope) instead to evaluate queries on both EMF and non-EMF scopes. |
<Match extends IPatternMatch> |
IRunOnceQueryEngine.getAllMatches(IQuerySpecification<? extends IncQueryMatcher<Match>> querySpecification)
Returns the set of all matches for the given query in the scope of the engine.
|
abstract IBaseIndex |
IncQueryEngine.getBaseIndex()
Provides access to the internal base index component of the engine, responsible for keeping track of basic
contents of the model.
|
IncQueryEngine |
IncQueryEngineManager.getIncQueryEngine(IncQueryScope scope)
Creates a managed IncQuery engine at a given scope (e.g.
|
Matcher |
IQuerySpecification.getMatcher(IncQueryEngine engine)
Initializes the pattern matcher within an existing
IncQueryEngine . |
abstract <Matcher extends IncQueryMatcher<? extends IPatternMatch>> |
IncQueryEngine.getMatcher(IQuerySpecification<Matcher> querySpecification)
Access a pattern matcher based on a
IQuerySpecification . |
abstract <Matcher extends IncQueryMatcher<? extends IPatternMatch>> |
AdvancedIncQueryEngine.getMatcher(IQuerySpecification<Matcher> querySpecification,
QueryEvaluationHint optionalEvaluationHints)
Access a pattern matcher based on a
IQuerySpecification , overriding some of the default query evaluation hints. |
Matcher |
IQuerySpecification.getMatcher(org.eclipse.emf.common.notify.Notifier emfRoot)
Deprecated.
use
IQuerySpecification.getMatcher(IncQueryEngine) instead, e.g. in conjunction with IncQueryEngine.on(Notifier) . |
abstract IncQueryMatcher<? extends IPatternMatch> |
IncQueryEngine.getMatcher(java.lang.String patternFQN)
Access a pattern matcher for the graph pattern with the given fully qualified name.
|
abstract IQueryBackend |
AdvancedIncQueryEngine.getQueryBackend(java.lang.Class<? extends IQueryBackend> backendClass)
Provides access to the selected query backend component of the IncQuery engine.
|
static IncQueryEngine |
IncQueryEngine.on(IncQueryScope scope)
Obtain a (managed)
IncQueryEngine to evaluate queries over a given scope specified by an IncQueryScope . |
static IncQueryEngine |
IncQueryEngine.on(org.eclipse.emf.common.notify.Notifier emfScopeRoot)
Deprecated.
use
IncQueryEngine.on(IncQueryScope) instead to evaluate queries on both EMF and non-EMF scopes. |
void |
IQueryGroup.prepare(IncQueryEngine engine)
Initializes matchers for the group of patterns within an
IncQueryEngine . |
void |
IQueryGroup.prepare(org.eclipse.emf.common.notify.Notifier emfRoot)
Deprecated.
use
IQueryGroup.prepare(IncQueryEngine) instead, e.g. in conjunction with IncQueryEngine.on(Notifier) |
abstract void |
AdvancedIncQueryEngine.prepareGroup(IQueryGroup queryGroup,
QueryEvaluationHint optionalEvaluationHints)
Initializes matchers for a group of patterns as one step (optionally overriding some of the default query evaluation hints).
|
Modifier and Type | Method and Description |
---|---|
<Match extends IPatternMatch> |
RunOnceQueryEngine.getAllMatches(IQuerySpecification<? extends IncQueryMatcher<Match>> querySpecification) |
Matcher |
BaseQuerySpecification.getMatcher(IncQueryEngine engine) |
Matcher |
BaseQuerySpecification.getMatcher(org.eclipse.emf.common.notify.Notifier emfRoot) |
void |
BasePatternGroup.prepare(IncQueryEngine engine) |
void |
BasePatternGroup.prepare(org.eclipse.emf.common.notify.Notifier emfRoot) |
Constructor and Description |
---|
BaseMatcher(IncQueryEngine engine,
IQuerySpecification<? extends BaseMatcher<Match>> querySpecification) |
Modifier and Type | Method and Description |
---|---|
IBaseIndex |
IEngineContext.getBaseIndex()
Returns the base index.
|
void |
IEngineContext.initializeBackends(IEngineContext.IQueryBackendInitializer initializer)
Invokes the given initializer code with a runtime context for pattern matching.
|
Modifier and Type | Method and Description |
---|---|
static NavigationHelper |
EMFScope.extractUnderlyingEMFIndex(IncQueryEngine engine)
Provides access to the underlying EMF model index (
NavigationHelper ) from an IncQuery engine instantiated on an EMFScope |
Constructor and Description |
---|
EMFScope(org.eclipse.emf.common.notify.Notifier scopeRoot)
Creates an EMF scope at the given root, with default options (recommended for most users).
|
EMFScope(org.eclipse.emf.common.notify.Notifier scopeRoot,
BaseIndexOptions options)
Creates an EMF scope at the given root, with customizable options.
|
EMFScope(java.util.Set<? extends org.eclipse.emf.common.notify.Notifier> scopeRoots,
BaseIndexOptions options)
Creates an EMF scope at the given roots, with customizable options.
|
EMFScope(java.util.Set<? extends org.eclipse.emf.ecore.resource.ResourceSet> scopeRoots)
Creates an EMF scope at the given roots, with default options (recommended for most users).
|
Modifier and Type | Method and Description |
---|---|
IBaseIndex |
IncQueryEngineImpl.getBaseIndex() |
<Matcher extends IncQueryMatcher<? extends IPatternMatch>> |
IncQueryEngineImpl.getMatcher(IQuerySpecification<Matcher> querySpecification) |
<Matcher extends IncQueryMatcher<? extends IPatternMatch>> |
IncQueryEngineImpl.getMatcher(IQuerySpecification<Matcher> querySpecification,
QueryEvaluationHint optionalEvaluationHints) |
IncQueryMatcher<? extends IPatternMatch> |
IncQueryEngineImpl.getMatcher(java.lang.String patternFQN) |
IQueryBackend |
IncQueryEngineImpl.getQueryBackend(java.lang.Class<? extends IQueryBackend> backendClass)
Provides access to the selected query backend component of the IncQuery engine.
|
IQueryResultProvider |
IncQueryEngineImpl.getResultProvider(IQuerySpecification<?> query)
Returns an internal interface towards the query backend to feed the matcher with results.
|
void |
IncQueryEngineImpl.prepareGroup(IQueryGroup queryGroup,
QueryEvaluationHint optionalEvaluationHints) |
Constructor and Description |
---|
IncQueryEngineImpl(IncQueryEngineManager manager,
IncQueryScope scope) |
Modifier and Type | Class and Description |
---|---|
class |
LocalSearchException |
Modifier and Type | Method and Description |
---|---|
LocalSearchMatcher |
LocalSearchResultProvider.newLocalSearchMatcher(java.lang.Object[] parameters) |
Modifier and Type | Method and Description |
---|---|
static void |
IncQueryUMLStandaloneSetup.doSetup()
Register the query specifications
|
Modifier and Type | Method and Description |
---|---|
static VertexOutgoingQuerySpecification |
VertexOutgoingQuerySpecification.instance() |
static VertexIncomingQuerySpecification |
VertexIncomingQuerySpecification.instance() |
static TypePackageQuerySpecification |
TypePackageQuerySpecification.instance() |
static StructuredClassifierRoleQuerySpecification |
StructuredClassifierRoleQuerySpecification.instance() |
static StructuredClassifierPartQuerySpecification |
StructuredClassifierPartQuerySpecification.instance() |
static StateIsOrthogonalQuerySpecification |
StateIsOrthogonalQuerySpecification.instance() |
static StateIsCompositeQuerySpecification |
StateIsCompositeQuerySpecification.instance() |
static RelationshipRelatedElementQuerySpecification |
RelationshipRelatedElementQuerySpecification.instance() |
static RedefinableTemplateSignatureInheritedParameterQuerySpecification |
RedefinableTemplateSignatureInheritedParameterQuerySpecification.instance() |
static RedefinableElementRedefinitionContextQuerySpecification |
RedefinableElementRedefinitionContextQuerySpecification.instance() |
static RedefinableElementRedefinedElementQuerySpecification |
RedefinableElementRedefinedElementQuerySpecification.instance() |
static ProtocolTransitionReferredQuerySpecification |
ProtocolTransitionReferredQuerySpecification.instance() |
static PropertyIsCompositeQuerySpecification |
PropertyIsCompositeQuerySpecification.instance() |
static PackageVisibleMemberQuerySpecification |
PackageVisibleMemberQuerySpecification.instance() |
static PackageOwnedTypeQuerySpecification |
PackageOwnedTypeQuerySpecification.instance() |
static PackageOwnedStereotypeQuerySpecification |
PackageOwnedStereotypeQuerySpecification.instance() |
static PackageNestingPackageQuerySpecification |
PackageNestingPackageQuerySpecification.instance() |
static PackageNestedPackageQuerySpecification |
PackageNestedPackageQuerySpecification.instance() |
static OperationReturnResultQuerySpecification |
OperationReturnResultQuerySpecification.instance() |
static OpaqueExpressionResultQuerySpecification |
OpaqueExpressionResultQuerySpecification.instance() |
static NamespaceOwnedMemberQuerySpecification |
NamespaceOwnedMemberQuerySpecification.instance() |
static NamespaceMemberQuerySpecification |
NamespaceMemberQuerySpecification.instance() |
static NamespaceImportedMemberQuerySpecification |
NamespaceImportedMemberQuerySpecification.instance() |
static NamedElementQualifiedNameQuerySpecification |
NamedElementQualifiedNameQuerySpecification.instance() |
static NamedElementNamespaceQuerySpecification |
NamedElementNamespaceQuerySpecification.instance() |
static NamedElementClientDependencyQuerySpecification |
NamedElementClientDependencyQuerySpecification.instance() |
static MessageMessageKindQuerySpecification |
MessageMessageKindQuerySpecification.instance() |
static FeatureFeaturingClassifierQuerySpecification |
FeatureFeaturingClassifierQuerySpecification.instance() |
static ExtensionMetaclassQuerySpecification |
ExtensionMetaclassQuerySpecification.instance() |
static ExtensionMetaclassEndQuerySpecification |
ExtensionMetaclassEndQuerySpecification.instance() |
static EncapsulatedClassifierOwnedPortQuerySpecification |
EncapsulatedClassifierOwnedPortQuerySpecification.instance() |
static ElementOwnerQuerySpecification |
ElementOwnerQuerySpecification.instance() |
static ElementOwnedElementQuerySpecification |
ElementOwnedElementQuerySpecification.instance() |
static DirectedRelationshipTargetQuerySpecification |
DirectedRelationshipTargetQuerySpecification.instance() |
static DirectedRelationshipSourceQuerySpecification |
DirectedRelationshipSourceQuerySpecification.instance() |
static DeploymentTargetDeployedElementQuerySpecification |
DeploymentTargetDeployedElementQuerySpecification.instance() |
static ConnectorKindQuerySpecification |
ConnectorKindQuerySpecification.instance() |
static ConnectableElementEndQuerySpecification |
ConnectableElementEndQuerySpecification.instance() |
static ClassSuperClassQuerySpecification |
ClassSuperClassQuerySpecification.instance() |
static ClassifierParentsQuerySpecification |
ClassifierParentsQuerySpecification.instance() |
static ClassifierGeneralQuerySpecification |
ClassifierGeneralQuerySpecification.instance() |
static ClassifierFeatureQuerySpecification |
ClassifierFeatureQuerySpecification.instance() |
static ClassifierAttributeQuerySpecification |
ClassifierAttributeQuerySpecification.instance() |
static ClassifierAllParentsQuerySpecification |
ClassifierAllParentsQuerySpecification.instance() |
static ClassExtensionQuerySpecification |
ClassExtensionQuerySpecification.instance() |
static BehaviorContextQuerySpecification |
BehaviorContextQuerySpecification.instance() |
static AssociationEndTypeQuerySpecification |
AssociationEndTypeQuerySpecification.instance() |
static ActivityNodeQuerySpecification |
ActivityNodeQuerySpecification.instance() |
static ActivityNodeInGroupQuerySpecification |
ActivityNodeInGroupQuerySpecification.instance() |
static ActivityNodeActivityQuerySpecification |
ActivityNodeActivityQuerySpecification.instance() |
static ActivityGroupSuperGroupQuerySpecification |
ActivityGroupSuperGroupQuerySpecification.instance() |
static ActivityGroupSubgroupQuerySpecification |
ActivityGroupSubgroupQuerySpecification.instance() |
static ActivityGroupQuerySpecification |
ActivityGroupQuerySpecification.instance() |
static ActivityGroupInActivityQuerySpecification |
ActivityGroupInActivityQuerySpecification.instance() |
static ActivityGroupContainedNodeQuerySpecification |
ActivityGroupContainedNodeQuerySpecification.instance() |
static ActivityGroupContainedEdgeQuerySpecification |
ActivityGroupContainedEdgeQuerySpecification.instance() |
static ActivityEdgeInGroupQuerySpecification |
ActivityEdgeInGroupQuerySpecification.instance() |
static ActionOutputQuerySpecification |
ActionOutputQuerySpecification.instance() |
static ActionInputQuerySpecification |
ActionInputQuerySpecification.instance() |
static ActionContextQuerySpecification |
ActionContextQuerySpecification.instance() |
Modifier and Type | Method and Description |
---|---|
static IValidationEngine |
ValidationManager.initializeValidationEngine(org.eclipse.emf.common.notify.Notifier notifier,
java.lang.String editorId)
Deprecated.
Use
ValidationInitializerUtil#initializeValidationWithRegisteredConstraintsOnNotifier instead. |
static IValidationEngine |
ValidationInitializerUtil.initializeValidationWithRegisteredConstraintsOnScope(IncQueryScope scope,
java.lang.String editorId)
Initializes a new validation engine implementing the IValidationEngine interface on the provided Notifier
instance with the constrains specified for the given editor Id.
|
Constructor and Description |
---|
IncQueryViewerDataModel(java.util.Collection<IQuerySpecification<?>> patterns,
IncQueryEngine engine)
Initializes a Viewer Data model using a set of patterns and a selected engine.
|
ViewerDataModel(IncQueryEngine engine) |
ViewerDataModel(org.eclipse.emf.ecore.resource.ResourceSet notifier) |
Modifier and Type | Method and Description |
---|---|
ChildrenQuerySpecification |
Traceability.getChildren() |
ChildrenMatcher |
Traceability.getChildren(IncQueryEngine engine) |
Param2containmentQuerySpecification |
Traceability.getParam2containment() |
Param2containmentMatcher |
Traceability.getParam2containment(IncQueryEngine engine) |
Param2edgeQuerySpecification |
Traceability.getParam2edge() |
Param2edgeMatcher |
Traceability.getParam2edge(IncQueryEngine engine) |
Param2itemQuerySpecification |
Traceability.getParam2item() |
Param2itemMatcher |
Traceability.getParam2item(IncQueryEngine engine) |
static Traceability |
Traceability.instance()
Access the pattern group.
|
static Param2containmentMatcher |
Param2containmentMatcher.on(IncQueryEngine engine)
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
static Param2itemMatcher |
Param2itemMatcher.on(IncQueryEngine engine)
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
static ChildrenMatcher |
ChildrenMatcher.on(IncQueryEngine engine)
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
static Param2edgeMatcher |
Param2edgeMatcher.on(IncQueryEngine engine)
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
static IQuerySpecification<Param2containmentMatcher> |
Param2containmentMatcher.querySpecification() |
static IQuerySpecification<Param2itemMatcher> |
Param2itemMatcher.querySpecification() |
static IQuerySpecification<ChildrenMatcher> |
ChildrenMatcher.querySpecification() |
static IQuerySpecification<Param2edgeMatcher> |
Param2edgeMatcher.querySpecification() |
Modifier and Type | Method and Description |
---|---|
static Param2itemQuerySpecification |
Param2itemQuerySpecification.instance() |
static Param2edgeQuerySpecification |
Param2edgeQuerySpecification.instance() |
static Param2containmentQuerySpecification |
Param2containmentQuerySpecification.instance() |
static ChildrenQuerySpecification |
ChildrenQuerySpecification.instance() |
Modifier and Type | Method and Description |
---|---|
void |
ViewModelManager.initialize()
Initialize the manager.
|
Modifier and Type | Method and Description |
---|---|
static void |
TraceabilityUtil.deleteTraceAndTarget(IncQueryEngine engine,
org.eclipse.emf.ecore.EObject toDelete)
Detaches the
Trace with the given id and the corresponding target instances from the base notifier of the
IncQueryEngine and returns the target instances. |
Modifier and Type | Method and Description |
---|---|
EmptyTraceQuerySpecification |
Helpers.getEmptyTrace() |
EmptyTraceMatcher |
Helpers.getEmptyTrace(IncQueryEngine engine) |
Param2targetQuerySpecification |
Helpers.getParam2target() |
Param2targetMatcher |
Helpers.getParam2target(IncQueryEngine engine) |
TraceQuerySpecification |
Helpers.getTrace() |
TraceMatcher |
Helpers.getTrace(IncQueryEngine engine) |
Trace2objectQuerySpecification |
Helpers.getTrace2object() |
Trace2objectMatcher |
Helpers.getTrace2object(IncQueryEngine engine) |
Trace2paramQuerySpecification |
Helpers.getTrace2param() |
Trace2paramMatcher |
Helpers.getTrace2param(IncQueryEngine engine) |
Trace2targetQuerySpecification |
Helpers.getTrace2target() |
Trace2targetMatcher |
Helpers.getTrace2target(IncQueryEngine engine) |
static Helpers |
Helpers.instance()
Access the pattern group.
|
static Param2targetMatcher |
Param2targetMatcher.on(IncQueryEngine engine)
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
static TraceMatcher |
TraceMatcher.on(IncQueryEngine engine)
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
static EmptyTraceMatcher |
EmptyTraceMatcher.on(IncQueryEngine engine)
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
static Trace2objectMatcher |
Trace2objectMatcher.on(IncQueryEngine engine)
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
static Trace2targetMatcher |
Trace2targetMatcher.on(IncQueryEngine engine)
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
static Trace2paramMatcher |
Trace2paramMatcher.on(IncQueryEngine engine)
Initializes the pattern matcher within an existing EMF-IncQuery engine.
|
static IQuerySpecification<Param2targetMatcher> |
Param2targetMatcher.querySpecification() |
static IQuerySpecification<TraceMatcher> |
TraceMatcher.querySpecification() |
static IQuerySpecification<EmptyTraceMatcher> |
EmptyTraceMatcher.querySpecification() |
static IQuerySpecification<Trace2objectMatcher> |
Trace2objectMatcher.querySpecification() |
static IQuerySpecification<Trace2targetMatcher> |
Trace2targetMatcher.querySpecification() |
static IQuerySpecification<Trace2paramMatcher> |
Trace2paramMatcher.querySpecification() |
Modifier and Type | Method and Description |
---|---|
static TraceQuerySpecification |
TraceQuerySpecification.instance() |
static Trace2targetQuerySpecification |
Trace2targetQuerySpecification.instance() |
static Trace2paramQuerySpecification |
Trace2paramQuerySpecification.instance() |
static Trace2objectQuerySpecification |
Trace2objectQuerySpecification.instance() |
static Param2targetQuerySpecification |
Param2targetQuerySpecification.instance() |
static EmptyTraceQuerySpecification |
EmptyTraceQuerySpecification.instance() |