Show / Hide Table of Contents

Class BaseArbitraryLengthPathOperator

Abstract Base Class for Arbitrary Length Path Operators.
Inheritance
System.Object
BasePathOperator
BaseArbitraryLengthPathOperator
OneOrMorePath
ZeroOrMorePath
Implements
IPathOperator
ISparqlAlgebra
Inherited Members
BasePathOperator.PathStart
BasePathOperator.PathEnd
BasePathOperator.Path
BasePathOperator.Evaluate(SparqlEvaluationContext)
BasePathOperator.Variables
BasePathOperator.FixedVariables
BasePathOperator.FloatingVariables
BasePathOperator.ToQuery()
BasePathOperator.ToGraphPattern()
BasePathOperator.ToString()
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 abstract class BaseArbitraryLengthPathOperator : BasePathOperator, IPathOperator, ISparqlAlgebra

Constructors

| Improve this Doc View Source

BaseArbitraryLengthPathOperator(PatternItem, PatternItem, ISparqlPath)

Creates a new Arbitrary Lengh Path Operator.
Declaration
public BaseArbitraryLengthPathOperator(PatternItem start, PatternItem end, ISparqlPath path)
Parameters
Type Name Description
PatternItem start Path Start.
PatternItem end Path End.
ISparqlPath path Property Path.

Methods

| Improve this Doc View Source

EvaluateStep(SparqlEvaluationContext, List<INode>, Boolean)

Evaluates a setp of the Path.
Declaration
protected List<INode> EvaluateStep(SparqlEvaluationContext context, List<INode> path, bool reverse)
Parameters
Type Name Description
SparqlEvaluationContext context Context.
System.Collections.Generic.List<INode> path Paths.
System.Boolean reverse Whether to evaluate Paths in reverse.
Returns
Type Description
System.Collections.Generic.List<INode>
| Improve this Doc View Source

GetPathStarts(SparqlEvaluationContext, List<List<INode>>, Boolean)

Determines the starting points for Path evaluation.
Declaration
protected void GetPathStarts(SparqlEvaluationContext context, List<List<INode>> paths, bool reverse)
Parameters
Type Name Description
SparqlEvaluationContext context Evaluation Context.
System.Collections.Generic.List<System.Collections.Generic.List<INode>> paths Paths.
System.Boolean reverse Whether to evaluate Paths in reverse.

Implements

IPathOperator
ISparqlAlgebra

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseArbitraryLengthPathOperator(PatternItem, PatternItem, ISparqlPath)
  • Methods
    • EvaluateStep(SparqlEvaluationContext, List<INode>, Boolean)
    • GetPathStarts(SparqlEvaluationContext, List<List<INode>>, Boolean)
  • Implements
  • Extension Methods
Back to top Generated by DocFX