public interface MapQueryEngine
Modifier and Type | Method and Description |
---|---|
QueryResult |
invokeQueryAllPartitions(String mapName,
Predicate predicate,
IterationType iterationType)
Queries all partitions.
|
QueryResult |
invokeQueryLocalPartitions(String mapName,
Predicate predicate,
IterationType iterationType)
Query all local partitions.
|
Set |
queryAllPartitionsWithPagingPredicate(String mapName,
PagingPredicate pagingPredicate,
IterationType iterationType)
Queries all partitions with a paging predicate.
|
QueryResult |
queryLocalPartition(String mapName,
Predicate predicate,
int partitionId,
IterationType iterationType)
Executes a query a specific local partition.
|
QueryResult |
queryLocalPartitions(String name,
Predicate predicate,
IterationType iterationType)
Executes a query on all the local partitions.
|
Set |
queryLocalPartitionsWithPagingPredicate(String mapName,
PagingPredicate pagingPredicate,
IterationType iterationType)
Query all local partitions with a paging predicate.
|
QueryResult queryLocalPartitions(String name, Predicate predicate, IterationType iterationType) throws ExecutionException, InterruptedException
name
- the name of the mappredicate
- the predicateExecutionException
InterruptedException
QueryResult queryLocalPartition(String mapName, Predicate predicate, int partitionId, IterationType iterationType)
mapName
- map name.predicate
- any predicate.partitionId
- partition id.QueryResult invokeQueryLocalPartitions(String mapName, Predicate predicate, IterationType iterationType)
queryLocalPartitions(String, Predicate, IterationType)
mapName
- map name.predicate
- except paging predicate.iterationType
- the IterationTypeQueryResult invokeQueryAllPartitions(String mapName, Predicate predicate, IterationType iterationType)
mapName
- map name.predicate
- except paging predicate.iterationType
- the IterationTypeSet queryLocalPartitionsWithPagingPredicate(String mapName, PagingPredicate pagingPredicate, IterationType iterationType)
mapName
- map name.pagingPredicate
- to queryOnMembers.iterationType
- type of IterationType
SortedQueryResultSet
Set queryAllPartitionsWithPagingPredicate(String mapName, PagingPredicate pagingPredicate, IterationType iterationType)
queryLocalPartitionsWithPagingPredicate(java.lang.String, com.hazelcast.query.PagingPredicate, com.hazelcast.util.IterationType)
mapName
- map name.pagingPredicate
- to queryOnMembers.iterationType
- type of IterationType
SortedQueryResultSet
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.