public final class TransformationQueries
extends org.eclipse.viatra.query.runtime.api.impl.BaseGeneratedPatternGroup
Use the static instance as any org.eclipse.viatra.query.runtime.api.IPatternGroup
, to conveniently prepare
a VIATRA Query engine for matching all patterns originally defined in file TransformationQueries.vql,
in order to achieve better performance than one-by-one on-demand matcher initialization.
From package gov.nasa.jpl.mbee.mdk.queries, the group contains the definition of the following patterns:
IPatternGroup
Modifier and Type | Method and Description |
---|---|
GeneralizedTaggedBlockPairsQuerySpecification |
getGeneralizedTaggedBlockPairs() |
GeneralizedTaggedBlockPairsMatcher |
getGeneralizedTaggedBlockPairs(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) |
TaggedBlocksQuerySpecification |
getTaggedBlocks() |
TaggedBlocksMatcher |
getTaggedBlocks(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) |
UnreferredStereotypesQuerySpecification |
getUnreferredStereotypes() |
UnreferredStereotypesMatcher |
getUnreferredStereotypes(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine) |
static TransformationQueries |
instance()
Access the pattern group.
|
getSpecifications
public static TransformationQueries instance()
ViatraQueryRuntimeException
- if there was an error loading the generated code of pattern specificationspublic TaggedBlocksQuerySpecification getTaggedBlocks()
public TaggedBlocksMatcher getTaggedBlocks(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine)
public GeneralizedTaggedBlockPairsQuerySpecification getGeneralizedTaggedBlockPairs()
public GeneralizedTaggedBlockPairsMatcher getGeneralizedTaggedBlockPairs(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine)
public UnreferredStereotypesQuerySpecification getUnreferredStereotypes()
public UnreferredStereotypesMatcher getUnreferredStereotypes(org.eclipse.viatra.query.runtime.api.ViatraQueryEngine engine)