Class IdentityFilter
Represents a special case Filter where the Filter restricts a variable to just one value i.e. FILTER(?x = <value>).
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Algebra
Assembly: dotNetRdf.dll
Syntax
public class IdentityFilter : SingleValueRestrictionFilter, IFilter, IUnaryOperator, ISparqlAlgebra, IVisitable, IProcessable
Constructors
| Improve this Doc View SourceIdentityFilter(ISparqlAlgebra, string, ConstantTerm)
Creates a new Identity Filter.
Declaration
public IdentityFilter(ISparqlAlgebra pattern, string var, ConstantTerm term)
Parameters
Type | Name | Description |
---|---|---|
ISparqlAlgebra | pattern | Algebra the Filter applies over. |
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 |