| 程序包 | 说明 |
|---|---|
| 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 VolumeFSFile |
VolumeFSFile.create(String project,
String path,
boolean isDir,
com.aliyun.odps.rest.RestClient client)
Create new file (Only support to create directory now)
|
void |
VolumeFSFile.delete(boolean recursive)
Delete file (or dir)
|
VolumeFSFile |
Volume.getVolumeFSFile(String path) |
VolumeFSFile |
VolumeFSFile.update(Map<String,String> param) |
Copyright © 2015 Alibaba Cloud Computing. All rights reserved.