Click or drag to resize

GraphPatternOptimise Method (IQueryOptimiser)

Optimises the Graph Pattern using the given optimiser.

Namespace:  VDS.RDF.Query.Patterns
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public void Optimise(
	IQueryOptimiser optimiser
)

Parameters

optimiser
Type: VDS.RDF.Query.OptimisationIQueryOptimiser
Query Optimiser.
Remarks

Important: If a Pattern has already been optimized then calling this again is a no-op.

For finer grained control of what gets optimized you can use QueryOptimisation to disable automatic optimisation and then manually call this method as necessary.

See Also