## 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)` Gets table alias for type.
`SqlQuery<K,V>` SqlQuery.`setArgs(Object... args)` Sets SQL arguments.
`SqlQuery<K,V>` SqlQuery.`setDistributedJoins(boolean distributedJoins)` Specify if distributed joins are enabled for this query.
`SqlQuery<K,V>` SqlQuery.`setLocal(boolean loc)` Sets whether this query should be executed on local node only.
`SqlQuery<K,V>` SqlQuery.`setPageSize(int pageSize)` Sets optional page size, if `0`, then default is used.
`SqlQuery` SqlQuery.`setPartitions(int... parts)` Sets partitions for a query.
`SqlQuery<K,V>` SqlQuery.`setReplicatedOnly(boolean replicatedOnly)` Specify if the query contains only replicated tables.
`SqlQuery<K,V>` SqlQuery.`setSql(String sql)` Sets SQL clause.
`SqlQuery<K,V>` SqlQuery.`setTimeout(int timeout, TimeUnit timeUnit)` Sets the query execution timeout.
`SqlQuery<K,V>` SqlQuery.`setType(Class<?> type)`
`SqlQuery<K,V>` SqlQuery.`setType(String type)` 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
`<K,V> QueryCursor<javax.cache.Cache.Entry<K,V>>` GridQueryIndexing.`queryDistributedSql(String schemaName, String cacheName, SqlQuery qry, boolean keepBinary)` Parses SQL query into two step query and executes it.
`<K,V> QueryCursor<javax.cache.Cache.Entry<K,V>>` GridQueryIndexing.`queryLocalSql(String schemaName, String cacheName, SqlQuery qry, IndexingQueryFilter filter, boolean keepBinary)` Executes regular query.
`<K,V> QueryCursor<javax.cache.Cache.Entry<K,V>>` GridQueryProcessor.`querySql(GridCacheContext<?,?> cctx, SqlQuery qry, boolean keepBinary)` Execute distributed SQL query.

${current.year} Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Database and Caching Platform | : ver. 2.7.6
Release Date | : September 11 2019