Show / Hide Table of Contents

Class ExistsJoin

Represents a LeftJoin predicated on the existence/non-existence of joinable sets on the RHS for each item on the LHS.

Inheritance
object
ExistsJoin
Implements
IExistsJoin
IAbstractJoin
ISparqlAlgebra
IVisitable
IProcessable
Inherited Members
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 ExistsJoin : IExistsJoin, IAbstractJoin, ISparqlAlgebra, IVisitable, IProcessable

Constructors

| Edit this page View Source

ExistsJoin(ISparqlAlgebra, ISparqlAlgebra, bool)

Creates a new Exists Join.

Declaration
public ExistsJoin(ISparqlAlgebra lhs, ISparqlAlgebra rhs, bool mustExist)
Parameters
Type Name Description
ISparqlAlgebra lhs

LHS Pattern.

ISparqlAlgebra rhs

RHS Pattern.

bool mustExist

Whether a joinable set must exist on the RHS for the LHS set to be preserved.

Properties

| Edit this page View Source

FixedVariables

Gets the enumeration of fixed variables in the algebra i.e. variables that are guaranteed to have a bound value.

Declaration
public IEnumerable<string> FixedVariables { get; }
Property Value
Type Description
IEnumerable<string>
| Edit this page View Source

FloatingVariables

Gets the enumeration of floating variables in the algebra i.e. variables that are not guaranteed to have a bound value.

Declaration
public IEnumerable<string> FloatingVariables { get; }
Property Value
Type Description
IEnumerable<string>
| Edit this page View Source

Lhs

Gets the LHS of the Join.

Declaration
public ISparqlAlgebra Lhs { get; }
Property Value
Type Description
ISparqlAlgebra
| Edit this page View Source

MustExist

Gets whether this is an EXISTS join.

Declaration
public bool MustExist { get; }
Property Value
Type Description
bool
| Edit this page View Source

Rhs

Gets the RHS of the Join.

Declaration
public ISparqlAlgebra Rhs { get; }
Property Value
Type Description
ISparqlAlgebra
| Edit this page View Source

Variables

Gets the Variables used in the Algebra.

Declaration
public IEnumerable<string> Variables { get; }
Property Value
Type Description
IEnumerable<string>

Methods

| Edit this page View Source

Accept<T>(ISparqlAlgebraVisitor<T>)

Accept a simple algebra visitor.

Declaration
public T Accept<T>(ISparqlAlgebraVisitor<T> visitor)
Parameters
Type Name Description
ISparqlAlgebraVisitor<T> visitor

The visitor implementation.

Returns
Type Description
T
Type Parameters
Name Description
T

The type returned by the Visit methods of the visitor.

| Edit this page View Source

ToGraphPattern()

Converts the Algebra back to a Graph Pattern.

Declaration
public GraphPattern ToGraphPattern()
Returns
Type Description
GraphPattern
| Edit this page View Source

ToQuery()

Converts the Algebra back to a SPARQL Query.

Declaration
public SparqlQuery ToQuery()
Returns
Type Description
SparqlQuery
| Edit this page View Source

ToString()

Gets the String representation of the Algebra.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
| Edit this page View Source

Transform(IAlgebraOptimiser)

Transforms both sides of the Join using the given Optimiser.

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

Optimser.

Returns
Type Description
ISparqlAlgebra
| Edit this page View Source

TransformLhs(IAlgebraOptimiser)

Transforms the LHS of the Join using the given Optimiser.

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

Optimser.

Returns
Type Description
ISparqlAlgebra
| Edit this page View Source

TransformRhs(IAlgebraOptimiser)

Transforms the RHS of the Join using the given Optimiser.

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

Optimser.

Returns
Type Description
ISparqlAlgebra

Implements

IExistsJoin
IAbstractJoin
ISparqlAlgebra
IVisitable
IProcessable

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • ExistsJoin(ISparqlAlgebra, ISparqlAlgebra, bool)
  • Properties
    • FixedVariables
    • FloatingVariables
    • Lhs
    • MustExist
    • Rhs
    • Variables
  • Methods
    • Accept<T>(ISparqlAlgebraVisitor<T>)
    • ToGraphPattern()
    • ToQuery()
    • ToString()
    • Transform(IAlgebraOptimiser)
    • TransformLhs(IAlgebraOptimiser)
    • TransformRhs(IAlgebraOptimiser)
  • Implements
  • Extension Methods
Back to top Generated by DocFX