Show / Hide Table of Contents

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 Source

IsExtension

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
| Improve this Doc View Source

Operator

Gets the Operator this is an implementation of.

Declaration
SparqlOperatorType Operator { get; }
Property Value
Type Description
SparqlOperatorType

Methods

| Improve this Doc View Source

Apply(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.

| Improve this Doc View Source

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.

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • IsExtension
    • Operator
  • Methods
    • Apply(params IValuedNode[])
    • IsApplicable(params IValuedNode[])
  • Extension Methods
Back to top Generated by DocFX