Execute query, apply statement's aggregation function, call action for each aggregation
object returned from server.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
void QueryAggregate( QueryPolicy policy, Statement statement, Action<Object> action )
Parameters
- policy
- Type: Aerospike.ClientQueryPolicy
query configuration parameters, pass in null for defaults - statement
- Type: Aerospike.ClientStatement
query definition with aggregate functions already initialized by SetAggregateFunction(). - action
- Type: SystemActionObject
action methods to be called for each aggregation object
Exceptions
Exception | Condition |
---|---|
AerospikeException | if query fails |
See Also