Class BaseUnaryFilter
Abstract Base class for Unary Filters that operate on a single Expression.
Inherited Members
Namespace: VDS.RDF.Query.Filters
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseUnaryFilter : ISparqlFilter, IVisitable, IProcessable
  Constructors
| Edit this page View SourceBaseUnaryFilter(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 SourceExpression
Gets the inner expression this Filter uses.
Declaration
public virtual ISparqlExpression Expression { get; }
  Property Value
| Type | Description | 
|---|---|
| ISparqlExpression | 
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 SourceAccept<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.  | 
      
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.  | 
      
ToString()
Gets the String representation of the Filter.
Declaration
public override abstract string ToString()
  Returns
| Type | Description | 
|---|---|
| string |