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
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Query.Operators
Assembly: dotNetRDF.dll
Syntax
public abstract class BaseOperator : ISparqlOperator, IConfigurationSerializable

Properties

| 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(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(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.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • Operator
  • Methods
    • Apply(IValuedNode[])
    • IsApplicable(IValuedNode[])
    • SerializeConfiguration(ConfigurationSerializationContext)
  • Implements
  • Extension Methods
Back to top Generated by DocFX