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
| Improve this Doc 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. |
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 SourceToString()
Gets the String representation of the Algebra.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
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.
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
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.
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
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.
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
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.