Interface IComputeReducer<TRes, TReduceRes>
Compute reducer which is capable of result collecting and reducing.
Namespace: Apache.Ignite.Core.Compute
Assembly: Apache.Ignite.Core.dll
Syntax
public interface IComputeReducer<in TRes, out TReduceRes>
Type Parameters
Name | Description |
---|---|
TRes | Type of results passed for reducing. |
TReduceRes | Type of reduced result. |
Methods
Collect(TRes)
Collect closure execution result.
Declaration
bool Collect(TRes res)
Parameters
Type | Name | Description |
---|---|---|
TRes | res | Result. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Reduce()
Reduce closure execution results collected earlier.
Declaration
TReduceRes Reduce()
Returns
Type | Description |
---|---|
TReduceRes | Reduce result. |