public class GridCacheTwoStepQuery extends Object
| Constructor and Description |
|---|
GridCacheTwoStepQuery(String originalSql,
int paramsCnt,
Set<QueryTable> tbls,
GridCacheSqlQuery rdc,
List<GridCacheSqlQuery> mapQrys,
boolean skipMergeTbl,
boolean explain,
boolean distributedJoins,
boolean replicatedOnly,
PartitionResult derivedPartitions,
List<Integer> cacheIds,
boolean mvccEnabled,
boolean locSplit,
boolean treatReplicatedAsPartitioned) |
| Modifier and Type | Method and Description |
|---|---|
List<Integer> |
cacheIds() |
PartitionResult |
derivedPartitions() |
boolean |
distributedJoins()
Check if distributed joins are enabled for this query.
|
boolean |
explain() |
boolean |
hasCacheIds() |
boolean |
isLocal() |
boolean |
isLocalSplit() |
boolean |
isReplicatedOnly() |
List<GridCacheSqlQuery> |
mapQueries() |
boolean |
mvccEnabled() |
String |
originalSql() |
int |
parametersCount() |
GridCacheSqlQuery |
reduceQuery() |
boolean |
skipMergeTable() |
Set<QueryTable> |
tables() |
int |
tablesCount() |
String |
toString() |
boolean |
treatReplicatedAsPartitioned() |
public GridCacheTwoStepQuery(String originalSql, int paramsCnt, Set<QueryTable> tbls, GridCacheSqlQuery rdc, List<GridCacheSqlQuery> mapQrys, boolean skipMergeTbl, boolean explain, boolean distributedJoins, boolean replicatedOnly, PartitionResult derivedPartitions, List<Integer> cacheIds, boolean mvccEnabled, boolean locSplit, boolean treatReplicatedAsPartitioned)
originalSql - Original SQL.paramsCnt - Parameters count.tbls - Tables.rdc - Reduce query.mapQrys - Map query.skipMergeTbl - Skip merge table flag.explain - Explain flag.distributedJoins - Distributed joins flag.replicatedOnly - Replicated only flag.derivedPartitions - Derived partitions.cacheIds - Cache ids.mvccEnabled - Mvcc flag.locSplit - Local split flag.treatReplicatedAsPartitioned - Treat replicated as partitioned flag.public boolean distributedJoins()
true If distributed joins enabled.public boolean skipMergeTable()
True if reduce query can skip merge table creation and get data directly from merge index.public boolean explain()
public boolean isReplicatedOnly()
true If all the map queries contain only replicated tables.public GridCacheSqlQuery reduceQuery()
public List<GridCacheSqlQuery> mapQueries()
public boolean hasCacheIds()
public String originalSql()
public boolean isLocal()
True If query is local.public boolean isLocalSplit()
True if this is local query with split.public PartitionResult derivedPartitions()
public int tablesCount()
public Set<QueryTable> tables()
public boolean mvccEnabled()
public int parametersCount()
public boolean treatReplicatedAsPartitioned()
true if need to treat replicated as partitioned (for outer joins or for subqueries).
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.23-p1 Release Date : November 19 2025