Show / Hide Table of Contents

Class BaseAlgebraOptimiser

Abstract Base Class for Algebra Transformers where the Transformer may care about the depth of the Algebra in the Algebra Tree.
Inheritance
System.Object
BaseAlgebraOptimiser
AskBgpOptimiser
LazyBgpOptimiser
Implements
IAlgebraOptimiser
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Query.Optimisation
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseAlgebraOptimiser : IAlgebraOptimiser

Methods

| Improve this Doc View Source

IsApplicable(SparqlQuery)

Determines whether the Optimiser can be applied to a given Query.
Declaration
public abstract bool IsApplicable(SparqlQuery q)
Parameters
Type Name Description
SparqlQuery q Query.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsApplicable(SparqlUpdateCommandSet)

Determines whether the Optimiser can be applied to a given Update Command Set.
Declaration
public abstract bool IsApplicable(SparqlUpdateCommandSet cmds)
Parameters
Type Name Description
SparqlUpdateCommandSet cmds Command Set.
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Optimise(ISparqlAlgebra)

Attempts to optimise an Algebra to another more optimal form.
Declaration
public virtual ISparqlAlgebra Optimise(ISparqlAlgebra algebra)
Parameters
Type Name Description
ISparqlAlgebra algebra Algebra.
Returns
Type Description
ISparqlAlgebra
| Improve this Doc View Source

OptimiseInternal(ISparqlAlgebra, Int32)

Transforms the Algebra to another form tracking the depth in the Algebra tree.
Declaration
protected abstract ISparqlAlgebra OptimiseInternal(ISparqlAlgebra algebra, int depth)
Parameters
Type Name Description
ISparqlAlgebra algebra Algebra.
System.Int32 depth Depth.
Returns
Type Description
ISparqlAlgebra

Implements

IAlgebraOptimiser

Extension Methods

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