|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MapContextQuerySupport
Support interface which is used in map specific query operations.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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 IterationType
dataResult
- true
if results should contain Data
types,
false
for object types.
QueryResultSet
Set queryLocalMemberWithPagingPredicate(String mapName, PagingPredicate pagingPredicate, IterationType iterationType)
mapName
- map name.pagingPredicate
- to queryOnMembers.iterationType
- type of IterationType
SortedQueryResultSet
Set queryWithPagingPredicate(String mapName, PagingPredicate pagingPredicate, IterationType iterationType)
mapName
- map name.pagingPredicate
- to queryOnMembers.iterationType
- type of IterationType
SortedQueryResultSet
Set query(String mapName, Predicate predicate, IterationType iterationType, boolean dataResult)
mapName
- map name.predicate
- except paging predicate.iterationType
- type of IterationType
dataResult
- true
if results should contain Data
types,
false
for object types.
QueryResultSet
QueryResult 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 limit
QueryResult
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |