Show / Hide Table of Contents

Class AggregateTerm

Class for representing Aggregate Expressions which have Numeric Results.
Inheritance
System.Object
BaseUnaryExpression
AggregateTerm
Implements
ISparqlExpression
Inherited Members
BaseUnaryExpression._expr
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.Primary
Assembly: dotNetRDF.dll
Syntax
public class AggregateTerm : BaseUnaryExpression, ISparqlExpression

Constructors

| Improve this Doc View Source

AggregateTerm(ISparqlAggregate)

Creates a new Aggregate Expression Term that uses the given Aggregate.
Declaration
public AggregateTerm(ISparqlAggregate aggregate)
Parameters
Type Name Description
ISparqlAggregate aggregate Aggregate.

Properties

| Improve this Doc View Source

Aggregate

Gets the Aggregate this Expression represents.
Declaration
public ISparqlAggregate Aggregate { get; }
Property Value
Type Description
ISparqlAggregate
| Improve this Doc View Source

Arguments

Gets the Arguments of the Expression.
Declaration
public override IEnumerable<ISparqlExpression> Arguments { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<ISparqlExpression>
Overrides
BaseUnaryExpression.Arguments
| Improve this Doc View Source

CanParallelise

Gets whether the expression can be parallelised.
Declaration
public override bool CanParallelise { get; }
Property Value
Type Description
System.Boolean
Overrides
BaseUnaryExpression.CanParallelise
| 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
BaseUnaryExpression.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
BaseUnaryExpression.Type
| Improve this Doc View Source

Variables

Gets the enumeration of variables that are used in the the aggregate expression.
Declaration
public override IEnumerable<string> Variables { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>
Overrides
BaseUnaryExpression.Variables

Methods

| Improve this Doc View Source

Evaluate(SparqlEvaluationContext, Int32)

Evaluates the aggregate expression.
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
BaseUnaryExpression.Evaluate(SparqlEvaluationContext, Int32)
| Improve this Doc View Source

ToString()

Gets the String representation of the Aggregate Expression.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
BaseUnaryExpression.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
BaseUnaryExpression.Transform(IExpressionTransformer)

Implements

ISparqlExpression

Extension Methods

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