## Uses of Class
org.apache.ignite.cache.query.Query

- Packages that use Query
  Package | Description
  --- | ---
  org.apache.ignite | Contains entry-point Ignite & HPC APIs.
  org.apache.ignite.cache.query | Contains APIs for creating and executing cache queries.
  org.apache.ignite.client | Contains Ignite Thin Client API classes.

- - ### Uses of Query in org.apache.ignite

    Methods in org.apache.ignite with parameters of type Query
    Modifier and Type | Method | Description
    --- | --- | ---
    `<R> QueryCursor<R>` | IgniteCache.`query​(Query<R> qry)` | Queries cache.
    `<T,​R> QueryCursor<R>` | IgniteCache.`query​(Query<T> qry, IgniteClosure<T,​R> transformer)` | Queries the cache transforming the entries on the server nodes.

  - ### Uses of Query in org.apache.ignite.cache.query

    Subclasses of Query in org.apache.ignite.cache.query
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AbstractContinuousQuery<K,​V>` | Base class for continuous query.
    `class` | `ContinuousQuery<K,​V>` | API for configuring continuous cache queries.
    `class` | `ContinuousQueryWithTransformer<K,​V,​T>` | API for configuring continuous cache queries with transformer.
    `class` | `IndexQuery<K,​V>` | Index queries work over distributed indexes and retrieve cache entries that match the specified criteria.
    `class` | `ScanQuery<K,​V>` | Scan query over cache entries.
    `class` | `SpiQuery<K,​V>` | Deprecated. Use `ScanQuery`, `SqlFieldsQuery`, `IndexQuery` instead.
    `class` | `SqlFieldsQuery` | SQL Fields query.
    `class` | `SqlQuery<K,​V>` | Deprecated. Since 2.8, please use `SqlFieldsQuery` instead.
    `class` | `TextQuery<K,​V>` | Full Text Queries

    Methods in org.apache.ignite.cache.query that return Query
    Modifier and Type | Method | Description
    --- | --- | ---
    `Query<javax.cache.Cache.Entry<K,​V>>` | AbstractContinuousQuery.`getInitialQuery()` | Gets initial query.
    `Query<R>` | Query.`setLocal​(boolean loc)` | Sets whether this query should be executed on local node only.
    `Query<R>` | Query.`setPageSize​(int pageSize)` | Sets optional page size, if `0`, then default is used.

    Methods in org.apache.ignite.cache.query with parameters of type Query
    Modifier and Type | Method | Description
    --- | --- | ---
    `AbstractContinuousQuery<K,​V>` | AbstractContinuousQuery.`setInitialQuery​(Query<javax.cache.Cache.Entry<K,​V>> initQry)` | Sets initial query.
    `ContinuousQuery<K,​V>` | ContinuousQuery.`setInitialQuery​(Query<javax.cache.Cache.Entry<K,​V>> initQry)` | Sets initial query.
    `ContinuousQueryWithTransformer<K,​V,​T>` | ContinuousQueryWithTransformer.`setInitialQuery​(Query<javax.cache.Cache.Entry<K,​V>> initQry)` | Sets initial query.

  - ### Uses of Query in org.apache.ignite.client

    Methods in org.apache.ignite.client with parameters of type Query
    Modifier and Type | Method | Description
    --- | --- | ---
    `<R> QueryCursor<R>` | ClientCache.`query​(Query<R> qry)` | Queries cache.