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

Packages that use SnowflakeSQLException
net.snowflake.client.core
net.snowflake.client.jdbc

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

Methods in net.snowflake.client.core that throw SnowflakeSQLException
`static void` StmtUtil.`cancel(StmtUtil.StmtInput stmtInput)` Cancel a statement identifiable by a request id
`protected void` SFStatement.`cancelHelper(String sql, String mediaType)` A helper method to build URL and cancel the SQL for exec
`void` SFSession.`close()` Close the connection
`static void` SessionUtil.`closeSession(SessionUtil.LoginInput loginInput)` Close a session
`static StmtUtil.StmtOutput` StmtUtil.`execute(StmtUtil.StmtInput stmtInput)` Execute a statement side effect: stmtInput.prevGetResultURL is set if we have started ping pong and receives an exception from session token expiration so that during retry we don't retry the query submission, but continue the ping pong process.
`Object` SFStatement.`executeHelper(String sql, String mediaType, Map<String,Map<String,Object>> bindValues, boolean describeOnly)` A helper method to build URL and submit the SQL to snowflake for exec
`protected static String` StmtUtil.`getQueryResult(com.fasterxml.jackson.databind.JsonNode inProgressResponse, String mediaType, String previousGetResultPath, StmtUtil.StmtInput stmtInput)` Issue get-result call to get query result given an in progress response.
`boolean` SFResultSet.`next()` Advance to next row
`boolean` SFBaseResultSet.`next()`
`void` SFSession.`open()` Open a new database session
`static SessionUtil.LoginOutput` SessionUtil.`openSession(SessionUtil.LoginInput loginInput)` Open a new session
`static ResultUtil.ResultOutput` ResultUtil.`processResult(ResultUtil.ResultInput resultData)` A common helper to process result response
`static SessionUtil.LoginOutput` SessionUtil.`renewSession(SessionUtil.LoginInput loginInput)` Renew a session

Constructors in net.snowflake.client.core that throw SnowflakeSQLException
Constructor and Description
`SFFixedViewResultSet(SnowflakeFixedView fixedView)`

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

Methods in net.snowflake.client.jdbc that throw SnowflakeSQLException
`void` SnowflakeResultChunk.`addRow(Object[] row)`
`static void` SnowflakeUtil.`checkErrorAndThrowException(com.fasterxml.jackson.databind.JsonNode rootNode)` Check the error in the JSON node and generate an exception based on information extracted from the node.
`static List<SnowflakeColumnMetadata>` SnowflakeUtil.`describeFixedViewColumns(Class clazz)`
`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.
`void` SnowflakeResultChunk.`ensureRowsComplete()` Checks that all data has been added after parsing.
`static org.apache.http.HttpResponse` RestRequest.`execute(org.apache.http.client.HttpClient httpClient, org.apache.http.client.methods.HttpRequestBase httpRequest, long retryTimeout, int injectSocketTimeout, AtomicBoolean canceling)` Execute an http request with retry logic.
`static Set<String>` SnowflakeFileTransferAgent.`expandFileNames(String[] filePathList)` process a list of file paths separated by "," and expand the wildcards if any to generate the list of paths for all files matched by the wildcards
`static SnowflakeColumnMetadata` SnowflakeUtil.`extractColumnMetadata(com.fasterxml.jackson.databind.JsonNode colNode)`
`SnowflakeResultChunk` SnowflakeChunkDownloader.`getNextChunkToConsume()` The method does the following: 1.
`Object` SnowflakeFileTransferAgent.`getResultSet()`
`static SnowflakeType` SnowflakeType.`javaTypeToSFType(int javaType)`
`static String` SnowflakeUtil.`javaTypeToSFType(int javaType)`
`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.

Constructors in net.snowflake.client.jdbc that throw SnowflakeSQLException
Constructor and Description
`SnowflakeFileTransferAgent(String command, SFSession connection, SFStatement statement)`
`SnowflakeResultSetMetaData(int columnCount, List<String> columnNames, List<String> columnTypeNames, List<Integer> columnTypes)`
`SnowflakeResultSetMetaData(List<SnowflakeColumnMetadata> columnMetadata)`
`SnowflakeResultSetMetaData(List<SnowflakeColumnMetadata> columnMetadata, String queryId)`
`SnowflakeResultSetMetaDataV1(SFResultSetMetaData resultSetMetaData)`
`SnowflakeS3Client(com.amazonaws.auth.AWSCredentials awsCredentials, com.amazonaws.ClientConfiguration clientConfig, com.snowflake.gscommon.core.S3FileEncryptionMaterial encMat, String stageRegion)`