Class MaxAggregate
Class representing MAX Aggregate Functions.
Implements
Inherited Members
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 MaxAggregate : BaseAggregate, ISparqlAggregate
Constructors
| Improve this Doc View SourceMaxAggregate(ISparqlExpression, bool)
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. |
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. |
MaxAggregate(ISparqlExpression)
Creates a new MAX Aggregate.
Declaration
public MaxAggregate(ISparqlExpression expr)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression. |
MaxAggregate(VariableTerm, bool)
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. |
MaxAggregate(VariableTerm)
Creates a new MAX Aggregate.
Declaration
public MaxAggregate(VariableTerm expr)
Parameters
Type | Name | Description |
---|---|---|
VariableTerm | expr | Variable Expression. |
Properties
| Improve this Doc View SourceFunctor
Gets the Functor of the Aggregate.
Declaration
public override string Functor { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
| Improve this Doc View SourceVariable
Get the name of the variable that is aggregated if the aggregation operates on a simple variable term, otherwise this property will return null.
Declaration
public string Variable { get; }
Property Value
Type | Description |
---|---|
string |
Methods
| Improve this Doc View SourceAccept<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 |