public class GenericTracedQuerySpecification extends GenericQuerySpecification<GenericPatternMatcher>
wrappedPQuery
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends QueryScope> |
getPreferredScopeClass()
The query is formulated over this kind of modeling platform.
|
GenericReferencedQuerySpecification |
getReferencedSpecification() |
java.util.Set<PParameter> |
getReferenceParameters() |
com.google.common.collect.Multimap<PParameter,PParameter> |
getReferenceSources() |
static GenericTracedQuerySpecification |
initiate(GenericReferencedQuerySpecification referenced) |
GenericPatternMatcher |
instantiate()
For backward compatibility of code generated with previous versions of viatra query, this method has a default
implementation returning null, indicating that a matcher can only be created using the old method, which ignores
the hints provided by the user.
|
protected GenericPatternMatcher |
instantiate(ViatraQueryEngine engine) |
defaultInstantiate, newEmptyMatch, newMatch
ensureInitializedInternal, ensureInitializedInternalSneaky, getAllAnnotations, getAnnotationsByName, getFirstAnnotationByName, getFullyQualifiedName, getInternalQueryRepresentation, getMatcher, getParameterNames, getParameters, getPositionOfParameter, processInitializerError
public static GenericTracedQuerySpecification initiate(GenericReferencedQuerySpecification referenced) throws QueryInitializationException
QueryInitializationException
public java.lang.Class<? extends QueryScope> getPreferredScopeClass()
IQuerySpecification
EMFScope
class is returned.protected GenericPatternMatcher instantiate(ViatraQueryEngine engine) throws ViatraQueryException
instantiate
in class BaseQuerySpecification<GenericPatternMatcher>
ViatraQueryException
public com.google.common.collect.Multimap<PParameter,PParameter> getReferenceSources()
public final java.util.Set<PParameter> getReferenceParameters()
public GenericReferencedQuerySpecification getReferencedSpecification()
public GenericPatternMatcher instantiate() throws ViatraQueryException
BaseQuerySpecification
instantiate
in interface IQuerySpecification<GenericPatternMatcher>
instantiate
in class BaseQuerySpecification<GenericPatternMatcher>
ViatraQueryException