Interface ISparqlOperator
Interface which represents an operator in SPARQL e.g. +.
Namespace: VDS.RDF.Query.Operators
Assembly: dotNetRdf.dll
Syntax
public interface ISparqlOperator
Properties
| Improve this Doc View SourceIsExtension
Get the flag that indicates if this operator is an extension to the set of operators defined in the SPARQL specification.
Declaration
bool IsExtension { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Operator
Gets the Operator this is an implementation of.
Declaration
SparqlOperatorType Operator { get; }
Property Value
| Type | Description |
|---|---|
| SparqlOperatorType |
Methods
| Improve this Doc View SourceApply(params IValuedNode[])
Applies the operator to the given inputs.
Declaration
IValuedNode Apply(params IValuedNode[] ns)
Parameters
| Type | Name | Description |
|---|---|---|
| IValuedNode[] | ns | Inputs. |
Returns
| Type | Description |
|---|---|
| IValuedNode |
Exceptions
| Type | Condition |
|---|---|
| RdfQueryException | Thrown if an error occurs in applying the operator. |
IsApplicable(params IValuedNode[])
Gets whether the operator can be applied to the given inputs.
Declaration
bool IsApplicable(params IValuedNode[] ns)
Parameters
| Type | Name | Description |
|---|---|---|
| IValuedNode[] | ns | Inputs. |
Returns
| Type | Description |
|---|---|
| System.Boolean | True if applicable to the given inputs. |