| Package | Description |
|---|---|
| net.snowflake.client.jdbc | |
| net.snowflake.client.jdbc.cloud.storage |
| Modifier and Type | Method and Description |
|---|---|
static Callable<Void> |
SnowflakeFileTransferAgent.getDownloadFileCallable(String stageLocationType,
String stageLocation,
Map credentials,
String srcFilePath,
String localLocation,
Map<String,net.snowflake.client.jdbc.SnowflakeFileTransferAgent.FileMetadata> fileMetadataMap,
SnowflakeStorageClient client,
SFSession connection,
String command,
int parallel,
net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat,
String stageRegion)
A callable that can be executed in a separate thread using executor service.
|
static Callable<Void> |
SnowflakeFileTransferAgent.getUploadFileCallable(String stageLocationType,
String stageLocation,
String srcFilePath,
boolean requireCompress,
Map<String,net.snowflake.client.jdbc.SnowflakeFileTransferAgent.FileMetadata> fileMetadataMap,
SnowflakeStorageClient client,
SFSession connection,
String command,
InputStream inputStream,
boolean sourceFromStream,
long sourceDataSize,
int parallel,
File srcFile,
net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat,
String stageRegion)
A callable that can be executed in a separate thread using exeuctor service.
|
static void |
SnowflakeFileTransferAgent.renewExpiredToken(SFSession connection,
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
|
| Modifier and Type | Class and Description |
|---|---|
class |
SnowflakeS3Client
Wrapper around AmazonS3Client.
|
| Modifier and Type | Method and Description |
|---|---|
SnowflakeStorageClient |
StorageClientFactory.createClient(String stageLocationType,
Map stageCredentials,
int parallel,
net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat,
String stageRegion)
Creates a storage client based on the value of stageLocationType
|
Copyright © 2017. All rights reserved.