This topic provides an overview of MaxCompute Tunnel, which is a data tunnel that is used to upload and download data to MaxCompute.

MaxCompute is based on Tunnel SDK and offers data upload and download tools. For more information, see Client.

When using Maven, you can search for odps-sdk-core in the Maven database to find different versions of Java SDK. The configuration is as follows:
<dependency>
    <groupId>com.aliyun.odps</groupId>
    <artifactId>odps-sdk-core</artifactId>
    <version>0.24.0-public</version>
</dependency>

The following table describes the interfaces of Tunnel SDK, which may differ according to the SDK version. For more information, see SDK Java Doc.

Interface Description
TableTunnel The ingress-class interface that is used to access the MaxCompute Tunnel service. You can access MaxCompute and Tunnel through the Internet or an intranet network on Alibaba Cloud. Data downloaded through an intranet network is free of charge.
TableTunnel.UploadSession A session that is for uploading data to a MaxCompute table.
TableTunnel.DownloadSession A session that is for downloading data from a MaxCompute table.
InstanceTunnel The ingress-class interface that is used to access the MaxCompute Tunnel service. You can access MaxCompute and Tunnel through the Internet or an intranet network on Alibaba Cloud. Data downloaded through an intranet network is free of charge.
InstanceTunnel.DownloadSession A session that is for downloading data to a MaxCompute SQL instance. The SQL instance must start with theSELECTkeyword and is used for querying data.
Note