Show / Hide Table of Contents

Class SingleValueRestrictionFilter

Abstract Base Class for specialised Filters which restrict the value of a variable to a single value.
Inheritance
System.Object
VariableRestrictionFilter
SingleValueRestrictionFilter
IdentityFilter
SameTermFilter
Implements
IFilter
IUnaryOperator
ISparqlAlgebra
Inherited Members
VariableRestrictionFilter.RestrictionVariable
VariableRestrictionFilter.Variables
VariableRestrictionFilter.FloatingVariables
VariableRestrictionFilter.FixedVariables
VariableRestrictionFilter.SparqlFilter
VariableRestrictionFilter.InnerAlgebra
VariableRestrictionFilter.ToString()
VariableRestrictionFilter.ToQuery()
VariableRestrictionFilter.ToGraphPattern()
VariableRestrictionFilter.Transform(IAlgebraOptimiser)
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 Source

SingleValueRestrictionFilter(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 Source

RestrictionValue

Gets the Value Restriction which this filter applies.
Declaration
public ConstantTerm RestrictionValue { get; }
Property Value
Type Description
ConstantTerm

Methods

| Improve this Doc View Source

Evaluate(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
Overrides
VariableRestrictionFilter.Evaluate(SparqlEvaluationContext)

Implements

IFilter
IUnaryOperator
ISparqlAlgebra

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • SingleValueRestrictionFilter(ISparqlAlgebra, String, ConstantTerm, ISparqlFilter)
  • Properties
    • RestrictionValue
  • Methods
    • Evaluate(SparqlEvaluationContext)
  • Implements
  • Extension Methods
Back to top Generated by DocFX