Class BaseOperator
Abstract base class for SPARQL Operators which also makes their configuration serializable.
Inheritance
System.Object
    BaseOperator
      
      
      
  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, IConfigurationSerializableProperties
| 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
public abstract bool IsExtension { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Operator
Gets the operator this implementation represents.
Declaration
public abstract SparqlOperatorType Operator { get; }Property Value
| Type | Description | 
|---|---|
| SparqlOperatorType | 
Methods
| Improve this Doc View SourceApply(params IValuedNode[])
Applies the operator.
Declaration
public abstract IValuedNode Apply(params IValuedNode[] ns)Parameters
| Type | Name | Description | 
|---|---|---|
| IValuedNode[] | ns | Inputs. | 
Returns
| Type | Description | 
|---|---|
| IValuedNode | 
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. | 
SerializeConfiguration(ConfigurationSerializationContext)
Serializes the configuration of the operator.
Declaration
public virtual void SerializeConfiguration(ConfigurationSerializationContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| ConfigurationSerializationContext | context | Serialization Context. |