Show / Hide Table of Contents

Class BaseUnaryFilter

Abstract Base class for Unary Filters that operate on a single Expression.

Inheritance
object
BaseUnaryFilter
BoundFilter
UnaryExpressionFilter
Implements
ISparqlFilter
IVisitable
IProcessable
Inherited Members
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 abstract class BaseUnaryFilter : ISparqlFilter, IVisitable, IProcessable

Constructors

| Edit this page View Source

BaseUnaryFilter(ISparqlExpression)

Creates a new Base Unary Filter.

Declaration
protected BaseUnaryFilter(ISparqlExpression arg)
Parameters
Type Name Description
ISparqlExpression arg

Argument to the Filter.

Fields

| Edit this page View Source

_arg

Expression which is the Argument to the Filter.

Declaration
protected ISparqlExpression _arg
Field Value
Type Description
ISparqlExpression

Properties

| Edit this page View Source

Expression

Gets the inner expression this Filter uses.

Declaration
public virtual ISparqlExpression Expression { get; }
Property Value
Type Description
ISparqlExpression
| Edit this page View Source

Variables

Gets the enumeration of Variables used in the Filter.

Declaration
public virtual IEnumerable<string> Variables { get; }
Property Value
Type Description
IEnumerable<string>

Methods

| Edit this page View Source

Accept<T>(ISparqlAlgebraVisitor<T>)

Accept a simple algebra visitor.

Declaration
public abstract 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.

| 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 abstract 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.

| Edit this page View Source

ToString()

Gets the String representation of the Filter.

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

Implements

ISparqlFilter
IVisitable
IProcessable

Extension Methods

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