public class GridCacheTwoStepQuery extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DFLT_PAGE_SIZE |
| Constructor and Description |
|---|
GridCacheTwoStepQuery(String originalSql,
Set<QueryTable> tbls) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMapQuery(GridCacheSqlQuery qry) |
List<Integer> |
cacheIds() |
void |
cacheIds(List<Integer> cacheIds) |
GridCacheTwoStepQuery |
copy() |
CacheQueryPartitionInfo[] |
derivedPartitions() |
void |
derivedPartitions(CacheQueryPartitionInfo[] derivedPartitions) |
boolean |
distributedJoins()
Check if distributed joins are enabled for this query.
|
void |
distributedJoins(boolean distributedJoins)
Specify if distributed joins are enabled for this query.
|
boolean |
explain() |
void |
explain(boolean explain) |
boolean |
isLocal() |
boolean |
isReplicatedOnly() |
void |
local(boolean local) |
List<GridCacheSqlQuery> |
mapQueries() |
String |
originalSql() |
int |
pageSize() |
void |
pageSize(int pageSize) |
GridCacheSqlQuery |
reduceQuery() |
void |
reduceQuery(GridCacheSqlQuery rdc) |
boolean |
skipMergeTable() |
void |
skipMergeTable(boolean skipMergeTbl) |
Set<QueryTable> |
tables() |
int |
tablesCount() |
String |
toString() |
public static final int DFLT_PAGE_SIZE
public GridCacheTwoStepQuery(String originalSql, Set<QueryTable> tbls)
originalSql - Original query SQL.tbls - Tables in query.public void distributedJoins(boolean distributedJoins)
distributedJoins - Distributed joins enabled.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 void skipMergeTable(boolean skipMergeTbl)
skipMergeTbl - Skip merge table.public boolean explain()
public void explain(boolean explain)
explain - If this is explain query.public void pageSize(int pageSize)
pageSize - Page size.public int pageSize()
public void addMapQuery(GridCacheSqlQuery qry)
qry - SQL Query.public boolean isReplicatedOnly()
true If all the map queries contain only replicated tables.public GridCacheSqlQuery reduceQuery()
public void reduceQuery(GridCacheSqlQuery rdc)
rdc - Reduce query.public List<GridCacheSqlQuery> mapQueries()
public String originalSql()
public boolean isLocal()
True If query is local.public void local(boolean local)
local - Local query flag.public CacheQueryPartitionInfo[] derivedPartitions()
public void derivedPartitions(CacheQueryPartitionInfo[] derivedPartitions)
derivedPartitions - Query derived partitions info.public GridCacheTwoStepQuery copy()
public int tablesCount()
public Set<QueryTable> tables()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018