Class UnaryExpressionFilter
Generic Filter for Filters which take a single sub-expression as an argument.
Inherited Members
Namespace: VDS.RDF.Query.Filters
Assembly: dotNetRdf.dll
Syntax
public class UnaryExpressionFilter : BaseUnaryFilter, ISparqlFilter, IVisitable, IProcessable
Constructors
| Edit this page View SourceUnaryExpressionFilter(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 SourceAccept<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
| Edit this page View SourceAccept<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 |