Show / Hide Table of Contents

Class FixedBlankNodePattern

Pattern which matches the Blank Node with the given Internal ID regardless of the Graph the nodes come from.

Inheritance
System.Object
PatternItem
FixedBlankNodePattern
Inherited Members
PatternItem._context
PatternItem.BindingContext
PatternItem.RigorousEvaluation
PatternItem.Variables
PatternItem.Repeated
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRdf.dll
Syntax
public class FixedBlankNodePattern : PatternItem

Constructors

| Improve this Doc View Source

FixedBlankNodePattern(string)

Creates a new Fixed Blank Node Pattern.

Declaration
public FixedBlankNodePattern(string id)
Parameters
Type Name Description
string id

ID.

Properties

| Improve this Doc View Source

InternalID

Gets the Blank Node ID.

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

IsFixed

Return true if this pattern item contains no variables, false otherwise.

Declaration
public override bool IsFixed { get; }
Property Value
Type Description
System.Boolean
Overrides
PatternItem.IsFixed

Methods

| Improve this Doc View Source

Accepts(IPatternEvaluationContext, INode, ISet)

Checks whether the pattern accepts the given Node.

Declaration
public override bool Accepts(IPatternEvaluationContext context, INode obj, ISet s)
Parameters
Type Name Description
IPatternEvaluationContext context

SPARQL Evaluation Context.

INode obj

Node to test.

ISet s
Returns
Type Description
System.Boolean
Overrides
PatternItem.Accepts(IPatternEvaluationContext, INode, ISet)
| Improve this Doc View Source

AddBindings(INode, ISet)

Declaration
public override void AddBindings(INode forNode, ISet toSet)
Parameters
Type Name Description
INode forNode
ISet toSet
Overrides
PatternItem.AddBindings(INode, ISet)
| Improve this Doc View Source

Bind(ISet)

Declaration
public override INode Bind(ISet variableBindings)
Parameters
Type Name Description
ISet variableBindings
Returns
Type Description
INode
Overrides
PatternItem.Bind(ISet)
| Improve this Doc View Source

Construct(ConstructContext)

Returns a Blank Node with a fixed ID scoped to whichever graph is provided.

Declaration
public 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 the String representation of the Pattern Item.

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

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • FixedBlankNodePattern(string)
  • Properties
    • InternalID
    • IsFixed
  • Methods
    • Accepts(IPatternEvaluationContext, INode, ISet)
    • AddBindings(INode, ISet)
    • Bind(ISet)
    • Construct(ConstructContext)
    • ToString()
  • Extension Methods
Back to top Generated by DocFX