| Package | Description |
|---|---|
| org.apache.ignite.cache.query |
Contains APIs for creating and executing cache queries.
|
| org.apache.ignite.internal.jdbc2 | |
| org.apache.ignite.internal.processors.query |
| Modifier and Type | Method and Description |
|---|---|
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.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.setSql(String sql)
Sets SQL clause.
|
SqlFieldsQuery |
SqlFieldsQuery.setTimeout(int timeout,
TimeUnit timeUnit)
Sets the query execution timeout.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JdbcSqlFieldsQuery
SqlFieldsQuery with JDBC flavor - it has additional flag indicating whether JDBC driver expects
this query to return a result set or an update counter. |
| Modifier and Type | Method and Description |
|---|---|
QueryCursor<List<?>> |
GridQueryProcessor.queryLocalFields(GridCacheContext<?,?> cctx,
SqlFieldsQuery qry) |
QueryCursor<List<?>> |
GridQueryProcessor.queryTwoStep(GridCacheContext<?,?> cctx,
SqlFieldsQuery qry) |
QueryCursor<List<?>> |
GridQueryIndexing.queryTwoStep(GridCacheContext<?,?> cctx,
SqlFieldsQuery qry,
GridQueryCancel cancel)
Parses SQL query into two step query and executes it.
|
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016