Class LazyBgpOptimiser
An Algebra Optimiser that optimises Algebra to use LazyBgp's wherever possible.
Implements
Inherited Members
Namespace: VDS.RDF.Query.Optimisation
Assembly: dotNetRdf.dll
Syntax
public class LazyBgpOptimiser : BaseAlgebraOptimiser, IAlgebraOptimiser
Methods
| Edit this page View SourceIsApplicable(SparqlQuery)
Determines whether the query can be optimised for lazy evaluation.
Declaration
public override bool IsApplicable(SparqlQuery q)
Parameters
Type | Name | Description |
---|---|---|
SparqlQuery | q | Query. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceIsApplicable(SparqlUpdateCommandSet)
Returns that the optimiser does not apply to SPARQL Updates.
Declaration
public override bool IsApplicable(SparqlUpdateCommandSet cmds)
Parameters
Type | Name | Description |
---|---|---|
SparqlUpdateCommandSet | cmds | Updates. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceOptimiseInternal(ISparqlAlgebra, int)
Optimises an Algebra to a form that uses LazyBgp where possible.
Declaration
protected override ISparqlAlgebra OptimiseInternal(ISparqlAlgebra algebra, int depth)
Parameters
Type | Name | Description |
---|---|---|
ISparqlAlgebra | algebra | Algebra. |
int | depth | Depth. |
Returns
Type | Description |
---|---|
ISparqlAlgebra |
Overrides
Remarks
By transforming a query to use LazyBgp we can achieve much more efficient processing of some forms of queries.