Show / Hide Table of Contents

Class OneOrMorePath

Represents a One or More Path (e.g. rdf:type+) in the SPARQL Algebra.
Inheritance
System.Object
BasePathOperator
BaseArbitraryLengthPathOperator
OneOrMorePath
Implements
IPathOperator
ISparqlAlgebra
Inherited Members
BaseArbitraryLengthPathOperator.GetPathStarts(SparqlEvaluationContext, List<List<INode>>, Boolean)
BaseArbitraryLengthPathOperator.EvaluateStep(SparqlEvaluationContext, List<INode>, Boolean)
BasePathOperator.PathStart
BasePathOperator.PathEnd
BasePathOperator.Path
BasePathOperator.Variables
BasePathOperator.FixedVariables
BasePathOperator.FloatingVariables
BasePathOperator.ToQuery()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Query.Algebra
Assembly: dotNetRDF.dll
Syntax
public class OneOrMorePath : BaseArbitraryLengthPathOperator, IPathOperator, ISparqlAlgebra

Constructors

| Improve this Doc 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

| Improve this Doc View Source

Evaluate(SparqlEvaluationContext)

Evaluates the One or More Path.
Declaration
public override BaseMultiset Evaluate(SparqlEvaluationContext context)
Parameters
Type Name Description
SparqlEvaluationContext context SPARQL Evaluation Context.
Returns
Type Description
BaseMultiset
Overrides
BasePathOperator.Evaluate(SparqlEvaluationContext)
| Improve this Doc View Source

ToGraphPattern()

Transforms the Algebra back into a Graph Pattern.
Declaration
public override GraphPattern ToGraphPattern()
Returns
Type Description
GraphPattern
Overrides
BasePathOperator.ToGraphPattern()
| Improve this Doc View Source

ToString()

Gets the String representation of the Algebra.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
BasePathOperator.ToString()

Implements

IPathOperator
ISparqlAlgebra

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • OneOrMorePath(PatternItem, PatternItem, ISparqlPath)
  • Methods
    • Evaluate(SparqlEvaluationContext)
    • ToGraphPattern()
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX