public class PartitionQueryContextWithStats extends QueryContext
QueryContext.IndexMatchHintindexes, 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, setOwnedPartitionCountpublic PartitionQueryContextWithStats(Indexes indexes)
indexes - the indexes to construct the new query context for.public Index matchIndex(String pattern, QueryContext.IndexMatchHint matchHint)
QueryContextmatchIndex in class QueryContextpattern - the pattern to match an index for. May be either an
attribute name or an exact index name. It's a caller's
responsibility to canonicalize the passed pattern as
specified by PredicateUtils.canonicalizeAttribute(java.lang.String)
and Index.getName().matchHint - the match hint.null if nothing matched.QueryContext.IndexMatchHintCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.