This topic provides links to examples on how to use Tunnel SDK in typical scenarios. For scenarios that are not provided in this topic, you can refer to the open source Tunnel SDK documentation.
Usage notes
- MaxCompute provides two endpoints: the Tunnel endpoint and TunnelBufferedWriter. The endpoint you choose affects data upload efficiency, metering and billing. For more information, see Tunnel SDK overview.
- We recommend that you use TunnelBufferedWriter to upload your data. For more information, see the sample code in BufferedWriter.
- The code varies based on the SDK version. The sample code is only for reference. Take note of the SDK version that you use.
Tunnel SDK for Java
- Example of simple data uploads
- Example of simple downloads
- Upload data in multithreaded mode
- Multithreading downloads
- BufferedWriter upload example
- Data upload by using BufferedWriter in multi-threaded mode
- Examples of uploading and downloading data of complex data types
Tunnel SDK for Python
- Upload data: Tunnel SDK examples (Python).
- Other scenarios:Python SDKdocumentation.
Others
MaxCompute provides Tunnel commands and Tunnel SDK for data uploads and downloads. You can run Tunnel commands by using tools such as the MaxCompute client. and streaming data tunnels(Streaming Tunnel SDK)MaxCompute also provides SDKs that are dedicated to objects such as projects and tables based on Tunnel SDK. The following content lists the links to related instructions.
- Tunnel commands: Usage notes
- Streaming Tunnel SDK:
- Other SDKs based on Tunnel SDK:
该文章对您有帮助吗?