Class NumericMinAggregate
Class representing NMIN Aggregate Functions.
Implements
Inherited Members
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.Leviathan
Assembly: dotNetRDF.dll
Syntax
public class NumericMinAggregate : BaseAggregate, ISparqlAggregate
Remarks
Only operates over numeric data which is typed to one of the supported SPARQL Numeric types (integers, decimals and doubles).
Constructors
| Improve this Doc View SourceNumericMinAggregate(ISparqlExpression)
Creates a new NMIN Aggregate.
Declaration
public NumericMinAggregate(ISparqlExpression expr)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression. |
NumericMinAggregate(ISparqlExpression, Boolean)
Creates a new NMIN Aggregate.
Declaration
public NumericMinAggregate(ISparqlExpression expr, bool distinct)
Parameters
Type | Name | Description |
---|---|---|
ISparqlExpression | expr | Expression. |
System.Boolean | distinct | Whether a DISTINCT modifier applies. |
NumericMinAggregate(VariableTerm)
Creates a new NMIN Aggregate.
Declaration
public NumericMinAggregate(VariableTerm expr)
Parameters
Type | Name | Description |
---|---|---|
VariableTerm | expr | Variable Expression. |
NumericMinAggregate(VariableTerm, Boolean)
Creates a new NMIN Aggregate.
Declaration
public NumericMinAggregate(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 SourceFunctor
Gets the Functor of the Aggregate.
Declaration
public override string Functor { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceApply(SparqlEvaluationContext, IEnumerable<Int32>)
Applies the Numeric Min 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
| Improve this Doc View SourceToString()
Gets the String representation of the Aggregate.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |