public class GlobalQueryContextWithStats extends QueryContext
QueryContext.IndexMatchHint
indexes, ownedPartitionCount
Constructor and Description |
---|
GlobalQueryContextWithStats() |
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 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. 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.IndexMatchHint
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.