Show / Hide Table of Contents

Class LazyBgpOptimiser

An Algebra Optimiser that optimises Algebra to use LazyBgp's wherever possible.

Inheritance
object
BaseAlgebraOptimiser
LazyBgpOptimiser
Implements
IAlgebraOptimiser
Inherited Members
BaseAlgebraOptimiser.Optimise(ISparqlAlgebra)
BaseAlgebraOptimiser.UnsafeOptimisation
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Query.Optimisation
Assembly: dotNetRdf.dll
Syntax
public class LazyBgpOptimiser : BaseAlgebraOptimiser, IAlgebraOptimiser

Methods

| Edit this page View Source

IsApplicable(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
BaseAlgebraOptimiser.IsApplicable(SparqlQuery)
| Edit this page View Source

IsApplicable(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
BaseAlgebraOptimiser.IsApplicable(SparqlUpdateCommandSet)
| Edit this page View Source

OptimiseInternal(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
BaseAlgebraOptimiser.OptimiseInternal(ISparqlAlgebra, int)
Remarks

By transforming a query to use LazyBgp we can achieve much more efficient processing of some forms of queries.

Implements

IAlgebraOptimiser

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Methods
    • IsApplicable(SparqlQuery)
    • IsApplicable(SparqlUpdateCommandSet)
    • OptimiseInternal(ISparqlAlgebra, int)
  • Implements
  • Extension Methods
Back to top Generated by DocFX