Class GenericQuerySpecification<Matcher extends GenericPatternMatcher>

java.lang.Object
tools.refinery.interpreter.api.impl.BaseQuerySpecification<Matcher>
tools.refinery.interpreter.api.GenericQuerySpecification<Matcher>
All Implemented Interfaces:
IQuerySpecification<Matcher>, PQueryHeader

public abstract class GenericQuerySpecification<Matcher extends GenericPatternMatcher> extends BaseQuerySpecification<Matcher>
This is a generic query specification for Refinery Interpreter pattern matchers, for "interpretative" query execution. Should be subclassed by query specification implementations specific to query languages.

When available, consider using the pattern-specific generated matcher API instead.

The created matcher will be of type GenericPatternMatcher. Matches of the pattern will be represented as GenericPatternMatch.

Note for overriding (if you have your own query language or ): Derived classes should use defaultInstantiate(InterpreterEngine) for implementing BaseQuerySpecification.instantiate(InterpreterEngine) if they use GenericPatternMatcher proper.

Since:
0.9
See Also: