Show / Hide Table of Contents

Class UnaryExpressionFilter

Generic Filter for Filters which take a single sub-expression as an argument.

Inheritance
object
BaseUnaryFilter
UnaryExpressionFilter
Implements
ISparqlFilter
IVisitable
IProcessable
Inherited Members
BaseUnaryFilter._arg
BaseUnaryFilter.Variables
BaseUnaryFilter.Expression
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Filters
Assembly: dotNetRdf.dll
Syntax
public class UnaryExpressionFilter : BaseUnaryFilter, ISparqlFilter, IVisitable, IProcessable

Constructors

| Edit this page View Source

UnaryExpressionFilter(ISparqlExpression)

Creates a new Unary Expression Filter which filters on the basis of a single sub-expression.

Declaration
public UnaryExpressionFilter(ISparqlExpression expr)
Parameters
Type Name Description
ISparqlExpression expr

Expression to filter with.

Methods

| Edit this page View Source

Accept<T>(ISparqlAlgebraVisitor<T>)

Accept a simple algebra visitor.

Declaration
public override T Accept<T>(ISparqlAlgebraVisitor<T> visitor)
Parameters
Type Name Description
ISparqlAlgebraVisitor<T> visitor

The visitor implementation.

Returns
Type Description
T
Type Parameters
Name Description
T

The type returned by the Visit methods of the visitor.

Overrides
BaseUnaryFilter.Accept<T>(ISparqlAlgebraVisitor<T>)
| Edit this page View Source

Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)

Called by an algebra visitor to process an item by invoking the appropriate method on the processor passed in.

Declaration
public override TResult Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext> processor, TContext context)
Parameters
Type Name Description
ISparqlQueryAlgebraProcessor<TResult, TContext> processor

The processor to invoke.

TContext context

The context to pass to the processor.

Returns
Type Description
TResult

The result of invoking the processor method.

Type Parameters
Name Description
TResult

The type of result returned by the processor.

TContext

The type of the context object to be provided to the processor.

Overrides
BaseUnaryFilter.Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
| Edit this page View Source

ToString()

Gets the String representation of the Filter.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
BaseUnaryFilter.ToString()

Implements

ISparqlFilter
IVisitable
IProcessable

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • UnaryExpressionFilter(ISparqlExpression)
  • Methods
    • Accept<T>(ISparqlAlgebraVisitor<T>)
    • Accept<TResult, TContext>(ISparqlQueryAlgebraProcessor<TResult, TContext>, TContext)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX