| 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.internal.jdbc2 | |
| org.apache.ignite.internal.processors.cache | |
| org.apache.ignite.internal.processors.query |
| Modifier and Type | Method and Description |
|---|---|
FieldsQueryCursor<List<?>> |
IgniteCache.query(SqlFieldsQuery qry)
Queries cache.
|
| 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.setPartitions(int... parts)
Sets partitions for a query.
|
SqlFieldsQuery |
SqlFieldsQuery.setReplicatedOnly(boolean replicatedOnly)
Specify if the query contains only replicated tables.
|
SqlFieldsQuery |
SqlFieldsQuery.setSchema(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.
|
| 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 |
|---|---|
FieldsQueryCursor<List<?>> |
IgniteCacheProxy.query(SqlFieldsQuery qry)
Queries cache.
|
| Modifier and Type | Method and Description |
|---|---|
FieldsQueryCursor<List<?>> |
GridQueryIndexing.queryDistributedSqlFields(String schemaName,
SqlFieldsQuery qry,
boolean keepBinary,
GridQueryCancel cancel,
Integer mainCacheId)
Parses SQL query into two step query and executes it.
|
FieldsQueryCursor<List<?>> |
GridQueryIndexing.queryLocalSqlFields(String schemaName,
SqlFieldsQuery qry,
boolean keepBinary,
IndexingQueryFilter filter,
GridQueryCancel cancel)
Queries individual fields (generally used by JDBC drivers).
|
FieldsQueryCursor<List<?>> |
GridQueryProcessor.querySqlFields(GridCacheContext<?,?> cctx,
SqlFieldsQuery qry,
boolean keepBinary)
Query SQL fields.
|
FieldsQueryCursor<List<?>> |
GridQueryProcessor.querySqlFieldsNoCache(SqlFieldsQuery qry,
boolean keepBinary)
Query SQL fields without strict dependency on concrete cache.
|
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017