Show / Hide Table of Contents

Class AskUnion

Represents a Union.

Inheritance
System.Object
Union
AskUnion
Implements
IUnion
IAbstractJoin
ISparqlAlgebra
IVisitable
IProcessable
Inherited Members
Union.Variables
Union.FloatingVariables
Union.FixedVariables
Union.Lhs
Union.Rhs
Union.Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
Union.Accept<T>(ISparqlAlgebraVisitor<T>)
Union.ToQuery()
Union.ToGraphPattern()
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Algebra
Assembly: dotNetRdf.dll
Syntax
public class AskUnion : Union, IUnion, IAbstractJoin, ISparqlAlgebra, IVisitable, IProcessable
Remarks

An Ask Union differs from a standard Union in that if it finds a solution on the LHS it has no need to evaluate the RHS.

Constructors

| Improve this Doc View Source

AskUnion(ISparqlAlgebra, ISparqlAlgebra)

Creates a new Ask Union.

Declaration
public AskUnion(ISparqlAlgebra lhs, ISparqlAlgebra rhs)
Parameters
Type Name Description
ISparqlAlgebra lhs

LHS Pattern.

ISparqlAlgebra rhs

RHS Pattern.

Remarks

An Ask Union differs from a standard Union in that if it finds a solution on the LHS it has no need to evaluate the RHS.

Methods

| Improve this Doc View Source

ToString()

Gets the String representation of the Algebra.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
Union.ToString()
Remarks

An Ask Union differs from a standard Union in that if it finds a solution on the LHS it has no need to evaluate the RHS.

| Improve this Doc View Source

Transform(IAlgebraOptimiser)

Transforms both sides of the Join using the given Optimiser.

Declaration
public override ISparqlAlgebra Transform(IAlgebraOptimiser optimiser)
Parameters
Type Name Description
IAlgebraOptimiser optimiser

Optimser.

Returns
Type Description
ISparqlAlgebra
Overrides
Union.Transform(IAlgebraOptimiser)
Remarks

An Ask Union differs from a standard Union in that if it finds a solution on the LHS it has no need to evaluate the RHS.

| Improve this Doc View Source

TransformLhs(IAlgebraOptimiser)

Transforms the LHS of the Join using the given Optimiser.

Declaration
public override ISparqlAlgebra TransformLhs(IAlgebraOptimiser optimiser)
Parameters
Type Name Description
IAlgebraOptimiser optimiser

Optimser.

Returns
Type Description
ISparqlAlgebra
Overrides
Union.TransformLhs(IAlgebraOptimiser)
Remarks

An Ask Union differs from a standard Union in that if it finds a solution on the LHS it has no need to evaluate the RHS.

| Improve this Doc View Source

TransformRhs(IAlgebraOptimiser)

Transforms the RHS of the Join using the given Optimiser.

Declaration
public override ISparqlAlgebra TransformRhs(IAlgebraOptimiser optimiser)
Parameters
Type Name Description
IAlgebraOptimiser optimiser

Optimser.

Returns
Type Description
ISparqlAlgebra
Overrides
Union.TransformRhs(IAlgebraOptimiser)
Remarks

An Ask Union differs from a standard Union in that if it finds a solution on the LHS it has no need to evaluate the RHS.

Implements

IUnion
IAbstractJoin
ISparqlAlgebra
IVisitable
IProcessable

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • AskUnion(ISparqlAlgebra, ISparqlAlgebra)
  • Methods
    • ToString()
    • Transform(IAlgebraOptimiser)
    • TransformLhs(IAlgebraOptimiser)
    • TransformRhs(IAlgebraOptimiser)
  • Implements
  • Extension Methods
Back to top Generated by DocFX