public class GridCacheLocalQueryManager<K,V> extends GridCacheQueryManager<K,V>
GridCacheQueryManager.CacheSqlIndexMetadata, GridCacheQueryManager.CacheSqlMetadata, GridCacheQueryManager.QueryResult<K,V>, GridCacheQueryManager.RequestFutureMap, GridCacheQueryManager.ScanQueryIterator<K,V>cctx, log, starting| Constructor and Description |
|---|
GridCacheLocalQueryManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
loadPage(long id,
GridCacheQueryAdapter<?> qry,
Collection<ClusterNode> nodes,
boolean all)
Loads page.
|
protected boolean |
onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
@Nullable List<GridQueryFieldMetadata> metaData,
@Nullable Collection<?> entities,
@Nullable Collection<?> data,
boolean finished,
@Nullable Throwable e) |
protected boolean |
onPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
Collection<?> data,
boolean finished,
Throwable e)
Called when data for page is ready.
|
CacheQueryFuture<?> |
queryDistributed(GridCacheQueryBean qry,
Collection<ClusterNode> nodes)
Executes distributed query.
|
CacheQueryFuture<?> |
queryFieldsDistributed(GridCacheQueryBean qry,
Collection<ClusterNode> nodes)
Executes distributed fields query.
|
CacheQueryFuture<?> |
queryFieldsLocal(GridCacheQueryBean qry)
Executes distributed fields query.
|
GridCloseableIterator |
scanQueryDistributed(GridCacheQueryAdapter qry,
Collection<ClusterNode> nodes)
Executes distributed SCAN query.
|
void |
start0() |
cacheName, collectMetrics, createFullTextQuery, createScanQuery, createScanQuery, createSpiQuery, detailMetrics, enable, enabled, evictDetailMetrics, localQueryIterators, metrics, onKernalStop0, printMemoryStats, queryIterators, queryTopologyVersion, remove, removeFieldsQueryResult, removeQueryResult, resetDetailMetrics, resetMetrics, runFieldsQuery, runQuery, scanQueryLocal, sqlMetadata, sqlMetadataAsync, sqlMetadataV2, stop0, storecontext, kernalStartInfo, kernalStopInfo, log, onDisconnected, onKernalStart, onKernalStart0, onKernalStop, start, startInfo, stop, stopInfo, toStringprotected boolean onPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
Collection<?> data,
boolean finished,
Throwable e)
onPageReady in class GridCacheQueryManager<K,V>loc - Local query or not.qryInfo - Query info.data - Result data.finished - Last page or not.e - Exception in case of error.true if page was processed right.protected boolean onFieldsPageReady(boolean loc,
org.apache.ignite.internal.processors.cache.query.GridCacheQueryInfo qryInfo,
@Nullable
@Nullable List<GridQueryFieldMetadata> metaData,
@Nullable
@Nullable Collection<?> entities,
@Nullable
@Nullable Collection<?> data,
boolean finished,
@Nullable
@Nullable Throwable e)
onFieldsPageReady in class GridCacheQueryManager<K,V>loc - Local query or not.qryInfo - Query info.metaData - Meta data.entities - Indexing entities.data - Data.finished - Last page or not.e - Exception in case of error.true if page was processed right.public void start0()
throws IgniteCheckedException
start0 in class GridCacheQueryManager<K,V>IgniteCheckedException - If failed.public CacheQueryFuture<?> queryDistributed(GridCacheQueryBean qry, Collection<ClusterNode> nodes)
queryDistributed in class GridCacheQueryManager<K,V>qry - Query.nodes - Nodes.public GridCloseableIterator scanQueryDistributed(GridCacheQueryAdapter qry, Collection<ClusterNode> nodes) throws IgniteCheckedException
scanQueryDistributed in class GridCacheQueryManager<K,V>qry - Query.nodes - Nodes.IgniteCheckedException - If failed.public void loadPage(long id,
GridCacheQueryAdapter<?> qry,
Collection<ClusterNode> nodes,
boolean all)
loadPage in class GridCacheQueryManager<K,V>id - Query ID.qry - Query.nodes - Nodes.all - Whether to load all pages.public CacheQueryFuture<?> queryFieldsLocal(GridCacheQueryBean qry)
queryFieldsLocal in class GridCacheQueryManager<K,V>qry - Query.public CacheQueryFuture<?> queryFieldsDistributed(GridCacheQueryBean qry, Collection<ClusterNode> nodes)
queryFieldsDistributed in class GridCacheQueryManager<K,V>qry - Query.nodes - Nodes.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021