public final class CosNUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.qcloud.cos.auth.COSCredentialsProvider |
createCOSCredentialProvider(URI uri,
org.apache.hadoop.conf.Configuration conf,
Class<?> credClass) |
static COSCredentialsProviderList |
createCosCredentialsProviderSet(URI uri,
org.apache.hadoop.conf.Configuration conf) |
static Class<?>[] |
loadCosProviderClasses(org.apache.hadoop.conf.Configuration conf,
String key,
Class<?>... defaultValue) |
public static COSCredentialsProviderList createCosCredentialsProviderSet(URI uri, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic static Class<?>[] loadCosProviderClasses(org.apache.hadoop.conf.Configuration conf, String key, Class<?>... defaultValue) throws IOException
IOExceptionpublic static com.qcloud.cos.auth.COSCredentialsProvider createCOSCredentialProvider(URI uri, org.apache.hadoop.conf.Configuration conf, Class<?> credClass) throws IOException
IOExceptionCopyright © 2008–2023 Apache Software Foundation. All rights reserved.