Class SqlKillQueryCommand
- java.lang.Object
-
- org.apache.ignite.internal.sql.command.SqlKillQueryCommand
-
- All Implemented Interfaces:
SqlCommand
public class SqlKillQueryCommand extends Object implements SqlCommand
KILL QUERY command.
-
-
Constructor Summary
Constructors Constructor Description SqlKillQueryCommand()SqlKillQueryCommand(UUID nodeId, long nodeQryId, boolean async)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanasync()UUIDnodeId()longnodeQueryId()SqlCommandparse(SqlLexer lex)Parse command.static T2<UUID,Long>parseGlobalQueryId(String globalQryId)Parse global SQL query id.StringschemaName()voidschemaName(String schemaName)
-
-
-
Constructor Detail
-
SqlKillQueryCommand
public SqlKillQueryCommand()
-
SqlKillQueryCommand
public SqlKillQueryCommand(UUID nodeId, long nodeQryId, boolean async)
- Parameters:
nodeId- Node id.nodeQryId- Local query id.async- Async flag.
-
-
Method Detail
-
parse
public SqlCommand parse(SqlLexer lex)
Parse command.- Specified by:
parsein interfaceSqlCommand- Parameters:
lex- Lexer.- Returns:
- This instance.
-
schemaName
public String schemaName()
- Specified by:
schemaNamein interfaceSqlCommand- Returns:
- Schema name.
-
schemaName
public void schemaName(String schemaName)
- Specified by:
schemaNamein interfaceSqlCommand- Parameters:
schemaName- Schema name.
-
parseGlobalQueryId
public static T2<UUID,Long> parseGlobalQueryId(String globalQryId)
Parse global SQL query id. Format is {origin_node_id}_{query_id}.- Parameters:
globalQryId- Global query id.- Returns:
- Results of parsing of
nullif parse failed.
-
nodeQueryId
public long nodeQueryId()
- Returns:
- Node query id.
-
nodeId
public UUID nodeId()
- Returns:
- Node order id.
-
async
public boolean async()
- Returns:
- Async flag.
-
-