Show / Hide Table of Contents

Class PotentialPath

Class representing a potential path used during the evaluation of complex property paths.

Inheritance
System.Object
PotentialPath
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Paths
Assembly: dotNetRdf.dll
Syntax
public class PotentialPath

Constructors

| Improve this Doc View Source

PotentialPath(INode, INode)

Creates a new Potential Path.

Declaration
public PotentialPath(INode start, INode current)
Parameters
Type Name Description
INode start

Start Point of the Path.

INode current

Current Point on the Path.

| Improve this Doc View Source

PotentialPath(PotentialPath)

Creates a new Potential Path which is a copy of an existing Path.

Declaration
public PotentialPath(PotentialPath p)
Parameters
Type Name Description
PotentialPath p

Potentuak Path.

Properties

| Improve this Doc View Source

Current

Gets/Sets the Current Point of the Path - in the case of a complete Path this is the end of the Path.

Declaration
public INode Current { get; }
Property Value
Type Description
INode
| Improve this Doc View Source

IsComplete

Gets/Sets whether the Path is complete.

Declaration
public bool IsComplete { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsDeadEnd

Gets/Sets whether the Path is a dead-end.

Declaration
public bool IsDeadEnd { get; set; }
Property Value
Type Description
System.Boolean
Remarks

This may be useful information as it can help stop us uneccessarily regenerating partial paths which are dead ends.

| Improve this Doc View Source

IsPartial

Gets/Sets whether the Path is Partial.

Declaration
public bool IsPartial { get; set; }
Property Value
Type Description
System.Boolean
Remarks

While this may seem something of a misnomer what this represents is that the path is only part of the overall path so in the case of a sequence path we'll make all incomplete paths from the first part of the sequence as partial so they can't be themselves completed but they can be used to form complete paths.

| Improve this Doc View Source

Length

Gets/Sets the Length of the Path.

Declaration
public int Length { get; set; }
Property Value
Type Description
int
| Improve this Doc View Source

Start

Gets the Start of the Path.

Declaration
public INode Start { get; }
Property Value
Type Description
INode

Methods

| Improve this Doc View Source

Equals(object)

Checks whether the other object is an equivalent potential path.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

Object to test.

Returns
Type Description
System.Boolean
Overrides
object.Equals(object)
| Improve this Doc View Source

GetHashCode()

Gets the Hash Code for the potential path.

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
| Improve this Doc View Source

ToString()

Gets the String representation of the path.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • PotentialPath(INode, INode)
    • PotentialPath(PotentialPath)
  • Properties
    • Current
    • IsComplete
    • IsDeadEnd
    • IsPartial
    • Length
    • Start
  • Methods
    • Equals(object)
    • GetHashCode()
    • ToString()
  • Extension Methods
Back to top Generated by DocFX