You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
SDK reference
Java SDK overview(Hierarchical Bucket)
Copy page
Download PDF
Java SDK overview(Hierarchical Bucket)

TOS supports object uploads and other operations for tiered buckets via the Java SDK. This article provides information on installing the Java SDK.

Install SDK

For SDK installation URL and steps, please refer to Install Java SDK.

Initialize Client

Before using the SDK, you need to initialize the client. For specific steps, please refer to Initialize Client (Java SDK).

Feature Support

LAYERED BUCKETS have most of the SDKs in common with FLAT BUCKETS, you can refer to the following documentation to understand the list of SDK features and the differences:

Feature DescriptionReference Document
CreateBucketCreate Hierarchical Namespace (Java SDK)
ListBucketsList Hierarchical Namespaces (Java SDK)
ListObjectsList Objects within Hierarchical Namespace (Java SDK)
ListObjectsV2List Objects within Hierarchical Namespace V2 (Java SDK)
RenameObjectRename Objects within a Hierarchical Namespace (Java SDK)
Last updated: 2025.02.05 15:33:45