public interface MapContextQuerySupport
| Modifier and Type | Method and Description |
|---|---|
QueryResult |
newQueryResult(int numberOfPartitions)
Creates a
QueryResult with configured result limit (according to the number of partitions) if feature is enabled. |
Set |
query(String mapName,
Predicate predicate,
IterationType iterationType,
boolean dataResult)
Used for predicates which queries on all members, except paging predicate.
|
Set |
queryLocalMember(String mapName,
Predicate predicate,
IterationType iterationType,
boolean dataResult)
Used for predicates which queries on node local entries, except paging predicate.
|
Set |
queryLocalMemberWithPagingPredicate(String mapName,
PagingPredicate pagingPredicate,
IterationType iterationType)
Used for paging predicate queries on node local entries.
|
Collection<QueryableEntry> |
queryOnPartition(String mapName,
Predicate predicate,
int partitionId)
Query a specific partition.
|
Set |
queryWithPagingPredicate(String mapName,
PagingPredicate pagingPredicate,
IterationType iterationType)
Used for paging predicate queries on all members.
|
Collection<QueryableEntry> queryOnPartition(String mapName, Predicate predicate, int partitionId)
mapName - map name.predicate - any predicate.partitionId - partition id.Set queryLocalMember(String mapName, Predicate predicate, IterationType iterationType, boolean dataResult)
mapName - map name.predicate - except paging predicate.iterationType - type of IterationTypedataResult - true if results should contain Data types,
false for object types.QueryResultSetSet queryLocalMemberWithPagingPredicate(String mapName, PagingPredicate pagingPredicate, IterationType iterationType)
mapName - map name.pagingPredicate - to queryOnMembers.iterationType - type of IterationTypeSortedQueryResultSetSet queryWithPagingPredicate(String mapName, PagingPredicate pagingPredicate, IterationType iterationType)
mapName - map name.pagingPredicate - to queryOnMembers.iterationType - type of IterationTypeSortedQueryResultSetSet query(String mapName, Predicate predicate, IterationType iterationType, boolean dataResult)
mapName - map name.predicate - except paging predicate.iterationType - type of IterationTypedataResult - true if results should contain Data types,
false for object types.QueryResultSetQueryResult newQueryResult(int numberOfPartitions)
QueryResult with configured result limit (according to the number of partitions) if feature is enabled.numberOfPartitions - number of partitions to calculate result limitQueryResultCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.