public class PartitionQueryContextWithStats extends QueryContext
QueryContext.IndexMatchHint
indexes, ownedPartitionCount
Constructor and Description |
---|
PartitionQueryContextWithStats(Indexes indexes)
Constructs a new partition query context with stats for the given indexes.
|
Modifier and Type | Method and Description |
---|---|
Index |
matchIndex(String pattern,
QueryContext.IndexMatchHint matchHint)
Matches an index for the given pattern and match hint.
|
getIndex, getOwnedPartitionCount, setOwnedPartitionCount
public PartitionQueryContextWithStats(Indexes indexes)
indexes
- the indexes to construct the new query context for.public Index matchIndex(String pattern, QueryContext.IndexMatchHint matchHint)
QueryContext
matchIndex
in class QueryContext
pattern
- the pattern to match an index for. May be either an
attribute name or an exact index name.matchHint
- the match hint.null
if nothing matched.QueryContext.IndexMatchHint
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.