Class ZeroLengthPath
Represents a Zero Length Path in the SPARQL Algebra.
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 class ZeroLengthPath : BasePathOperator, IPathOperator, ISparqlAlgebra
Constructors
| Improve this Doc View SourceZeroLengthPath(PatternItem, PatternItem, ISparqlPath)
Creates a new Zero Length Path.
Declaration
public ZeroLengthPath(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 SourceEvaluate(SparqlEvaluationContext)
Evaluates a Zero Length Path.
Declaration
public override BaseMultiset Evaluate(SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |
Overrides
| Improve this Doc View SourceToGraphPattern()
Transforms the Algebra back into a Graph Pattern.
Declaration
public override GraphPattern ToGraphPattern()
Returns
Type | Description |
---|---|
GraphPattern |
Overrides
| Improve this Doc View SourceToString()
Gets the String representation of the Algebra.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |