public class GridCacheLocalQueryManager<K,V> extends GridCacheQueryManager<K,V>
MAX_ITERATORS, qryProccctx, log| 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,
List<GridQueryFieldMetadata> metaData,
Collection<?> entities,
Collection<?> data,
boolean finished,
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.
|
CacheQueryFuture<?> |
queryLocal(GridCacheQueryBean qry)
Executes local query.
|
void |
start0() |
backupsFilter, metrics, onKernalStop0, onMetricsUpdate, onSwap, onUndeploy, onUnswap, printMemoryStats, rebuildAllIndexes, rebuildIndexes, rebuildIndexes, remove, removeFieldsQueryResult, removeQueryResult, resetMetrics, runFieldsQuery, runQuery, size, space, sqlMetadata, stop0, storecontext, kernalStartInfo, kernalStopInfo, log, 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
List<GridQueryFieldMetadata> metaData,
@Nullable
Collection<?> entities,
@Nullable
Collection<?> data,
boolean finished,
@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<?> queryLocal(GridCacheQueryBean qry)
queryLocal in class GridCacheQueryManager<K,V>qry - Query.public CacheQueryFuture<?> queryDistributed(GridCacheQueryBean qry, Collection<ClusterNode> nodes)
queryDistributed in class GridCacheQueryManager<K,V>qry - Query.nodes - Nodes.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 Fabric : ver. 1.0.0 Release Date : March 31 2015