| 程序包 | 说明 |
|---|---|
| com.aliyun.odps.tunnel |
ODPS Tunnel服务用于上传、下载数据到ODPS
Examples:
Account account = new AliyunAccount("accessId", "accessKey");
Odps odps = new Odps(account);
odps.setDefaultProject("my_project");
DataTunnel tunnel = new DataTunnel(odps);
UploadSession session = tunnel.createUploadSession("my_project", "my_table");
.... |
| 限定符和类型 | 方法和说明 |
|---|---|
TableTunnel.DownloadSession |
TableTunnel.createDownloadSession(String projectName,
String tableName)
在非分区表上创建下载会话
|
TableTunnel.DownloadSession |
TableTunnel.createDownloadSession(String projectName,
String tableName,
long shardId)
在shard表上创建下载会话
|
TableTunnel.DownloadSession |
TableTunnel.createDownloadSession(String projectName,
String tableName,
PartitionSpec partitionSpec)
在分区表上创建下载会话
|
TableTunnel.DownloadSession |
TableTunnel.createDownloadSession(String projectName,
String tableName,
PartitionSpec partitionSpec,
long shardId)
在shard表上创建下载会话
|
TableTunnel.DownloadSession |
TableTunnel.getDownloadSession(String projectName,
String tableName,
long shardId,
String id)
获得在非分区表上创建的下载会话
|
TableTunnel.DownloadSession |
TableTunnel.getDownloadSession(String projectName,
String tableName,
PartitionSpec partitionSpec,
long shardId,
String id)
获得在shard表上创建的下载会话
|
TableTunnel.DownloadSession |
TableTunnel.getDownloadSession(String projectName,
String tableName,
PartitionSpec partitionSpec,
String id)
获得在分区表上创建的下载会话
|
TableTunnel.DownloadSession |
TableTunnel.getDownloadSession(String projectName,
String tableName,
String id)
获得在非分区表上创建的下载会话
|
Copyright © 2015 Alibaba Cloud Computing. All rights reserved.