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

- Packages that use SqlFieldsQuery
  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 SqlFieldsQuery in org.apache.ignite

    Methods in org.apache.ignite with parameters of type SqlFieldsQuery
    Modifier and Type | Method | Description
    --- | --- | ---
    `FieldsQueryCursor<List<?>>` | IgniteCache.`query​(SqlFieldsQuery qry)` | Queries cache.
    `FieldsQueryCursor<List<?>>` | IgniteClientSpringBean.`query​(SqlFieldsQuery qry)` | Execute SQL query and get cursor to iterate over results.

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

    Methods in org.apache.ignite.cache.query that return SqlFieldsQuery
    Modifier and Type | Method | Description
    --- | --- | ---
    `SqlFieldsQuery` | SqlFieldsQuery.`copy()` |
    `SqlFieldsQuery` | SqlFieldsQuery.`setArgs​(Object... args)` | Sets SQL arguments.
    `SqlFieldsQuery` | SqlFieldsQuery.`setCollocated​(boolean collocated)` | Sets flag defining if this query is collocated.
    `SqlFieldsQuery` | SqlFieldsQuery.`setDistributedJoins​(boolean distributedJoins)` | Specify if distributed joins are enabled for this query.
    `SqlFieldsQuery` | SqlFieldsQuery.`setEnforceJoinOrder​(boolean enforceJoinOrder)` | Sets flag to enforce join order of tables in the query.
    `SqlFieldsQuery` | SqlFieldsQuery.`setLazy​(boolean lazy)` | Deprecated. Use `setPageSize(int)` instead.
    `SqlFieldsQuery` | SqlFieldsQuery.`setLocal​(boolean loc)` | Sets whether this query should be executed on local node only.
    `SqlFieldsQuery` | SqlFieldsQuery.`setPageSize​(int pageSize)` | Sets optional page size, if `0`, then default is used.
    `SqlFieldsQuery` | SqlFieldsQuery.`setPartitions​(@org.jetbrains.annotations.Nullable int... parts)` | Sets partitions for a query.
    `SqlFieldsQuery` | SqlFieldsQuery.`setQueryInitiatorId​(String qryInitiatorId)` |
    `SqlFieldsQuery` | SqlFieldsQuery.`setReplicatedOnly​(boolean replicatedOnly)` | Deprecated. No longer used as of Apache Ignite 2.8.
    `SqlFieldsQuery` | SqlFieldsQuery.`setSchema​(@Nullable String schema)` | Set schema for the query.
    `SqlFieldsQuery` | SqlFieldsQuery.`setSql​(String sql)` | Sets SQL clause.
    `SqlFieldsQuery` | SqlFieldsQuery.`setTimeout​(int timeout, TimeUnit timeUnit)` | Sets the query execution timeout.
    `SqlFieldsQuery` | SqlFieldsQuery.`setUpdateBatchSize​(int updateBatchSize)` | Sets update internal bach size.

    Constructors in org.apache.ignite.cache.query with parameters of type SqlFieldsQuery
    Constructor | Description
    --- | ---
    `SqlFieldsQuery​(SqlFieldsQuery qry)` | Copy constructs SQL fields query.

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

    Methods in org.apache.ignite.client with parameters of type SqlFieldsQuery
    Modifier and Type | Method | Description
    --- | --- | ---
    `FieldsQueryCursor<List<?>>` | ClientCache.`query​(SqlFieldsQuery qry)` | Convenience method to execute `SqlFieldsQuery`.
    `FieldsQueryCursor<List<?>>` | IgniteClient.`query​(SqlFieldsQuery qry)` | Execute SQL query and get cursor to iterate over results.