public class VisorRunningQuery extends VisorDataTransferObject
V1, V2, V3, V4| Constructor and Description |
|---|
VisorRunningQuery()
Default constructor.
|
VisorRunningQuery(long id,
String qry,
GridCacheQueryType qryType,
String schemaName,
long startTime,
long duration,
boolean cancellable,
boolean loc)
Construct data transfer object for running query information.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getDuration() |
long |
getId() |
String |
getQuery() |
GridCacheQueryType |
getQueryType() |
String |
getSchemaName() |
long |
getStartTime() |
boolean |
isCancelable() |
boolean |
isLocal() |
protected void |
readExternalData(byte protoVer,
ObjectInput in)
Load object's specific data content.
|
String |
toString() |
protected void |
writeExternalData(ObjectOutput out)
Save object's specific data content.
|
getProtocolVersion, readExternal, toList, toSet, writeExternalpublic VisorRunningQuery()
public VisorRunningQuery(long id,
String qry,
GridCacheQueryType qryType,
String schemaName,
long startTime,
long duration,
boolean cancellable,
boolean loc)
id - Query ID.qry - Query text.qryType - Query type.schemaName - Query schema name.startTime - Query start time.duration - Query current duration.cancellable - true if query can be canceled.loc - true if query is local.public long getId()
public String getQuery()
public GridCacheQueryType getQueryType()
public String getSchemaName()
public long getStartTime()
public long getDuration()
public boolean isCancelable()
true if query can be cancelled.public boolean isLocal()
true if query is local.protected void writeExternalData(ObjectOutput out) throws IOException
writeExternalData in class VisorDataTransferObjectout - Output object to write data content.IOException - If I/O errors occur.protected void readExternalData(byte protoVer,
ObjectInput in)
throws IOException,
ClassNotFoundException
readExternalData in class VisorDataTransferObjectprotoVer - Input object version.in - Input object to load data content.IOException - If I/O errors occur.ClassNotFoundException - If the class for an object being restored cannot be found.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020