public class GlobalQueryContextProviderWithStats extends Object implements QueryContextProvider
Constructor and Description |
---|
GlobalQueryContextProviderWithStats() |
Modifier and Type | Method and Description |
---|---|
QueryContext |
obtainContextFor(Indexes indexes)
Obtains a query context for the given indexes.
|
public QueryContext obtainContextFor(Indexes indexes)
QueryContextProvider
The returned query context instance is valid for a duration of a single query and should be re-obtained for every query.
obtainContextFor
in interface QueryContextProvider
indexes
- the indexes to obtain the query context for.Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.