public abstract class Query<R> extends Object implements Serializable
SqlFieldsQuery
for details.TextQuery
for details.ScanQuery
for details.ContinuousQuery
for details.SpiQuery
for details.IgniteCache.query(Query)
,
Serialized FormModifier 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. |
protected int[] |
prepare(int[] parts)
Prepares the partitions.
|
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.protected int[] prepare(int[] parts)
parts
- Partitions.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023