Class SingleValueRestrictionFilter
Abstract Base Class for specialised Filters which restrict the value of a variable to a single value.
Inheritance
System.Object
SingleValueRestrictionFilter
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 abstract class SingleValueRestrictionFilter : VariableRestrictionFilter, IFilter, IUnaryOperator, ISparqlAlgebra
Constructors
| Improve this Doc View SourceSingleValueRestrictionFilter(ISparqlAlgebra, String, ConstantTerm, ISparqlFilter)
Creates a new Single Value Restriction Filter.
Declaration
public SingleValueRestrictionFilter(ISparqlAlgebra pattern, string var, ConstantTerm term, ISparqlFilter filter)
Parameters
Type | Name | Description |
---|---|---|
ISparqlAlgebra | pattern | Algebra the filter applies over. |
System.String | var | Variable to restrict on. |
ConstantTerm | term | Value to restrict to. |
ISparqlFilter | filter | Filter to use. |
Properties
| Improve this Doc View SourceRestrictionValue
Gets the Value Restriction which this filter applies.
Declaration
public ConstantTerm RestrictionValue { get; }
Property Value
Type | Description |
---|---|
ConstantTerm |
Methods
| Improve this Doc View SourceEvaluate(SparqlEvaluationContext)
Applies the Filter over the results of evaluating the inner pattern.
Declaration
public sealed override BaseMultiset Evaluate(SparqlEvaluationContext context)
Parameters
Type | Name | Description |
---|---|---|
SparqlEvaluationContext | context | Evaluation Context. |
Returns
Type | Description |
---|---|
BaseMultiset |