public class StorageClientFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
SnowflakeStorageClient |
createClient(StageInfo stage,
int parallel,
net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat,
SFSession session)
Creates a storage client based on the value of stageLocationType
|
StorageObjectMetadata |
createStorageMetadataObj(StageInfo.StageType stageType)
Creates a storage provider specific metadata object, accessible via the platform independent
interface
|
static StorageClientFactory |
getFactory()
Creates or returns the single instance of the factory object
|
public static StorageClientFactory getFactory()
public SnowflakeStorageClient createClient(StageInfo stage, int parallel, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat, SFSession session) throws SnowflakeSQLException
stage - the stage propertiesparallel - the degree of parallelism to be used by the clientencMat - encryption material for the clientSnowflakeSQLException - if any error occurspublic StorageObjectMetadata createStorageMetadataObj(StageInfo.StageType stageType)
stageType - determines the implementation to be createdCopyright © 2022. All rights reserved.