## Uses of Class
net.snowflake.client.jdbc.SnowflakeSQLException

Packages that use SnowflakeSQLException
net.snowflake.client.config
net.snowflake.client.core
net.snowflake.client.core.arrow
net.snowflake.client.jdbc
net.snowflake.client.jdbc.cloud.storage

### Uses of SnowflakeSQLException in net.snowflake.client.config

Methods in net.snowflake.client.config that throw SnowflakeSQLException
`static ConnectionParameters` SFConnectionConfigParser.`buildConnectionParameters()`

### Uses of SnowflakeSQLException in net.snowflake.client.core

Methods in net.snowflake.client.core that throw SnowflakeSQLException
`static void` StmtUtil.`cancel​(net.snowflake.client.core.StmtUtil.StmtInput stmtInput)` Deprecated. use `StmtUtil.cancel(StmtInput, CancellationReason)` instead
`static void` StmtUtil.`cancel​(net.snowflake.client.core.StmtUtil.StmtInput stmtInput, CancellationReason cancellationReason)` Cancel a statement identifiable by a request id
`void` SFArrowResultSet.`close()`
`void` SFBaseResultSet.`close()`
`abstract void` SFBaseSession.`close()` Close the connection
`void` SFFixedViewResultSet.`close()`
`void` SFResultSet.`close()`
`void` SFSession.`close()` Close the connection
`static StmtUtil.StmtOutput` StmtUtil.`execute​(net.snowflake.client.core.StmtUtil.StmtInput stmtInput, ExecTimeTelemetryData execTimeData)` Execute a statement
`static String` HttpUtil.`executeGeneralRequest​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int retryCount, HttpClientSettingsKey ocspAndProxyAndGzipKey)` Executes an HTTP request for Snowflake.
`static String` HttpUtil.`executeGeneralRequest​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int retryCount, org.apache.http.impl.client.CloseableHttpClient httpClient)` Executes an HTTP request for Snowflake
`Object` SFStatement.`executeHelper​(String sql, String mediaType, Map<String,​ParameterBindingDTO> bindValues, boolean describeOnly, boolean internal, boolean asyncExec, ExecTimeTelemetryData execTimeData)` A helper method to build URL and submit the SQL to snowflake for exec
`static String` HttpUtil.`executeRequest​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int maxRetries, int injectSocketTimeout, AtomicBoolean canceling, boolean includeRetryParameters, boolean retryOnHTTP403, HttpClientSettingsKey ocspAndProxyKey, ExecTimeTelemetryData execTimeData)` Executes an HTTP request for Snowflake.
`HttpClientSettingsKey` SFBaseSession.`getHttpClientKey()` Get the http client key
`SnowflakeResultChunk` ChunkDownloader.`getNextChunkToConsume()` Get next SnowflakeResultChunk that is ready to be consumed by the main thread.
`OCSPMode` SFBaseSession.`getOCSPMode()` Get OCSP mode
`protected static String` StmtUtil.`getQueryResult​(com.fasterxml.jackson.databind.JsonNode inProgressResponse, String previousGetResultPath, net.snowflake.client.core.StmtUtil.StmtInput stmtInput)` Issue get-result call to get query result given an in-progress response.
`protected static String` StmtUtil.`getQueryResult​(String getResultPath, net.snowflake.client.core.StmtUtil.StmtInput stmtInput)` Issue get-result call to get query result given an in-progress response.
`protected static com.fasterxml.jackson.databind.JsonNode` StmtUtil.`getQueryResultJSON​(String queryId, SFSession session)` Issue get-result call to get query result given an in progress response.
`boolean` SFArrowResultSet.`next()` Advance to next row
`boolean` SFBaseResultSet.`next()`
`boolean` SFResultSet.`next()` Advance to next row
`void` SFSession.`open()` Open a new database session
`static void` HttpUtil.`setSessionlessProxyForAzure​(Properties proxyProperties, com.microsoft.azure.storage.OperationContext opContext)` A static function to set Azure proxy params for sessionless connections using the proxy params from the StageInfo
`static void` HttpUtil.`setSessionlessProxyForS3​(Properties proxyProperties, com.amazonaws.ClientConfiguration clientConfig)` Deprecated. Use `S3HttpUtil.setSessionlessProxyForS3(Properties, ClientConfiguration)` instead

