Show / Hide Table of Contents

Class BaseOperator

Abstract base class for SPARQL Operators which also makes their configuration serializable.

Inheritance
System.Object
BaseOperator
BaseDateTimeOperator
BaseTimeSpanOperator
BaseNumericOperator
Implements
ISparqlOperator
IConfigurationSerializable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Query.Operators
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseOperator : ISparqlOperator, IConfigurationSerializable

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
public abstract bool IsExtension { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Operator

Gets the operator this implementation represents.

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

Methods

| Improve this Doc View Source

Apply(params IValuedNode[])

Applies the operator.

Declaration
public abstract IValuedNode Apply(params IValuedNode[] ns)
Parameters
Type Name Description
IValuedNode[] ns

Inputs.

Returns
Type Description
IValuedNode
| Improve this Doc View Source

IsApplicable(params IValuedNode[])

Gets whether the operator can be applied to the given inputs.

Declaration
public abstract bool IsApplicable(params IValuedNode[] ns)
Parameters
Type Name Description
IValuedNode[] ns

Inputs.

Returns
Type Description
System.Boolean

True if applicable to the given inputs.

| Improve this Doc View Source

SerializeConfiguration(ConfigurationSerializationContext)

Serializes the configuration of the operator.

Declaration
public virtual void SerializeConfiguration(ConfigurationSerializationContext context)
Parameters
Type Name Description
ConfigurationSerializationContext context

Serialization Context.

Implements

ISparqlOperator
IConfigurationSerializable

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[])
    • SerializeConfiguration(ConfigurationSerializationContext)
  • Implements
  • Extension Methods
Back to top Generated by DocFX