public class GridRunningQueryInfo extends Object
| Constructor and Description |
|---|
GridRunningQueryInfo(long id,
UUID nodeId,
String qry,
GridCacheQueryType qryType,
String schemaName,
long startTime,
GridQueryCancel cancel,
boolean loc)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel query.
|
boolean |
cancelable() |
String |
globalQueryId() |
long |
id() |
boolean |
local() |
boolean |
longQuery(long curTime,
long duration) |
UUID |
nodeId() |
String |
query() |
GridCacheQueryType |
queryType() |
QueryRunningFuture |
runningFuture() |
String |
schemaName() |
long |
startTime() |
public GridRunningQueryInfo(long id,
UUID nodeId,
String qry,
GridCacheQueryType qryType,
String schemaName,
long startTime,
GridQueryCancel cancel,
boolean loc)
id - Query ID.nodeId - Originating node 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 globalQueryId()
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 QueryRunningFuture runningFuture()
public boolean cancelable()
true if query can be cancelled.public boolean local()
true if query is local.public UUID nodeId()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020