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