| 程序包 | 说明 |
|---|---|
| com.aliyun.odps.datahub |
ODPS Datahub服务用于上传、下载数据到ODPS
Examples:
Account account = new AliyunAccount("accessId", "accessKey");
Odps odps = new Odps(account);
odps.setDefaultProject("my_project");
DatahubClient client = new DatahubClient(odps);
DatahubReader reader = client.openDatahubReader("shardId");
DatahubWriter writer = client.openDatahubWriter("shardId");
.... |
| 限定符和类型 | 方法和说明 |
|---|---|
DatahubReader |
DatahubClient.openDatahubReader(long shardId)
创建DatahubReader读取指定shard
|
DatahubReader |
DatahubClient.openDatahubReader(long shardId,
String packId)
创建DatahubReader读取指定shard
|
Copyright © 2015 Alibaba Cloud Computing. All rights reserved.