IPgCombinableAggregate<TState>
Namespace: Ankus
Assembly: Ankus.Runtime.dll
Combines partial aggregate states for parallel or partial aggregation.
public interface IPgCombinableAggregate<TState>Type parameters:
TState
The state, including SQL nullability.
Methods
Section titled “Methods”Combine(PgAggregateContext, TState, TState)
Section titled “Combine(PgAggregateContext, TState, TState)”Merges a partial state into state owned by the destination invocation.
public static abstract TState Combine(PgAggregateContext context, TState state, TState other)Parameters:
context — PgAggregateContext
The destination invocation and state owner.
state — TState
The destination state.
other — TState
The borrowed partial state.
Returns: TState
State owned by the destination.