public class GridRunningQueryInfo extends Object
| Constructor and Description |
|---|
GridRunningQueryInfo(long id,
UUID nodeId,
String qry,
GridCacheQueryType qryType,
String schemaName,
long startTime,
long startTimeNanos,
GridQueryCancel cancel,
boolean loc,
String qryInitiatorId,
boolean enforceJoinOrder,
boolean lazy,
boolean distributedJoins,
UUID subjId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel query.
|
boolean |
cancelable() |
boolean |
distributedJoins() |
boolean |
enforceJoinOrder() |
String |
globalQueryId() |
long |
id() |
boolean |
lazy() |
boolean |
local() |
boolean |
longQuery(long curTime,
long duration) |
UUID |
nodeId() |
String |
query() |
String |
queryInitiatorId() |
GridCacheQueryType |
queryType() |
long |
requestId() |
void |
requestId(long reqId) |
QueryRunningFuture |
runningFuture() |
String |
schemaName() |
Span |
span() |
long |
startTime() |
long |
startTimeNanos() |
UUID |
subjectId() |
String |
toString() |
public GridRunningQueryInfo(long id,
UUID nodeId,
String qry,
GridCacheQueryType qryType,
String schemaName,
long startTime,
long startTimeNanos,
GridQueryCancel cancel,
boolean loc,
String qryInitiatorId,
boolean enforceJoinOrder,
boolean lazy,
boolean distributedJoins,
UUID subjId)
id - Query ID.nodeId - Originating node ID.qry - Query text.qryType - Query type.schemaName - Schema name.startTime - Query start time.startTimeNanos - Query start time in nanoseconds.cancel - Query cancel.loc - Local query flag.qryInitiatorId - Query's initiator identifier.enforceJoinOrder - Enforce join order flag.lazy - Lazy flag.distributedJoins - Distributed joins flag.subjId - Subject ID.public long id()
public String globalQueryId()
public String query()
public GridCacheQueryType queryType()
public String schemaName()
public long startTime()
public long startTimeNanos()
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()
public Span span()
public long requestId()
public String queryInitiatorId()
public boolean distributedJoins()
public boolean enforceJoinOrder()
public boolean lazy()
public void requestId(long reqId)
reqId - Request ID.public UUID subjectId()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023