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
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 abstract class SingleValueRestrictionFilter : VariableRestrictionFilter, IFilter, IUnaryOperator, ISparqlAlgebra, IVisitable, IProcessable
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. |
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 SourceAccept<T>(ISparqlAlgebraVisitor<T>)
Declaration
public override T Accept<T>(ISparqlAlgebraVisitor<T> visitor)
Parameters
Type | Name | Description |
---|---|---|
ISparqlAlgebraVisitor<T> | visitor |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
Overrides
VDS.RDF.Query.Algebra.VariableRestrictionFilter.Accept<T>(VDS.RDF.Query.ISparqlAlgebraVisitor<T>)
|
Improve this Doc
View Source
Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
Declaration
public override TResult Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext> processor, TContext context)
Parameters
Type | Name | Description |
---|---|---|
ISparqlQueryAlgebraProcessor<TResult, TContext> | processor | |
TContext | context |
Returns
Type | Description |
---|---|
TResult |
Type Parameters
Name | Description |
---|---|
TResult | |
TContext |
Overrides
VDS.RDF.Query.Algebra.VariableRestrictionFilter.Accept<TResult, TContext>(VDS.RDF.Query.ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)