Interface IMatchTriplePattern
Interface for Triple Patterns that do simple pattern matching.
Inherited Members
Namespace: VDS.RDF.Query.Patterns
Assembly: dotNetRdf.dll
Syntax
public interface IMatchTriplePattern : ITriplePattern, IComparable<ITriplePattern>, IProcessable, IVisitable, IComparable<IMatchTriplePattern>
Properties
| Edit this page View SourceIndexType
Gets the Index type that should be used in Pattern execution.
Declaration
TripleIndexType IndexType { get; }
Property Value
| Type | Description |
|---|---|
| TripleIndexType |
Object
Gets the Object of the Pattern.
Declaration
PatternItem Object { get; }
Property Value
| Type | Description |
|---|---|
| PatternItem |
Predicate
Gets the Predicate of the Pattern.
Declaration
PatternItem Predicate { get; }
Property Value
| Type | Description |
|---|---|
| PatternItem |
Subject
Gets the Subject of the Pattern.
Declaration
PatternItem Subject { get; }
Property Value
| Type | Description |
|---|---|
| PatternItem |
Methods
| Edit this page View SourceCreateResult(Triple)
Creates a set from a Triple.
Declaration
ISet CreateResult(Triple t)
Parameters
| Type | Name | Description |
|---|---|---|
| Triple | t | Triple. |
Returns
| Type | Description |
|---|---|
| ISet |
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 |