public class PartitionQueryContextProviderWithStats extends Object implements QueryContextProvider
| Constructor and Description |
|---|
PartitionQueryContextProviderWithStats(Indexes indexes)
Constructs a new partition query context provider with stats for the given
indexes.
|
| Modifier and Type | Method and Description |
|---|---|
QueryContext |
obtainContextFor(Indexes indexes)
Obtains a query context for the given indexes.
|
public PartitionQueryContextProviderWithStats(Indexes indexes)
indexes - the indexes to construct the new query context for.public QueryContext obtainContextFor(Indexes indexes)
QueryContextProviderThe returned query context instance is valid for a duration of a single query and should be re-obtained for every query.
obtainContextFor in interface QueryContextProviderindexes - the indexes to obtain the query context for.Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.