Show / Hide Table of Contents

Class MaxAggregate

Class representing MAX Aggregate Functions.
Inheritance
System.Object
BaseAggregate
MaxAggregate
Implements
ISparqlAggregate
Inherited Members
BaseAggregate._expr
BaseAggregate._distinct
BaseAggregate.Apply(SparqlEvaluationContext)
BaseAggregate.Expression
BaseAggregate.Type
BaseAggregate.Arguments
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.Aggregates.Sparql
Assembly: dotNetRDF.dll
Syntax
public class MaxAggregate : BaseAggregate, ISparqlAggregate

Constructors

| Improve this Doc View Source

MaxAggregate(ISparqlExpression)

Creates a new MAX Aggregate.
Declaration
public MaxAggregate(ISparqlExpression expr)
Parameters
Type Name Description
ISparqlExpression expr Expression.
| Improve this Doc View Source

MaxAggregate(ISparqlExpression, Boolean)

Creates a new MAX Aggregate.
Declaration
public MaxAggregate(ISparqlExpression expr, bool distinct)
Parameters
Type Name Description
ISparqlExpression expr Expression.
System.Boolean distinct Whether a DISTINCT modifier applies.
| Improve this Doc View Source

MaxAggregate(ISparqlExpression, ISparqlExpression)

Creates a new MAX Aggregate.
Declaration
public MaxAggregate(ISparqlExpression distinct, ISparqlExpression expr)
Parameters
Type Name Description
ISparqlExpression distinct Distinct Modifier.
ISparqlExpression expr Expression.
| Improve this Doc View Source

MaxAggregate(VariableTerm)

Creates a new MAX Aggregate.
Declaration
public MaxAggregate(VariableTerm expr)
Parameters
Type Name Description
VariableTerm expr Variable Expression.
| Improve this Doc View Source

MaxAggregate(VariableTerm, Boolean)

Creates a new MAX Aggregate.
Declaration
public MaxAggregate(VariableTerm expr, bool distinct)
Parameters
Type Name Description
VariableTerm expr Variable Expression.
System.Boolean distinct Whether a DISTINCT modifier applies.

Properties

| Improve this Doc View Source

Functor

Gets the Functor of the Aggregate.
Declaration
public override string Functor { get; }
Property Value
Type Description
System.String
Overrides
BaseAggregate.Functor

Methods

| Improve this Doc View Source

Apply(SparqlEvaluationContext, IEnumerable<Int32>)

Applies the Max Aggregate function to the results.
Declaration
public override IValuedNode Apply(SparqlEvaluationContext context, IEnumerable<int> bindingIDs)
Parameters
Type Name Description
SparqlEvaluationContext context Evaluation Context.
System.Collections.Generic.IEnumerable<System.Int32> bindingIDs Binding IDs over which the Aggregate applies.
Returns
Type Description
IValuedNode
Overrides
BaseAggregate.Apply(SparqlEvaluationContext, IEnumerable<Int32>)
| Improve this Doc View Source

ToString()

Gets the String representation of the Aggregate.
Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
BaseAggregate.ToString()

Implements

ISparqlAggregate

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • MaxAggregate(ISparqlExpression)
    • MaxAggregate(ISparqlExpression, Boolean)
    • MaxAggregate(ISparqlExpression, ISparqlExpression)
    • MaxAggregate(VariableTerm)
    • MaxAggregate(VariableTerm, Boolean)
  • Properties
    • Functor
  • Methods
    • Apply(SparqlEvaluationContext, IEnumerable<Int32>)
    • ToString()
  • Implements
  • Extension Methods
Back to top Generated by DocFX