| Package | Description |
|---|---|
| net.snowflake.client.jdbc |
| Modifier and Type | Method and Description |
|---|---|
static void |
SnowflakeS3Client.download(SnowflakeS3Client client,
SFSession connection,
String command,
String localLocation,
String destFileName,
int parallelism,
String bucketName,
String stageFilePath,
String stageRegion)
Download a file from S3.
|
static Callable<Void> |
SnowflakeFileTransferAgent.getDownloadFileCallable(String stageLocationType,
String stageLocation,
Map credentials,
String srcFilePath,
String localLocation,
Map<String,net.snowflake.client.jdbc.SnowflakeFileTransferAgent.FileMetadata> fileMetadataMap,
SnowflakeS3Client s3Client,
SFSession connection,
String command,
int parallel,
net.snowflake.common.core.S3FileEncryptionMaterial encMat,
String stageRegion)
A callable that can be executed in a separate thread using exeuctor service.
|
static Callable<Void> |
SnowflakeFileTransferAgent.getUploadFileCallable(String stageLocationType,
String stageLocation,
String srcFilePath,
boolean requireCompress,
Map<String,net.snowflake.client.jdbc.SnowflakeFileTransferAgent.FileMetadata> fileMetadataMap,
SnowflakeS3Client s3Client,
SFSession connection,
String command,
InputStream inputStream,
boolean sourceFromStream,
long sourceDataSize,
int parallel,
File srcFile,
net.snowflake.common.core.S3FileEncryptionMaterial encMat,
String stageRegion)
A callable that can be executed in a separate thread using exeuctor service.
|
static void |
SnowflakeS3Client.upload(SnowflakeS3Client client,
SFSession connection,
String command,
int parallelism,
int maxRetries,
boolean uploadFromStream,
String bucketName,
File srcFile,
String destFileName,
InputStream inputStream,
FileBackedOutputStream fileBackedOutputStream,
com.amazonaws.services.s3.model.ObjectMetadata meta,
String stageRegion)
Upload a file (-stream) to S3.
|
Copyright © 2017. All rights reserved.