User-defined Aggregate will input and output columns of type T.
By definition, this aggregate must be able to be executed in
arbitrary order and produce the same result. SUM is recursive since
SUM(a,b,c) = SUM( SUM(a),SUM(b,c) )
COUNT is not recursive since COUNT(a,b,c) != COUNT( COUNT(a), COUNT(a,b) )
Namespace: ScopeRuntimeAssembly: ScopeRuntime (in ScopeRuntime.exe) Version: 1.0.0.0 (10.2.2.0)
Syntax
C# |
---|
public abstract class RecursiveAggregate<T> : Aggregate |
Visual Basic |
---|
Public MustInherit Class RecursiveAggregate(Of T) _ Inherits Aggregate |
Visual C++ |
---|
generic<typename T> public ref class RecursiveAggregate abstract : public Aggregate |
Type Parameters
- T
- The type of the output (which is also the type of the input)
Inheritance Hierarchy
Object
Aggregate
ScopeRuntime..::..RecursiveAggregate<(Of <(<'T>)>)>
Aggregate
ScopeRuntime..::..RecursiveAggregate<(Of <(<'T>)>)>