Show / Hide Table of Contents

Class OneOrMorePath

Represents a One or More Path (e.g. rdf:type+) in the SPARQL Algebra.

Inheritance
object
BasePathOperator
BaseArbitraryLengthPathOperator
OneOrMorePath
Implements
IPathOperator
ISparqlAlgebra
IVisitable
IProcessable
Inherited Members
BasePathOperator.PathStart
BasePathOperator.PathEnd
BasePathOperator.Path
BasePathOperator.Variables
BasePathOperator.FixedVariables
BasePathOperator.FloatingVariables
BasePathOperator.ToQuery()
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 OneOrMorePath : BaseArbitraryLengthPathOperator, IPathOperator, ISparqlAlgebra, IVisitable, IProcessable

Constructors

| Edit this page View Source

OneOrMorePath(PatternItem, PatternItem, ISparqlPath)

Creates a new One or More Path.

Declaration
public OneOrMorePath(PatternItem start, PatternItem end, ISparqlPath path)
Parameters
Type Name Description
PatternItem start

Path Start.

PatternItem end

Path End.

ISparqlPath path

Path.

Methods

| Edit this page View Source

Accept<T>(ISparqlAlgebraVisitor<T>)

Accept a simple algebra visitor.

Declaration
public override 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.

Overrides
BasePathOperator.Accept<T>(ISparqlAlgebraVisitor<T>)
| Edit this page View Source

Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)

Called by an algebra visitor to process an item by invoking the appropriate method on the processor passed in.

Declaration
public override TResult Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext> processor, TContext context)
Parameters
Type Name Description
ISparqlQueryAlgebraProcessor<TResult, TContext> processor

The processor to invoke.

TContext context

The context to pass to the processor.

Returns
Type Description
TResult

The result of invoking the processor method.

Type Parameters
Name Description
TResult

The type of result returned by the processor.

TContext

The type of the context object to be provided to the processor.

Overrides
BasePathOperator.Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
| Edit this page View Source

ToGraphPattern()

Transforms the Algebra back into a Graph Pattern.

Declaration
public override GraphPattern ToGraphPattern()
Returns
Type Description
GraphPattern
Overrides
BasePathOperator.ToGraphPattern()
| Edit this page View Source

ToString()

Gets the String representation of the Algebra.

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

Implements

IPathOperator
ISparqlAlgebra
IVisitable
IProcessable

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • OneOrMorePath(PatternItem, PatternItem, ISparqlPath)
  • Methods
    • Accept<T>(ISparqlAlgebraVisitor<T>)
    • Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
    • ToGraphPattern()
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX