public class GridRunningQueryInfo extends Object
| Constructor and Description |
|---|
GridRunningQueryInfo(Long id,
String qry,
GridCacheQueryType qryType,
String schemaName,
long startTime,
GridQueryCancel cancel,
boolean loc) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel query.
|
boolean |
cancelable() |
Long |
id() |
boolean |
local() |
boolean |
longQuery(long curTime,
long duration) |
String |
query() |
GridCacheQueryType |
queryType() |
String |
schemaName() |
long |
startTime() |
public GridRunningQueryInfo(Long id, String qry, GridCacheQueryType qryType, String schemaName, long startTime, GridQueryCancel cancel, boolean loc)
id - Query ID.qry - Query text.qryType - Query type.schemaName - Schema name.startTime - Query start time.cancel - Query cancel.loc - Local query flag.public Long id()
public String query()
public GridCacheQueryType queryType()
public String schemaName()
public long startTime()
public boolean longQuery(long curTime,
long duration)
curTime - Current time.duration - Duration of long query.true if this query should be considered as long running query.public void cancel()
public boolean cancelable()
true if query can be cancelled.public boolean local()
true if query is local.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018