public class H2QueryInfo extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
H2QueryInfo.QueryType
Query type.
|
| Constructor and Description |
|---|
H2QueryInfo(H2QueryInfo.QueryType type,
PreparedStatement stmt,
String sql,
ClusterNode node,
@Nullable Long runningQryId,
@Nullable String label) |
| Modifier and Type | Method and Description |
|---|---|
String |
description()
Returns description of this query info.
|
long |
extWait() |
boolean |
isSuspended() |
UUID |
node() |
protected void |
printInfo(StringBuilder msg)
Print info specified by children.
|
void |
printLogMessage(IgniteLogger log,
String msg,
@Nullable String additionalInfo) |
void |
printLogMessage(IgniteLogger log,
String msg,
@Nullable String additionalInfo,
boolean throttlingAllowed) |
void |
resumeTracking() |
Long |
runningQueryId() |
void |
suspendTracking() |
long |
time() |
H2QueryInfo.QueryType |
type() |
public H2QueryInfo(H2QueryInfo.QueryType type, PreparedStatement stmt, String sql, ClusterNode node, @Nullable @Nullable Long runningQryId, @Nullable @Nullable String label)
type - Query type.stmt - Query statement.sql - Query statement.node - Originator node.runningQryId - Query id assigned by RunningQueryManager.label - Query label.protected void printInfo(StringBuilder msg)
msg - Message string builder.public long time()
public void suspendTracking()
public void resumeTracking()
public Long runningQueryId()
RunningQueryManager.public UUID node()
public long extWait()
public H2QueryInfo.QueryType type()
public void printLogMessage(IgniteLogger log, String msg, @Nullable @Nullable String additionalInfo)
public void printLogMessage(IgniteLogger log, String msg, @Nullable @Nullable String additionalInfo, boolean throttlingAllowed)
log - Logger.msg - Log messageadditionalInfo - Additional query info.throttlingAllowed - true if message throttling is allowed.public boolean isSuspended()
public String description()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.28 Release Date : December 12 2025