Class DefaultEffectiveQuery<Q extends Query, S extends Substitution>
java.lang.Object
fr.lirmm.graphik.integraal.core.DefaultEffectiveQuery<Q,S>
- Type Parameters:
Q- query typeS- substitution type
- All Implemented Interfaces:
EffectiveQuery<Q,S>
- Direct Known Subclasses:
DefaultEffectiveConjunctiveQuery
public class DefaultEffectiveQuery<Q extends Query, S extends Substitution>
extends Object
implements EffectiveQuery<Q,S>
Default immutable pair of a query and its associated substitution.
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultEffectiveQuery(Q q, S s) Creates an effective query from a query and a substitution. -
Method Summary
-
Constructor Details
-
DefaultEffectiveQuery
-
-
Method Details
-
getSubstitution
Description copied from interface:EffectiveQueryReturns the substitution associated with the wrapped query.- Specified by:
getSubstitutionin interfaceEffectiveQuery<Q extends Query, S extends Substitution>- Returns:
- the associated substitution
-
getQuery
Description copied from interface:EffectiveQueryReturns the wrapped query.- Specified by:
getQueryin interfaceEffectiveQuery<Q extends Query, S extends Substitution>- Returns:
- the wrapped query
-
toString
-
appendTo
-