Show / Hide Table of Contents

Interface IMatchTriplePattern

Interface for Triple Patterns that do simple pattern matching.

Inherited Members
ITriplePattern.PatternType
ITriplePattern.IsAcceptAll
ITriplePattern.Variables
ITriplePattern.FloatingVariables
ITriplePattern.FixedVariables
ITriplePattern.UsesDefaultDataset
ITriplePattern.HasNoBlankVariables
IComparable<ITriplePattern>.CompareTo(ITriplePattern)
IProcessable.Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
IVisitable.Accept<T>(ISparqlAlgebraVisitor<T>)
IComparable<IMatchTriplePattern>.CompareTo(IMatchTriplePattern)
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRdf.dll
Syntax
public interface IMatchTriplePattern : ITriplePattern, IComparable<ITriplePattern>, IProcessable, IVisitable, IComparable<IMatchTriplePattern>

Properties

| Edit this page View Source

IndexType

Gets the Index type that should be used in Pattern execution.

Declaration
TripleIndexType IndexType { get; }
Property Value
Type Description
TripleIndexType
| Edit this page View Source

Object

Gets the Object of the Pattern.

Declaration
PatternItem Object { get; }
Property Value
Type Description
PatternItem
| Edit this page View Source

Predicate

Gets the Predicate of the Pattern.

Declaration
PatternItem Predicate { get; }
Property Value
Type Description
PatternItem
| Edit this page View Source

Subject

Gets the Subject of the Pattern.

Declaration
PatternItem Subject { get; }
Property Value
Type Description
PatternItem

Methods

| Edit this page View Source

CreateResult(Triple)

Creates a set from a Triple.

Declaration
ISet CreateResult(Triple t)
Parameters
Type Name Description
Triple t

Triple.

Returns
Type Description
ISet
| Edit this page View Source

Evaluate(IPatternEvaluationContext, Triple)

Evaluate the given triple against this pattern, returning a set of variable bindings if it matches or null if it does not.

Declaration
ISet Evaluate(IPatternEvaluationContext context, Triple t)
Parameters
Type Name Description
IPatternEvaluationContext context
Triple t
Returns
Type Description
ISet

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Properties
    • IndexType
    • Object
    • Predicate
    • Subject
  • Methods
    • CreateResult(Triple)
    • Evaluate(IPatternEvaluationContext, Triple)
  • Extension Methods
Back to top Generated by DocFX