Constructors in net.snowflake.client.core that throw SnowflakeSQLException
`SFFixedViewResultSet​(SnowflakeFixedView fixedView, SFBaseFileTransferAgent.CommandType commandType, String queryID)`

### Uses of SnowflakeSQLException in net.snowflake.client.core.arrow

Methods in net.snowflake.client.core.arrow that throw SnowflakeSQLException
`static ArrowVectorConverter` ArrowVectorConverterUtil.`initConverter​(org.apache.arrow.vector.FieldVector vector, DataConversionContext context, int columnIndex)`
`static ArrowVectorConverter` ArrowVectorConverterUtil.`initConverter​(org.apache.arrow.vector.ValueVector vector, DataConversionContext context, SFBaseSession session, int idx)` Given an arrow vector (a single column in a single record batch), return an arrow vector converter.

### Uses of SnowflakeSQLException in net.snowflake.client.jdbc

Subclasses of SnowflakeSQLException in net.snowflake.client.jdbc
`class` `SnowflakeReauthenticationRequest` SnowflakeReauthenticationRequest signals the reauthentication used for SSO
`class` `SnowflakeSQLLoggedException`

Methods in net.snowflake.client.jdbc that throw SnowflakeSQLException
`void` JsonResultChunk.`addByte​(byte b, int pos)`
`void` JsonResultChunk.`addBytes​(byte[] src, int offset, int pos, int length)`
`void` JsonResultChunk.`addOffset​(int offset)`
`void` JsonResultChunk.`addRow​(Object[] row)`
`static void` SnowflakeUtil.`checkErrorAndThrowException​(com.fasterxml.jackson.databind.JsonNode rootNode)`
`static void` SnowflakeUtil.`checkErrorAndThrowExceptionIncludingReauth​(com.fasterxml.jackson.databind.JsonNode rootNode)`
`int` ResultJsonParserV2.`continueParsing​(ByteBuffer in, SFBaseSession session)` Continue parsing with the given data
`static HttpClientSettingsKey` SnowflakeUtil.`convertProxyPropertiesToHttpClientKey​(OCSPMode mode, Properties info)` Setup JDBC proxy properties if necessary.
`static SnowflakeResultSetSerializableV1` SnowflakeResultSetSerializableV1.`create​(com.fasterxml.jackson.databind.JsonNode rootNode, SFBaseSession sfSession, SFBaseStatement sfStatement)` A factory function to create SnowflakeResultSetSerializable object from result JSON node, using the DefaultResultStreamProvider.
`static SnowflakeResultSetSerializableV1` SnowflakeResultSetSerializableV1.`create​(com.fasterxml.jackson.databind.JsonNode rootNode, SFBaseSession sfSession, SFBaseStatement sfStatement, ResultStreamProvider resultStreamProvider)` A factory function to create SnowflakeResultSetSerializable object from result JSON node, with an overridable ResultStreamProvider.
`static SnowflakeResultSetSerializableV1` SnowflakeResultSetSerializableV1.`createWithChunksPrefetchDisabled​(com.fasterxml.jackson.databind.JsonNode rootNode, SFBaseSession sfSession, SFBaseStatement sfStatement)` A factory function for internal usage only.
`static SnowflakeRichResultSetSerializableV1` SnowflakeRichResultSetSerializableV1.`createWithChunksPrefetchDisabled​(com.fasterxml.jackson.databind.JsonNode rootNode, SFBaseSession sfSession, SFBaseStatement sfStatement)` A factory function for internal usage only.
`abstract InputStream` SFBaseFileTransferAgent.`downloadStream​(String fileName)` Download data from a stage.
`InputStream` SnowflakeFileTransferAgent.`downloadStream​(String fileName)` Download a file from remote, and return an input stream
`void` ResultJsonParserV2.`endParsing​(ByteBuffer in, SFBaseSession session)` Check if the chunk has been parsed correctly.
`void` JsonResultChunk.`ensureRowsComplete()` Checks that all data has been added after parsing.

