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

- Packages that use SqlQuery
  Package | Description
  --- | ---
  org.apache.ignite.cache.query | Contains APIs for creating and executing cache queries.

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

    Methods in org.apache.ignite.cache.query that return SqlQuery
    Modifier and Type | Method | Description
    --- | --- | ---
    `SqlQuery<K,​V>` | SqlQuery.`setAlias​(String alias)` | Deprecated. Gets table alias for type.
    `SqlQuery<K,​V>` | SqlQuery.`setArgs​(Object... args)` | Deprecated. Sets SQL arguments.
    `SqlQuery<K,​V>` | SqlQuery.`setDistributedJoins​(boolean distributedJoins)` | Deprecated. Specify if distributed joins are enabled for this query.
    `SqlQuery<K,​V>` | SqlQuery.`setLocal​(boolean loc)` | Deprecated. Sets whether this query should be executed on local node only.
    `SqlQuery<K,​V>` | SqlQuery.`setPageSize​(int pageSize)` | Deprecated. Sets optional page size, if `0`, then default is used.
    `SqlQuery` | SqlQuery.`setPartitions​(@org.jetbrains.annotations.Nullable int... parts)` | Deprecated. Sets partitions for a query.
    `SqlQuery<K,​V>` | SqlQuery.`setReplicatedOnly​(boolean replicatedOnly)` | Deprecated. No longer used as of Apache Ignite 2.8.
    `SqlQuery<K,​V>` | SqlQuery.`setSql​(String sql)` | Deprecated. Sets SQL clause.
    `SqlQuery<K,​V>` | SqlQuery.`setTimeout​(int timeout, TimeUnit timeUnit)` | Deprecated. Sets the query execution timeout.
    `SqlQuery<K,​V>` | SqlQuery.`setType​(Class<?> type)` | Deprecated.
    `SqlQuery<K,​V>` | SqlQuery.`setType​(String type)` | Deprecated. Sets type for query.