Package org.apache.iceberg.aliyun.oss
Class OSSURI
- java.lang.Object
- 
- org.apache.iceberg.aliyun.oss.OSSURI
 
- 
 public class OSSURI extends java.lang.ObjectThis class represents a fully qualified location in OSS for input/output operations expressed as as URI. This implementation is provided to ensure compatibility with Hadoop Path implementations that may introduce encoding issues with native URI implementation. Note: Path-style access is deprecated and not supported by this implementation.
- 
- 
Constructor SummaryConstructors Constructor Description OSSURI(java.lang.String location)Creates a new OSSURI based on the bucket and key parsed from the location The location in string form has the syntax as below, which refers to RFC2396: [scheme:][//bucket][object key][#fragment] [scheme:][//bucket][object key][?query][#fragment] It specifies precisely which characters are permitted in the various components of a URI reference in Aliyun OSS documentation as below: Bucket: https://help.aliyun.com/document_detail/257087.html Object: https://help.aliyun.com/document_detail/273129.html Scheme: https or oss
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringbucket()Return OSS bucket name.java.lang.Stringkey()Return OSS object key name.java.lang.Stringlocation()Return original, unmodified OSS URI location.java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
OSSURIpublic OSSURI(java.lang.String location) Creates a new OSSURI based on the bucket and key parsed from the location The location in string form has the syntax as below, which refers to RFC2396: [scheme:][//bucket][object key][#fragment] [scheme:][//bucket][object key][?query][#fragment] It specifies precisely which characters are permitted in the various components of a URI reference in Aliyun OSS documentation as below: Bucket: https://help.aliyun.com/document_detail/257087.html Object: https://help.aliyun.com/document_detail/273129.html Scheme: https or ossSupported access styles are https and oss://... URIs. - Parameters:
- location- fully qualified URI.
 
 
- 
 - 
Method Detail- 
bucketpublic java.lang.String bucket() Return OSS bucket name.
 - 
keypublic java.lang.String key() Return OSS object key name.
 - 
locationpublic java.lang.String location() Return original, unmodified OSS URI location.
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-