Class QueryConverter
java.lang.Object
fr.inria.rules.integraal.util.converter.QueryConverter
Converts FOQuery to and from Graal's ConjunctiveQuery
This is used for compatibility with Graal 1.3 version.
This is used for compatibility with Graal 1.3 version.
- Author:
- Florent Tornil
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConjunctiveQueryConverts the given FOQuery into a Graal ConjunctiveQuerystatic fr.lirmm.graphik.graal.api.core.ConjunctiveQueryConverts the given FOQuery into a Graal ConjunctiveQuerystatic FOQuery<?> reverse(ConjunctiveQuery query) Converts the given ConjunctiveQuery into a FOQuery
-
Method Details
-
convert
Converts the given FOQuery into a Graal ConjunctiveQuery- Parameters:
query- the query to convert- Returns:
- the converted query
-
convert2
Converts the given FOQuery into a Graal ConjunctiveQuery- Parameters:
query- the query to convert- Returns:
- the converted query
-
reverse
Converts the given ConjunctiveQuery into a FOQuery- Parameters:
query- the query to convert- Returns:
- the converted query
-