Show / Hide Table of Contents

Class AdditionExpression

Class representing Arithmetic Addition expressions.
Inheritance
System.Object
BaseBinaryExpression
AdditionExpression
Implements
ISparqlExpression
Inherited Members
BaseBinaryExpression._leftExpr
BaseBinaryExpression._rightExpr
BaseBinaryExpression.Variables
BaseBinaryExpression.Arguments
BaseBinaryExpression.CanParallelise
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)
Namespace: VDS.RDF.Query.Expressions.Arithmetic
Assembly: dotNetRDF.dll
Syntax
public class AdditionExpression : BaseBinaryExpression, ISparqlExpression

Constructors

| Improve this Doc View Source

AdditionExpression(ISparqlExpression, ISparqlExpression)

Creates a new Addition Expression.
Declaration
public AdditionExpression(ISparqlExpression leftExpr, ISparqlExpression rightExpr)
Parameters
Type Name Description
ISparqlExpression leftExpr Left Hand Expression.
ISparqlExpression rightExpr Right Hand Expression.

Properties

| Improve this Doc View Source

Functor

Gets the Functor of the Expression.
Declaration
public override string Functor { get; }
Property Value
Type Description
System.String
Overrides
BaseBinaryExpression.Functor
| Improve this Doc View Source

Type

Gets the Type of the Expression.
Declaration
public override SparqlExpressionType Type { get; }
Property Value
Type Description
SparqlExpressionType
Overrides
BaseBinaryExpression.Type

Methods

| Improve this Doc View Source

Evaluate(SparqlEvaluationContext, Int32)

Calculates the Numeric Value of this Expression as evaluated for a given Binding.
Declaration
public override IValuedNode Evaluate(SparqlEvaluationContext context, int bindingID)
Parameters
Type Name Description
SparqlEvaluationContext context Evaluation Context.
System.Int32 bindingID Binding ID.
Returns
Type Description
IValuedNode
Overrides
BaseBinaryExpression.Evaluate(SparqlEvaluationContext, Int32)
| Improve this Doc View Source

ToString()

Gets the String representation of this Expression.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
BaseBinaryExpression.ToString()
| Improve this Doc View Source

Transform(IExpressionTransformer)

Transforms the Expression using the given Transformer.
Declaration
public override ISparqlExpression Transform(IExpressionTransformer transformer)
Parameters
Type Name Description
IExpressionTransformer transformer Expression Transformer.
Returns
Type Description
ISparqlExpression
Overrides
BaseBinaryExpression.Transform(IExpressionTransformer)

Implements

ISparqlExpression

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • AdditionExpression(ISparqlExpression, ISparqlExpression)
  • Properties
    • Functor
    • Type
  • Methods
    • Evaluate(SparqlEvaluationContext, Int32)
    • ToString()
    • Transform(IExpressionTransformer)
  • Implements
  • Extension Methods
Back to top Generated by DocFX