Class QueryPlan

java.lang.Object
org.projog.api.QueryPlan

public class QueryPlan extends Object
Represents a plan for executing a Prolog query.

A single QueryPlan can be used to create multiple QueryStatement objects. If you are intending to execute the same query multiple times then, for performance reasons, it is recommended to use a QueryPlan rather than create multiple QueryStatement directly. When using a QueryPlan the Prolog syntax will only be parsed once and the plan for executing the query will be optimised for performance.