Show / Hide Table of Contents

Class NodeMatchPattern

Pattern which matches specific Nodes.
Inheritance
System.Object
PatternItem
NodeMatchPattern
Inherited Members
PatternItem._context
PatternItem.BindingContext
PatternItem.RigorousEvaluation
PatternItem.VariableName
PatternItem.Repeated
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.Patterns
Assembly: dotNetRDF.dll
Syntax
public class NodeMatchPattern : PatternItem

Constructors

| Improve this Doc View Source

NodeMatchPattern(INode)

Creates a new Node Match Pattern.
Declaration
public NodeMatchPattern(INode n)
Parameters
Type Name Description
INode n Exact Node to match.
| Improve this Doc View Source

NodeMatchPattern(INode, Boolean)

Creates a new Node Match Pattern.
Declaration
public NodeMatchPattern(INode n, bool rigorousEvaluation)
Parameters
Type Name Description
INode n Exact Node to match.
System.Boolean rigorousEvaluation Whether to force rigorous evaluation regardless of the global setting.

Properties

| Improve this Doc View Source

Node

Gets the Node that this Pattern matches.
Declaration
public INode Node { get; }
Property Value
Type Description
INode

Methods

| Improve this Doc View Source

Accepts(SparqlEvaluationContext, INode)

Checks whether the given Node matches the Node this pattern was instantiated with.
Declaration
protected override bool Accepts(SparqlEvaluationContext context, INode obj)
Parameters
Type Name Description
SparqlEvaluationContext context Evaluation Context.
INode obj Node to test.
Returns
Type Description
System.Boolean
Overrides
PatternItem.Accepts(SparqlEvaluationContext, INode)
| Improve this Doc View Source

Construct(ConstructContext)

Constructs a Node based on the given Set.
Declaration
protected override INode Construct(ConstructContext context)
Parameters
Type Name Description
ConstructContext context Construct Context.
Returns
Type Description
INode
Overrides
PatternItem.Construct(ConstructContext)
| Improve this Doc View Source

ToString()

Gets a String representation of the Node.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
PatternItem.ToString()

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • NodeMatchPattern(INode)
    • NodeMatchPattern(INode, Boolean)
  • Properties
    • Node
  • Methods
    • Accepts(SparqlEvaluationContext, INode)
    • Construct(ConstructContext)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX