Uses of Interface
net.snowflake.client.jdbc.cloud.storage.SnowflakeStorageClient
-
Packages that use SnowflakeStorageClient Package Description net.snowflake.client.jdbc net.snowflake.client.jdbc.cloud.storage -
-
Uses of SnowflakeStorageClient in net.snowflake.client.jdbc
Methods in net.snowflake.client.jdbc with parameters of type SnowflakeStorageClient Modifier and Type Method Description static Callable<Void>SnowflakeFileTransferAgent. getDownloadFileCallable(StageInfo stage, String srcFilePath, String localLocation, Map<String,net.snowflake.client.jdbc.SnowflakeFileTransferAgent.FileMetadata> fileMetadataMap, SnowflakeStorageClient client, SFSession session, String command, int parallel, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat, String presignedUrl)A callable that can be executed in a separate thread using executor service.static Callable<Void>SnowflakeFileTransferAgent. getUploadFileCallable(StageInfo stage, String srcFilePath, net.snowflake.client.jdbc.SnowflakeFileTransferAgent.FileMetadata metadata, SnowflakeStorageClient client, SFSession session, String command, InputStream inputStream, boolean sourceFromStream, int parallel, File srcFile, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat)A callable that can be executed in a separate thread using executor service.static voidSnowflakeFileTransferAgent. renewExpiredToken(SFSession session, String command, SnowflakeStorageClient client)This static method is called when we are handling an expired token exception It retrieves a fresh token from GS and then calls .renew() on the storage client to refresh itself with the new token -
Uses of SnowflakeStorageClient in net.snowflake.client.jdbc.cloud.storage
Classes in net.snowflake.client.jdbc.cloud.storage that implement SnowflakeStorageClient Modifier and Type Class Description classSnowflakeAzureClientEncapsulates the Azure Storage client and all Azure Storage operations and logicclassSnowflakeGCSClientEncapsulates the GCS Storage client and all GCS operations and logicclassSnowflakeS3ClientWrapper around AmazonS3Client.Methods in net.snowflake.client.jdbc.cloud.storage that return SnowflakeStorageClient Modifier and Type Method Description SnowflakeStorageClientStorageClientFactory. createClient(StageInfo stage, int parallel, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat, SFSession session)Creates a storage client based on the value of stageLocationTypeMethods in net.snowflake.client.jdbc.cloud.storage with parameters of type SnowflakeStorageClient Modifier and Type Method Description static CipherInputStreamEncryptionProvider. encrypt(StorageObjectMetadata meta, long originalContentLength, InputStream src, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat, SnowflakeStorageClient client)
-