`static org.apache.http.client.methods.CloseableHttpResponse`

RestRequest.`execute​(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.client.methods.HttpRequestBase httpRequest, long retryTimeout, long authTimeout, int socketTimeout, int maxRetries, int injectSocketTimeout, AtomicBoolean canceling, boolean withoutCookies, boolean includeRetryParameters, boolean includeRequestGuid, boolean retryHTTP403, boolean noRetry, ExecTimeTelemetryData execTimeData)`

Execute an HTTP request with retry logic.

`static org.apache.http.client.methods.CloseableHttpResponse`

RestRequest.`execute​(org.apache.http.impl.client.CloseableHttpClient httpClient, org.apache.http.client.methods.HttpRequestBase httpRequest, long retryTimeout, long authTimeout, int socketTimeout, int maxRetries, int injectSocketTimeout, AtomicBoolean canceling, boolean withoutCookies, boolean includeRetryParameters, boolean includeRequestGuid, boolean retryHTTP403, ExecTimeTelemetryData execTimeTelemetryData)`

`static SnowflakeColumnMetadata` SnowflakeUtil.`extractColumnMetadata​(com.fasterxml.jackson.databind.JsonNode colNode, boolean jdbcTreatDecimalAsInt, SFBaseSession session)` Deprecated.
`byte` JsonResultChunk.`get​(int offset)`
`SFBaseFileTransferAgent` DefaultSFConnectionHandler.`getFileTransferAgent​(String command, SFBaseStatement statement)`
`SFBaseFileTransferAgent` SFConnectionHandler.`getFileTransferAgent​(String command, SFBaseStatement statement)`
`List<SnowflakeFileTransferMetadata>` SnowflakeFileTransferAgent.`getFileTransferMetadatas()` This is API function to retrieve the File Transfer Metadatas.
`static List<SnowflakeFileTransferMetadata>` SnowflakeFileTransferAgent.`getFileTransferMetadatas​(com.fasterxml.jackson.databind.JsonNode jsonNode)` This is API function to parse the File Transfer Metadatas from a supplied PUT call response.
`static List<SnowflakeFileTransferMetadata>` SnowflakeFileTransferAgent.`getFileTransferMetadatas​(com.fasterxml.jackson.databind.JsonNode jsonNode, String queryId)` This is API function to parse the File Transfer Metadatas from a supplied PUT call response.
`SnowflakeResultChunk` SnowflakeChunkDownloader.`getNextChunkToConsume()` The method does the following:
`SnowflakeResultChunk` SnowflakeChunkDownloader.NoOpChunkDownloader.`getNextChunkToConsume()`
`Object` SnowflakeFileTransferAgent.`getResultSet()`
`SFSession` SnowflakeConnectionV1.`getSfSession()`
`static SnowflakeType` SnowflakeType.`javaTypeToSFType​(int javaType, SFBaseSession session)`
`static SnowflakeType` SnowflakeUtil.`javaTypeToSFType​(int javaType, SFBaseSession session)`
`void` ArrowResultChunk.`mergeBatchesIntoOne()` merge arrow result chunk with more than one batches into one record batch (Only used for the first chunk when client side sorting is required)
`boolean` ArrowResultChunk.ArrowChunkIterator.`next()` Advance to next row.
`void` JsonResultChunk.`nextIndex()`
`static void` SnowflakeFileTransferAgent.`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
`void` JsonResultChunk.`setIsNull()`
`void` JsonResultChunk.`setLastLength​(int len)`
`void` ResultJsonParserV2.`startParsing​(JsonResultChunk resultChunk, SFBaseSession session)`
`static void` SnowflakeFileTransferAgent.`throwJCEMissingError​(String operation, Exception ex)` Deprecated. use `SnowflakeFileTransferAgent.throwJCEMissingError(String, Exception, String)`
`static void` SnowflakeFileTransferAgent.`throwJCEMissingError​(String operation, Exception ex, String queryId)` Handles an InvalidKeyException which indicates that the JCE component is not installed properly

Constructors in net.snowflake.client.jdbc that throw SnowflakeSQLException
`SnowflakeChunkDownloader​(SnowflakeResultSetSerializableV1 resultSetSerializable)` Constructor to initialize downloader, which uses the default stream provider
`SnowflakeFileTransferAgent​(String command, SFSession session, SFStatement statement)`
`SnowflakeResultSetSerializableV1​(com.fasterxml.jackson.databind.JsonNode rootNode, SFBaseSession sfSession, SFBaseStatement sfStatement, ResultStreamProvider resultStreamProvider, boolean disableChunksPrefetch)`

### Uses of SnowflakeSQLException in net.snowflake.client.jdbc.cloud.storage

Methods in net.snowflake.client.jdbc.cloud.storage that throw SnowflakeSQLException
`SnowflakeStorageClient` StorageClientFactory.`createClient​(StageInfo stage, int parallel, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat, SFSession session)` Creates a storage client based on the value of stageLocationType
`static SnowflakeAzureClient` SnowflakeAzureClient.`createSnowflakeAzureClient​(StageInfo stage, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat, SFBaseSession sfSession)`
`static SnowflakeGCSClient` SnowflakeGCSClient.`createSnowflakeGCSClient​(StageInfo stage, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat, SFSession session)`
`void` SnowflakeAzureClient.`download​(SFSession session, String command, String localLocation, String destFileName, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion, String presignedUrl, String queryId)` Download a file from remote storage.
`void` SnowflakeGCSClient.`download​(SFSession session, String command, String localLocation, String destFileName, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion, String presignedUrl, String queryId)` Download a file from remote storage.
`void` SnowflakeS3Client.`download​(SFSession session, String command, String localLocation, String destFileName, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion, String presignedUrl, String queryId)` Download a file from S3.
`default void` SnowflakeStorageClient.`download​(SFSession connection, String command, String localLocation, String destFileName, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion, String presignedUrl)` Deprecated. use `SnowflakeStorageClient.download(SFSession, String, String, String, int, String, String, String, String, String)`
`void` SnowflakeStorageClient.`download​(SFSession connection, String command, String localLocation, String destFileName, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion, String presignedUrl, String queryId)` Download a file from remote storage.
`InputStream` SnowflakeAzureClient.`downloadToStream​(SFSession session, String command, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion, String presignedUrl, String queryId)` Download a file from remote storage
`InputStream` SnowflakeGCSClient.`downloadToStream​(SFSession session, String command, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion, String presignedUrl, String queryId)` Download a file from remote storage
`InputStream` SnowflakeS3Client.`downloadToStream​(SFSession session, String command, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion, String presignedUrl, String queryId)` Download a file from remote storage
`default InputStream` SnowflakeStorageClient.`downloadToStream​(SFSession connection, String command, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion, String presignedUrl)` Deprecated. use `SnowflakeStorageClient.download(SFSession, String, String, String, int, String, String, String, String, String)`
`InputStream` SnowflakeStorageClient.`downloadToStream​(SFSession connection, String command, int parallelism, String remoteStorageLocation, String stageFilePath, String stageRegion, String presignedUrl, String queryId)` Download a file from remote storage
`void` SnowflakeAzureClient.`handleStorageException​(Exception ex, int retryCount, String operation, SFSession session, String command, String queryId)` Handles exceptions thrown by Azure Storage
`void` SnowflakeGCSClient.`handleStorageException​(Exception ex, int retryCount, String operation, SFSession session, String command, String queryId)`
`void` SnowflakeS3Client.`handleStorageException​(Exception ex, int retryCount, String operation, SFSession session, String command, String queryId)`
`default void` SnowflakeStorageClient.`handleStorageException​(Exception ex, int retryCount, String operation, SFSession connection, String command)` Deprecated. use `SnowflakeStorageClient.handleStorageException(Exception, int, String, SFSession, String, String)`
`void` SnowflakeStorageClient.`handleStorageException​(Exception ex, int retryCount, String operation, SFSession connection, String command, String queryId)` Handles exceptions thrown by the remote storage provider
`void` SnowflakeAzureClient.`renew​(Map<?,​?> stageCredentials)` Re-creates the encapsulated storage client with a fresh access token
`void` SnowflakeGCSClient.`renew​(Map<?,​?> stageCredentials)`
`void` SnowflakeS3Client.`renew​(Map<?,​?> stageCredentials)` Renew the S3 client with fresh AWS credentials/access token
`void` SnowflakeStorageClient.`renew​(Map<?,​?> stageCredentials)` Re-creates the encapsulated storage client with a fresh access token
`static void` S3HttpUtil.`setSessionlessProxyForS3​(Properties proxyProperties, com.amazonaws.ClientConfiguration clientConfig)` A static function to set S3 proxy params for sessionless connections using the proxy params from the StageInfo
`void` SnowflakeAzureClient.`upload​(SFSession session, String command, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion, String presignedUrl, String queryId)` Upload a file/stream to remote storage
`void` SnowflakeGCSClient.`upload​(SFSession session, String command, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion, String presignedUrl, String queryId)` Upload a file/stream to remote storage
`void` SnowflakeS3Client.`upload​(SFSession session, String command, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion, String presignedUrl, String queryId)` Upload a file (-stream) to S3.

`default void`

SnowflakeStorageClient.`upload​(SFSession connection, String command, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion, String presignedUrl)`

Deprecated.
user `SnowflakeStorageClient.upload(SFSession, String, int, boolean, String, File, String, InputStream, FileBackedOutputStream, StorageObjectMetadata, String, String, String)`

`void` SnowflakeStorageClient.`upload​(SFSession connection, String command, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion, String presignedUrl, String queryId)` Upload a file (-stream) to remote storage

`void`

SnowflakeGCSClient.`uploadWithPresignedUrlWithoutConnection​(int networkTimeoutInMilli, HttpClientSettingsKey ocspModeAndProxyKey, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion, String presignedUrl, String queryId)`

Upload a file (-stream) to remote storage with Pre-signed URL without JDBC session.

`default void`

SnowflakeStorageClient.`uploadWithPresignedUrlWithoutConnection​(int networkTimeoutInMilli, HttpClientSettingsKey ocspModeAndProxyKey, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion, String presignedUrl)`

Deprecated.
use `SnowflakeStorageClient.uploadWithPresignedUrlWithoutConnection(int, HttpClientSettingsKey, int, boolean, String, File, String, InputStream, FileBackedOutputStream, StorageObjectMetadata, String, String, String)` This method was left to keep backward compatibility

`default void`

SnowflakeStorageClient.`uploadWithPresignedUrlWithoutConnection​(int networkTimeoutInMilli, HttpClientSettingsKey ocspModeAndProxyKey, int parallelism, boolean uploadFromStream, String remoteStorageLocation, File srcFile, String destFileName, InputStream inputStream, FileBackedOutputStream fileBackedOutputStream, StorageObjectMetadata meta, String stageRegion, String presignedUrl, String queryId)`

Upload a file (-stream) to remote storage with Pre-signed URL without JDBC connection.

Constructors in net.snowflake.client.jdbc.cloud.storage that throw SnowflakeSQLException
`SnowflakeS3Client​(Map<?,​?> stageCredentials, com.amazonaws.ClientConfiguration clientConfig, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat, Properties proxyProperties, String stageRegion, String stageEndPoint, boolean isClientSideEncrypted, SFBaseSession session, boolean useS3RegionalUrl)`