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

Packages that use SqlQuery
org.apache.ignite.cache.query: Contains APIs for creating and executing cache queries.
org.apache.ignite.internal.processors.query

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

Methods in org.apache.ignite.cache.query that return SqlQuery
`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.

### Uses of SqlQuery in org.apache.ignite.internal.processors.query

Methods in org.apache.ignite.internal.processors.query with parameters of type SqlQuery
`SqlFieldsQuery` GridQueryIndexing.`generateFieldsQuery​(String cacheName, SqlQuery qry)` Generate SqlFieldsQuery from SqlQuery.
`<K,​V> QueryCursor<javax.cache.Cache.Entry<K,​V>>` GridQueryProcessor.`querySql​(GridCacheContext<?,​?> cctx, SqlQuery qry, boolean keepBinary)` Execute distributed SQL query.