public interface QueryContextProvider
Indexes
to execute queries.Modifier and Type | Method and Description |
---|---|
QueryContext |
obtainContextFor(Indexes indexes,
int ownedPartitionCount)
Obtains a query context for the given indexes.
|
QueryContext obtainContextFor(Indexes indexes, int ownedPartitionCount)
The returned query context instance is valid for a duration of a single query and should be re-obtained for every query.
indexes
- the indexes to obtain the query context for.ownedPartitionCount
- a count of owned partitions a query runs on.
Negative value indicates that the value is not defined.Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.