Click or drag to resize

FilterPattern Class

Class for representing Filter Patterns in SPARQL Queries.
Inheritance Hierarchy

Namespace:  VDS.RDF.Query.Patterns
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class FilterPattern : BaseTriplePattern, 
	IFilterPattern, ITriplePattern, IComparable<ITriplePattern>, IComparable<IFilterPattern>, 
	IComparable<FilterPattern>

The FilterPattern type exposes the following members.

Constructors
  NameDescription
Public methodFilterPattern
Creates a new Filter Pattern with the given Filter.
Top
Properties
  NameDescription
Public propertyFilter
Gets the Filter that this Pattern uses.
Public propertyFixedVariables
Returns the empty enumerable as don't know which variables will be bound.
(Overrides BaseTriplePatternFixedVariables.)
Public propertyFloatingVariables
Returns the empty enumerable as don't know which variables will be bound.
(Overrides BaseTriplePatternFloatingVariables.)
Public propertyHasNoBlankVariables
Returns true as a FILTER cannot contain blank variables.
(Overrides BaseTriplePatternHasNoBlankVariables.)
Public propertyIsAcceptAll
Returns that the Pattern is not an accept all (since it's a Filter).
(Overrides BaseTriplePatternIsAcceptAll.)
Public propertyPatternType
Gets the Pattern Type.
(Overrides BaseTriplePatternPatternType.)
Public propertyUsesDefaultDataset
Gets whether the Pattern uses the Default Dataset.
(Overrides BaseTriplePatternUsesDefaultDataset.)
Public propertyVariables
Gets the List of Variables used in the Pattern.
(Inherited from BaseTriplePattern.)
Top
Methods
  NameDescription
Public methodCompareTo(FilterPattern)
Compares a filter pattern to another.
Public methodCompareTo(IFilterPattern)
Compares a filter pattern to another.
Public methodCompareTo(ITriplePattern)
Compares a Triple Pattern to another Triple Pattern.
(Inherited from BaseTriplePattern.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvaluate
Evaluates a Filter in the given Evaluation Context.
(Overrides BaseTriplePatternEvaluate(SparqlEvaluationContext).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the string representation of the Pattern.
(Overrides BaseTriplePatternToString.)
Top
Fields
  NameDescription
Protected field_vars
Stores the list of variables that are used in the Pattern.
(Inherited from BaseTriplePattern.)
Top
Remarks
A Filter Pattern is any FILTER clause that can be executed during the process of executing Triple Patterns rather than after all the Triple Patterns and Child Graph Patterns have been executed.
See Also