Show / Hide Table of Contents

Class PotentialPath

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

Inheritance
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

| Edit this page 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.

| Edit this page 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

| Edit this page 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
| Edit this page View Source

IsComplete

Gets/Sets whether the Path is complete.

Declaration
public bool IsComplete { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

IsDeadEnd

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

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

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

| Edit this page View Source

IsPartial

Gets/Sets whether the Path is Partial.

Declaration
public bool IsPartial { get; set; }
Property Value
Type Description
bool
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.

| Edit this page View Source

Length

Gets/Sets the Length of the Path.

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

Start

Gets the Start of the Path.

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

Methods

| Edit this page 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
object obj

Object to test.

Returns
Type Description
bool
Overrides
object.Equals(object)
| Edit this page View Source

GetHashCode()

Gets the Hash Code for the potential path.

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
| Edit this page 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)
  • Edit this page
  • 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