ParallelEvaluationOptimiser Class |
Namespace: VDS.RDF.Query.Optimisation
The ParallelEvaluationOptimiser type exposes the following members.
Name | Description | |
---|---|---|
ParallelEvaluationOptimiser | Initializes a new instance of the ParallelEvaluationOptimiser class |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsApplicable(SparqlQuery) |
Returns that the optimser is applicable to all queries.
| |
IsApplicable(SparqlUpdateCommandSet) |
Returns that the optimiser is not applicable to updates.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Optimise | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Using this feature allows you to use experimental parallel SPARQL evaluation optimisations which may improve query evaluation speed for some queries. A query must either use UNION or have joins which are disjoint in order for any parallel evaluation to take place.
Users should be aware that using this optimiser may actually increase evaluation speed in some cases e.g. where either side of a disjoint join will return empty especially when it is the left hand side that will do so.
Also note that while use of this optimiser should not cause queries to return incorrect results as it does not change the semantics of the evaluation as it only parallelises independent operators we cannot guarantee that all parallelised queries will return identical results to their non-parallelised counterparts. If you find a query that you believe is giving incorrect results when used with this optimiser please test without the optimiser enabled to check that the apparent incorrect result is not an artifact of this optimisation.