public abstract class Query<R> extends Object implements Serializable
SqlQuery and TextQuery for SQL and
text queries accordingly.IgniteCache.query(Query),
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
DFLT_PAGE_SIZE
Default query page size.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPageSize()
Gets optional page size, if
0, then default is used. |
boolean |
isLocal()
Returns
true if this query should be executed on local node only. |
Query<R> |
setLocal(boolean loc)
Sets whether this query should be executed on local node only.
|
Query<R> |
setPageSize(int pageSize)
Sets optional page size, if
0, then default is used. |
String |
toString() |
public static final int DFLT_PAGE_SIZE
public int getPageSize()
0, then default is used.public Query<R> setPageSize(int pageSize)
0, then default is used.pageSize - Optional page size.this for chaining.public boolean isLocal()
true if this query should be executed on local node only.public Query<R> setLocal(boolean loc)
loc - Local flag.this for chaining.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016