public class AggregationResultProcessor extends Object implements ResultProcessor<AggregationResult>
AggregationResult
sConstructor and Description |
---|
AggregationResultProcessor(AccumulationExecutor accumulationExecutor,
SerializationService serializationService) |
Modifier and Type | Method and Description |
---|---|
AggregationResult |
populateResult(Query query,
long resultLimit)
Populate an empty result for the given query type.
|
AggregationResult |
populateResult(Query query,
long resultLimit,
Collection<QueryableEntry> entries,
Collection<Integer> partitionIds)
Populate an non-empty result for the given query type.
|
public AggregationResultProcessor(AccumulationExecutor accumulationExecutor, SerializationService serializationService)
public AggregationResult populateResult(Query query, long resultLimit, Collection<QueryableEntry> entries, Collection<Integer> partitionIds)
ResultProcessor
populateResult
in interface ResultProcessor<AggregationResult>
query
- given queryresultLimit
- given resultLimitentries
- entries to add to the result topartitionIds
- partitionIds where the given entries residepublic AggregationResult populateResult(Query query, long resultLimit)
ResultProcessor
populateResult
in interface ResultProcessor<AggregationResult>
query
- given queryresultLimit
- given resultLimit (ignored)Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.