.NET Client Documentation
5.1.1
Search Results for

    Show / Hide Table of Contents

    AggregateAsync Method

    AggregateAsync<TResult>(IAggregator<TResult>)

    Aggregates values.

    Declaration
    Task<TResult> AggregateAsync<TResult>(IAggregator<TResult> aggregator)
    Parameters
    IAggregator<TResult> aggregator

    The aggregator.

    Returns
    Task<TResult>

    The result of the aggregation.

    Type Parameters
    TResult

    The type of the result.

    Remarks

    The aggregator must be serializable via Hazelcast serialization, and have a counterpart on the server.

    AggregateAsync<TResult>(IAggregator<TResult>, IPredicate)

    Aggregates values.

    Declaration
    Task<TResult> AggregateAsync<TResult>(IAggregator<TResult> aggregator, IPredicate predicate)
    Parameters
    IAggregator<TResult> aggregator

    The aggregator.

    IPredicate predicate

    A predicate to filter the entries with.

    Returns
    Task<TResult>

    The result of the aggregation.

    Type Parameters
    TResult

    The type of the result.

    Remarks

    The aggregator and predicate must be serializable via Hazelcast serialization, and have a counterpart on the server.

    In This Article
    Back to top Copyright © 2010-2022 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.