Show / Hide Table of Contents

Class BaseOperator

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

Inheritance
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

| Edit this page 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
bool
| Edit this page View Source

Operator

Gets the operator this implementation represents.

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

Methods

| Edit this page 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
| Edit this page 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
bool

True if applicable to the given inputs.

| Edit this page 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)
  • Edit this page
  • 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