Class SameTermFilter
Represents a special case Filter where the Filter is supposed to restrict a variable to just one value i.e. FILTER(SAMETERM(?x, <value>)).
Inherited Members
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.Algebra
Assembly: dotNetRDF.dll
Syntax
public class SameTermFilter : SingleValueRestrictionFilter, IFilter, IUnaryOperator, ISparqlAlgebra
Constructors
| Improve this Doc View SourceSameTermFilter(ISparqlAlgebra, String, ConstantTerm)
Creates a new Same Term Filter.
Declaration
public SameTermFilter(ISparqlAlgebra pattern, string var, ConstantTerm term)
Parameters
Type | Name | Description |
---|---|---|
ISparqlAlgebra | pattern | Algebra the Filter applies over. |
System.String | var | Variable to restrict on. |
ConstantTerm | term | Expression Term. |
Methods
| Improve this Doc View SourceTransform(IAlgebraOptimiser)
Transforms the Inner Algebra using the given Optimiser.
Declaration
public override ISparqlAlgebra Transform(IAlgebraOptimiser optimiser)
Parameters
Type | Name | Description |
---|---|---|
IAlgebraOptimiser | optimiser | Optimiser. |
Returns
Type | Description |
---|---|
ISparqlAlgebra |