Show / Hide Table of Contents

Class SumAggregate

Class representing SUM Aggregate Functions.

Inheritance
System.Object
BaseAggregate
SumAggregate
Implements
ISparqlAggregate
Inherited Members
BaseAggregate._expr
BaseAggregate._distinct
BaseAggregate.Expression
BaseAggregate.Distinct
BaseAggregate.Type
BaseAggregate.Arguments
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Query.Aggregates.Sparql
Assembly: dotNetRdf.dll
Syntax
public class SumAggregate : BaseAggregate, ISparqlAggregate

Constructors

| Improve this Doc View Source

SumAggregate(ISparqlExpression, bool)

Creates a new SUM Aggregate.

Declaration
public SumAggregate(ISparqlExpression expr, bool distinct)
Parameters
Type Name Description
ISparqlExpression expr

Expression.

System.Boolean distinct

Whether a DISTINCT modifier applies.

| Improve this Doc View Source

SumAggregate(ISparqlExpression)

Creates a new SUM Aggregate.

Declaration
public SumAggregate(ISparqlExpression expr)
Parameters
Type Name Description
ISparqlExpression expr

Expression.

| Improve this Doc View Source

SumAggregate(VariableTerm, bool)

Creates a new SUM Aggregate.

Declaration
public SumAggregate(VariableTerm expr, bool distinct)
Parameters
Type Name Description
VariableTerm expr

Variable Expression.

System.Boolean distinct

Whether a DISTINCT modifier applies.

| Improve this Doc View Source

SumAggregate(VariableTerm)

Creates a new SUM Aggregate.

Declaration
public SumAggregate(VariableTerm expr)
Parameters
Type Name Description
VariableTerm expr

Variable Expression.

Properties

| Improve this Doc View Source

Functor

Gets the Functor of the Aggregate.

Declaration
public override string Functor { get; }
Property Value
Type Description
string
Overrides
BaseAggregate.Functor

Methods

| Improve this Doc View Source

Accept<TResult, TContext, TBinding>(ISparqlAggregateProcessor<TResult, TContext, TBinding>, TContext, IEnumerable<TBinding>)

Declaration
public override TResult Accept<TResult, TContext, TBinding>(ISparqlAggregateProcessor<TResult, TContext, TBinding> processor, TContext context, IEnumerable<TBinding> bindings)
Parameters
Type Name Description
ISparqlAggregateProcessor<TResult, TContext, TBinding> processor
TContext context
System.Collections.Generic.IEnumerable<T><TBinding> bindings
Returns
Type Description
TResult
Type Parameters
Name Description
TResult
TContext
TBinding
Overrides
VDS.RDF.Query.Aggregates.BaseAggregate.Accept<TResult, TContext, TBinding>(VDS.RDF.Query.ISparqlAggregateProcessor<TResult, TContext, TBinding>, TContext, System.Collections.Generic.IEnumerable<TBinding>)
| Improve this Doc View Source

ToString()

Gets the String representation of the Aggregate.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
BaseAggregate.ToString()

Implements

ISparqlAggregate

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • SumAggregate(ISparqlExpression, bool)
    • SumAggregate(ISparqlExpression)
    • SumAggregate(VariableTerm, bool)
    • SumAggregate(VariableTerm)
  • Properties
    • Functor
  • Methods
    • Accept<TResult, TContext, TBinding>(ISparqlAggregateProcessor<TResult, TContext, TBinding>, TContext, IEnumerable<TBinding>)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX