Class BaseArbitraryLengthPathOperator
Abstract Base Class for Arbitrary Length Path Operators.
Inheritance
System.Object
BaseArbitraryLengthPathOperator
Inherited Members
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 SourceBaseArbitraryLengthPathOperator(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 SourceEvaluateStep(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> |
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. |