| 程序包 | 说明 |
|---|---|
| com.aliyun.odps |
提供操作ODPS基本资源的类
ODPS基本资源包括: Table, Resource, Function等
Examples:
Account account = new AliyunAccount("accessId", "accessKey");
Odps odps = new Odps(account);
odps.setDefaultProject("my_project");
for (Table t : odps.tables()) {
System.out.print(t.getName() + "\t" + t.getOwner());
}
|
| 限定符和类型 | 方法和说明 |
|---|---|
static LogType |
LogType.fromString(String value)
设置日志类型
|
static LogType |
LogType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static LogType[] |
LogType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
Instance.getLog(String workerId,
LogType logType,
int size)
获取Worker运行的LOG内容
|
Copyright © 2015 Alibaba Cloud Computing. All rights reserved.