Show / Hide Table of Contents

Interface IAlgebraOptimiser

An Algebra Optimiser is a class that can transform a SPARQL algebra from one form to another typically for optimisation purposes.
Namespace: VDS.RDF.Query.Optimisation
Assembly: dotNetRDF.dll
Syntax
public interface IAlgebraOptimiser

Methods

| Improve this Doc View Source

IsApplicable(SparqlQuery)

Determines whether an Optimiser is applicable based on the Query whose Algebra is being optimised.
Declaration
bool IsApplicable(SparqlQuery q)
Parameters
Type Name Description
SparqlQuery q SPARQL Query.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsApplicable(SparqlUpdateCommandSet)

Determines whether an Optimiser is applicable based on the Update Command Set being optimised.
Declaration
bool IsApplicable(SparqlUpdateCommandSet cmds)
Parameters
Type Name Description
SparqlUpdateCommandSet cmds Update Command Set.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Optimise(ISparqlAlgebra)

Optimises the given Algebra.
Declaration
ISparqlAlgebra Optimise(ISparqlAlgebra algebra)
Parameters
Type Name Description
ISparqlAlgebra algebra Algebra to optimise.
Returns
Type Description
ISparqlAlgebra
Remarks
Important: An Algebra Optimiser must guarantee to return an equivalent algebra to the given algebra. In the event of any error the optimiser should still return a valid algebra (or at least the original algebra).

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • IsApplicable(SparqlQuery)
    • IsApplicable(SparqlUpdateCommandSet)
    • Optimise(ISparqlAlgebra)
  • Extension Methods
Back to top Generated by DocFX