Class BasicQuery
java.lang.Object
fr.inria.rules.integraal.model.data.readable.query.BasicQuery
Represents a query built from a AtomicPattern.
-
Constructor Summary
ConstructorsConstructorDescriptionBasicQuery(AtomicPattern pattern, Map<Integer, Term> assignedTerms) Constructs a BasicQuery from a valid AtomicPattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the current assignment of terms by position.Returns the predicate associated with this query.getTerm(int position) Retrieves the term assigned to a given position.
-
Constructor Details
-
BasicQuery
Constructs a BasicQuery from a valid AtomicPattern.- Parameters:
pattern- The AtomicPattern that defines the query structure.assignedTerms- The terms assigned to specific positions.
-
-
Method Details
-
getPredicate
Returns the predicate associated with this query.- Returns:
- The predicate associated with this query.
-
getTerm
-
getAssignedTerms
-