public class SqlPlanTask extends Task
Task.Properties, Task.Property
Constructor and Description |
---|
SqlPlanTask(String name)
使用给定任务名构造一个
SqlPlanTask 实例。 |
SqlPlanTask(String name,
String query)
使用给定任务名和查询语句构造一个
SqlPlanTask 实例。 |
Modifier and Type | Method and Description |
---|---|
String |
getCommandText()
获取 Task 命令信息
|
String |
getQuery()
返回查询语句。
|
void |
setQuery(String query)
设置查询语句。
|
getComment, getName, getProperties, setComment, setName, setProperties, setProperty
public SqlPlanTask(String name)
SqlPlanTask
实例。name
- 任务名。public SqlPlanTask(String name, String query)
SqlPlanTask
实例。name
- 任务名。query
- 查询语句。Copyright © 2017 Alibaba Cloud Computing. All rights reserved.