Class AskUnion
Represents a Union.
Inherited Members
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
| Edit this page View SourceAskUnion(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. |
Methods
| Edit this page View SourceToString()
Gets the String representation of the Algebra.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
| Edit this page View SourceTransform(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
| Edit this page View SourceTransformLhs(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
| Edit this page View SourceTransformRhs(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 |