public class LOTTask extends Task
| Modifier and Type | Class and Description |
|---|---|
static class |
LOTTask.Plan |
Task.Properties, Task.Property| Constructor and Description |
|---|
LOTTask() |
| Modifier and Type | Method and Description |
|---|---|
LOTTask.Plan |
getPlan() |
String |
getQuery() |
static Instance |
run(Odps odps,
String input,
boolean runSQL)
通过匿名Instance运行LOTTask
|
static Instance |
run(Odps odps,
String project,
String input,
boolean runSQL,
Map<String,String> hints,
Map<String,String> aliases)
通过匿名Instance运行LOTTask
|
static Instance |
run(Odps odps,
String project,
String input,
boolean runSQL,
String taskName,
Map<String,String> hints,
Map<String,String> aliases)
运行LOTTask
|
void |
setPlan(LOTTask.Plan plan)
设置查询Plan
|
void |
setQuery(String query)
设置SQL查询语句
|
getCommandText, getComment, getName, getProperties, setComment, setName, setProperties, setPropertypublic String getQuery()
public void setQuery(String query)
query - public LOTTask.Plan getPlan()
public void setPlan(LOTTask.Plan plan)
plan - public static Instance run(Odps odps, String input, boolean runSQL) throws OdpsException
odps - input - OdpsExceptionpublic static Instance run(Odps odps, String project, String input, boolean runSQL, Map<String,String> hints, Map<String,String> aliases) throws OdpsException
odps - project - input - hints - OdpsExceptionCopyright © 2022 Alibaba Cloud Computing. All rights reserved.