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
object
BaseAlgebraOptimiser
AskBgpOptimiser
LazyBgpOptimiser
Implements
IAlgebraOptimiser
Inherited Members
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 abstract class BaseAlgebraOptimiser : IAlgebraOptimiser

Properties

| Edit this page View Source

UnsafeOptimisation

Determines whether an Optimiser will perform algebra optimizations that are potentially unsafe at execution time.

Declaration
public bool UnsafeOptimisation { get; set; }
Property Value
Type Description
bool

Methods

| Edit this page 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
bool
| Edit this page 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
bool
| Edit this page 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
| Edit this page View Source

OptimiseInternal(ISparqlAlgebra, int)

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.

int depth

Depth.

Returns
Type Description
ISparqlAlgebra

Implements

IAlgebraOptimiser

Extension Methods

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