全部产品
MaxCompute

TableTunnel

更新时间:2017-06-07 13:26:11   分享:   

接口定义:

  1. public class TableTunnel {
  2. public DownloadSession createDownloadSession(String projectName, String tableName);
  3. public DownloadSession createDownloadSession(String projectName, String tableName, PartitionSpec partitionSpec);
  4. public UploadSession createUploadSession(String projectName, String tableName);
  5. public UploadSession createUploadSession(String projectName, String tableName, PartitionSpec partitionSpec);
  6. public DownloadSession getDownloadSession(String projectName, String tableName, PartitionSpec partitionSpec, String id);
  7. public DownloadSession getDownloadSession(String projectName, String tableName, String id);
  8. public UploadSession getUploadSession(String projectName, String tableName, PartitionSpec partitionSpec, String id);
  9. public UploadSession getUploadSession(String projectName, String tableName, String id);
  10. }

TableTunnel:

  • 生命周期: 从TableTunnel实例被创建开始,一直到程序结束。
  • 提供创建Upload对象和Download对象的方法
本文导读目录
本文导读目录
以上内容是否对您有帮助?