Class ZeroLengthPath
Represents a Zero Length Path in the SPARQL Algebra.
Inherited Members
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 ZeroLengthPath : BasePathOperator, IPathOperator, ISparqlAlgebra, IVisitable, IProcessable
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 SourceAccept<T>(ISparqlAlgebraVisitor<T>)
Declaration
public override T Accept<T>(ISparqlAlgebraVisitor<T> visitor)
Parameters
Type | Name | Description |
---|---|---|
ISparqlAlgebraVisitor<T> | visitor |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
Overrides
VDS.RDF.Query.Algebra.BasePathOperator.Accept<T>(VDS.RDF.Query.ISparqlAlgebraVisitor<T>)
|
Improve this Doc
View Source
Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
Declaration
public override TResult Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext> processor, TContext context)
Parameters
Type | Name | Description |
---|---|---|
ISparqlQueryAlgebraProcessor<TResult, TContext> | processor | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
Type Parameters
Name | Description |
---|---|
TResult | |
TContext |
Overrides
VDS.RDF.Query.Algebra.BasePathOperator.Accept<TResult, TContext>(VDS.RDF.Query.ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
|
Improve this Doc
View Source
AreBothTerms()
Return true if both the path start and the path end are fixed terms, or false if either start or end are a variable.
Declaration
public bool AreBothTerms()
Returns
Type | Description |
---|---|
System.Boolean |
AreSameTerms()
Return true of the path start and path end reference the same term, false otherwise.
Declaration
public bool AreSameTerms()
Returns
Type | Description |
---|---|
System.Boolean |
ToGraphPattern()
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 |
---|---|
string |