## Uses of Class
net.snowflake.client.core.SFBaseSession

Packages that use SFBaseSession
net.snowflake.client.core
net.snowflake.client.core.arrow
net.snowflake.client.core.bind
net.snowflake.client.core.json
net.snowflake.client.jdbc
net.snowflake.client.jdbc.cloud.storage

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

Subclasses of SFBaseSession in net.snowflake.client.core
`class` `SFSession` Snowflake session implementation

Fields in net.snowflake.client.core declared as SFBaseSession
`protected SFBaseSession` BaseSqlInput.`session`
`protected SFBaseSession` SFBaseResultSet.`session`

Methods in net.snowflake.client.core that return SFBaseSession
`SFBaseSession` DataConversionContext.`getSession()`
`SFBaseSession` SFBaseResultSet.`getSession()`
`SFBaseSession` SFResultSetMetaData.`getSession()` get the session
`abstract SFBaseSession` SFBaseStatement.`getSFBaseSession()` Get the SFBaseSession associated with this SFBaseStatement.
`SFBaseSession` SFStatement.`getSFBaseSession()`
`SFBaseSession` HttpExecutingContext.`getSfSession()`

Methods in net.snowflake.client.core with parameters of type SFBaseSession
`static void` StmtUtil.`cancel​(net.snowflake.client.core.StmtUtil.StmtInput stmtInput, CancellationReason cancellationReason, SFBaseSession sfSession)` Cancel a statement identifiable by a request id
`protected SQLInput` SFBaseResultSet.`createJsonSqlInputForColumn​(Object input, SFBaseSession session, List<FieldMetadata> fields)`
`SQLInput` SFArrowResultSet.`createSqlInputForColumn​(Object input, Class<?> parentObjectClass, int columnIndex, SFBaseSession session, List<FieldMetadata> fields)`
`SQLInput` SFBaseResultSet.`createSqlInputForColumn​(Object input, Class<?> parentObjectClass, int columnIndex, SFBaseSession session, List<FieldMetadata> fields)`
`SQLInput` SFJsonResultSet.`createSqlInputForColumn​(Object input, Class<?> parentObjectClass, int columnIndex, SFBaseSession session, List<FieldMetadata> fields)`
`static StmtUtil.StmtOutput` StmtUtil.`execute​(net.snowflake.client.core.StmtUtil.StmtInput stmtInput, ExecTimeTelemetryData execTimeData, SFBaseSession sfSession)` Execute a statement
`static String` HttpUtil.`executeGeneralRequest​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int retryCount, HttpClientSettingsKey ocspAndProxyAndGzipKey, SFBaseSession sfSession)` 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, HttpClientSettingsKey ocspAndProxyAndGzipKey, RetryContextManager retryContextManager, SFBaseSession sfSession)` 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, SFBaseSession sfSession)` Executes an HTTP request for Snowflake
`static String` HttpUtil.`executeGeneralRequestOmitRequestGuid​(org.apache.http.client.methods.HttpRequestBase httpRequest, int retryTimeout, int authTimeout, int socketTimeout, int retryCount, HttpClientSettingsKey ocspAndProxyAndGzipKey, SFBaseSession sfSession)`

`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, SFBaseSession sfSession)`

Executes an HTTP request for Snowflake.

`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, RetryContextManager retryContextManager, SFBaseSession sfSession)`

Executes an HTTP request for Snowflake.

`static List<SFChildResult>` ResultUtil.`getChildResults​(SFBaseSession session, String requestId, com.fasterxml.jackson.databind.JsonNode result)` Return the list of child results provided in a result, if available; otherwise return an empty list
`static int` ColumnTypeHelper.`getColumnType​(int internalColumnType, SFBaseSession session)`
`static Date` ResultUtil.`getDate​(String str, TimeZone tz, SFBaseSession session)` Deprecated.
`protected static String` StmtUtil.`getQueryResult​(com.fasterxml.jackson.databind.JsonNode inProgressResponse, String previousGetResultPath, net.snowflake.client.core.StmtUtil.StmtInput stmtInput, SFBaseSession sfSession)` 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, SFBaseSession sfSession)` Issue get-result call to get query result given an in-progress response.
`static net.snowflake.common.core.SFTime` ResultUtil.`getSFTime​(String obj, int scale, SFBaseSession session)` Convert a time internal value (scaled number of seconds + fractional seconds) into an SFTime.
`static net.snowflake.common.core.SFTimestamp` ResultUtil.`getSFTimestamp​(String timestampStr, int scale, int internalColumnType, long resultVersion, TimeZone sessionTZ, SFBaseSession session)` Convert a timestamp internal value (scaled number of seconds + fractional seconds) into a SFTimestamp.

`static String`

ResultUtil.`getSFTimestampAsString​(net.snowflake.common.core.SFTimestamp sfTS, int columnType, int scale, net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter, SFBaseSession session)`

Convert a SFTimestamp to a string value.

`static Timestamp` SfTimestampUtil.`getTimestampFromType​(int columnSubType, String value, SFBaseSession session, TimeZone sessionTimeZone, TimeZone tz)`
`protected void` HeartbeatBackground.`removeSession​(SFBaseSession session)` Method to remove a session.
`void` SFBaseResultSet.`setSession​(SFBaseSession session)`
`void` HttpExecutingContext.`setSfSession​(SFBaseSession sfSession)`
`HttpExecutingContextBuilder` HttpExecutingContextBuilder.`withSfSession​(SFBaseSession sfSession)` Sets the session associated with this context.

Constructors in net.snowflake.client.core with parameters of type SFBaseSession
`ArrowSqlInput​(Map<String,​Object> input, SFBaseSession session, Converters converters, List<FieldMetadata> fields)`
`BaseSqlInput​(SFBaseSession session, Converters converters, List<FieldMetadata> fields)`
`JsonSqlInput​(String text, com.fasterxml.jackson.databind.JsonNode input, SFBaseSession session, Converters converters, List<FieldMetadata> fields, TimeZone sessionTimeZone)`
`JsonSqlOutput​(SQLData original, SFBaseSession sfBaseSession)`
`SFArrowResultSet​(SnowflakeResultSetSerializableV1 resultSetSerializable, SFBaseSession session, SFBaseStatement statement, boolean sortResult)` Constructor takes a result from the API response that we get from executing a SQL statement.
`SFResultSet​(SnowflakeResultSetSerializableV1 resultSetSerializable, SFBaseSession session, Telemetry telemetryClient, boolean sortResult)` This is a minimum initialization for SFResultSet.
`SFResultSetMetaData​(int columnCount, List<String> columnNames, List<String> columnTypeNames, List<Integer> columnTypes, SFBaseSession session)`

`SFResultSetMetaData​(List<SnowflakeColumnMetadata> columnMetadata, String queryId, SFBaseSession session, boolean isResultColumnCaseInsensitive, net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat dateFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timeFormatter)`

`SFResultSetMetaData​(List<SnowflakeColumnMetadata> columnMetadata, SFBaseSession session, net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat dateFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timeFormatter)`

`SfSqlArray​(int baseType, Object elements, SFBaseSession session)`
`SfSqlArray​(String text, int baseType, Object elements, SFBaseSession session)`

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

Methods in net.snowflake.client.core.arrow with parameters of type SFBaseSession
`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 SFBaseSession in net.snowflake.client.core.bind

Methods in net.snowflake.client.core.bind with parameters of type SFBaseSession
`static BindUploader` BindUploader.`newInstance​(SFBaseSession session, String stageDir)` Create a new BindUploader which will upload to the given stage path.

### Uses of SFBaseSession in net.snowflake.client.core.json

Methods in net.snowflake.client.core.json with parameters of type SFBaseSession
`Converter` Converters.`dateStringConverter​(SFBaseSession session)`
`Converter` Converters.`timeFromStringConverter​(SFBaseSession session)`
`Converter` Converters.`timestampFromStringConverter​(int columnSubType, int columnType, int scale, SFBaseSession session, TimeZone tz, TimeZone sessionTimezone)`

Constructors in net.snowflake.client.core.json with parameters of type SFBaseSession

`Converters​(TimeZone sessionTimeZone, SFBaseSession session, long resultVersion, boolean honorClientTZForTimestampNTZ, boolean treatNTZAsUTC, boolean useSessionTimezone, boolean formatDateWithTimeZone, net.snowflake.common.core.SFBinaryFormat binaryFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat dateFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timeFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter)`

`Converters​(SFBaseSession session, SnowflakeResultSetSerializableV1 resultSetSerializable)`
`DateTimeConverter​(TimeZone sessionTimeZone, SFBaseSession session, long resultVersion, boolean honorClientTZForTimestampNTZ, boolean treatNTZAsUTC, boolean useSessionTimezone, boolean formatDateWithTimeZone)`

`StringConverter​(TimeZone sessionTimeZone, net.snowflake.common.core.SFBinaryFormat binaryFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat dateFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timeFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampNTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampLTZFormatter, net.snowflake.common.core.SnowflakeDateTimeFormat timestampTZFormatter, long resultVersion, SFBaseSession session, Converters converters)`

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

Fields in net.snowflake.client.jdbc declared as SFBaseSession
`protected SFBaseSession` SnowflakeBaseResultSet.`session`

Methods in net.snowflake.client.jdbc that return SFBaseSession
`SFBaseSession` ChunkDownloadContext.`getSession()`
`SFBaseSession` SnowflakeConnectionV1.`getSFBaseSession()`
`SFBaseSession` DefaultSFConnectionHandler.`getSFSession()` Returns the default SFSession client implementation.
`SFBaseSession` SFConnectionHandler.`getSFSession()`

Methods in net.snowflake.client.jdbc that return types with arguments of type SFBaseSession
`Optional<SFBaseSession>` SnowflakeResultSetSerializableV1.`getSession()`

Methods in net.snowflake.client.jdbc with parameters of type SFBaseSession
`int` ResultJsonParserV2.`continueParsing​(ByteBuffer in, SFBaseSession session)` Continue parsing with the given data
`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.
`List<SnowflakeColumnMetadata>` SFBaseFileTransferAgent.`describeColumns​(SFBaseSession session)` Describe the metadata of a fixed view.
`List<SnowflakeColumnMetadata>` SnowflakeFixedView.`describeColumns​(SFBaseSession session)`
`void` ResultJsonParserV2.`endParsing​(ByteBuffer in, SFBaseSession session)` Check if the chunk has been parsed correctly.

`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, SFBaseSession sfSession)`

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, boolean noRetry, ExecTimeTelemetryData execTimeData, RetryContextManager retryManager, SFBaseSession sfSession, HttpClientSettingsKey key, List<HttpHeadersCustomizer> httpHeaderCustomizer, boolean isHttpClientWithoutDecompression)`

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, SFBaseSession sfSession)`

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 execTimeData, RetryContextManager retryContextManager, SFBaseSession sfSession)`

Execute an HTTP request with retry logic.

`static HttpResponseContextDto`

RestRequest.`executeWithRetries​(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, boolean unpackResponse, ExecTimeTelemetryData execTimeTelemetryData, SFBaseSession sfSession, HttpClientSettingsKey key, List<HttpHeadersCustomizer> httpHeaderCustomizer, boolean isHttpClientWithoutDecompression)`

Execute an HTTP request with retry logic.

`static HttpResponseContextDto`

RestRequest.`executeWithRetries​(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 unpackResponse, ExecTimeTelemetryData execTimeTelemetryData, SFBaseSession sfSession, HttpClientSettingsKey key, List<HttpHeadersCustomizer> httpHeaderCustomizer, boolean isHttpClientWithoutDecompression)`

Execute an HTTP request with retry logic.

`static SnowflakeColumnMetadata` SnowflakeUtil.`extractColumnMetadata​(com.fasterxml.jackson.databind.JsonNode colNode, boolean jdbcTreatDecimalAsInt, SFBaseSession session)` Deprecated.
`static SnowflakeType` SnowflakeType.`javaTypeToSFType​(int javaType, SFBaseSession session)`
`static SnowflakeType` SnowflakeUtil.`javaTypeToSFType​(int javaType, SFBaseSession session)`
`static void` SnowflakeSQLLoggedException.`sendTelemetryData​(String queryId, String SQLState, int vendorCode, SFBaseSession session, SQLException ex)` Function to construct log data based on possible exception inputs and send data through in-band telemetry, or oob if in-band does not work
`void` ResultJsonParserV2.`startParsing​(JsonResultChunk resultChunk, SFBaseSession session)`

Constructors in net.snowflake.client.jdbc with parameters of type SFBaseSession
`ArrowResultChunk​(String url, int rowCount, int colCount, int uncompressedSize, org.apache.arrow.memory.RootAllocator rootAllocator, SFBaseSession session)`
`ChunkDownloadContext​(SnowflakeChunkDownloader chunkDownloader, SnowflakeResultChunk resultChunk, String qrmk, int chunkIndex, Map<String,​String> chunkHeadersMap, int networkTimeoutInMilli, int authTimeout, int socketTimeout, int maxHttpRetries, SFBaseSession session)`
`JsonResultChunk​(String url, int rowCount, int colCount, int uncompressedSize, SFBaseSession session)`
`SnowflakeColumnMetadata​(com.fasterxml.jackson.databind.JsonNode colNode, boolean jdbcTreatDecimalAsInt, SFBaseSession session)`
`SnowflakeLoggedFeatureNotSupportedException​(SFBaseSession session)`
`SnowflakeLoggedFeatureNotSupportedException​(SFBaseSession session, String message)`
`SnowflakeResultSetSerializableV1​(com.fasterxml.jackson.databind.JsonNode rootNode, SFBaseSession sfSession, SFBaseStatement sfStatement, ResultStreamProvider resultStreamProvider, boolean disableChunksPrefetch)`
`SnowflakeRichResultsColumnMetadata​(com.fasterxml.jackson.databind.JsonNode colNode, boolean jdbcTreatDecimalAsInt, SFBaseSession session)`
`SnowflakeSQLLoggedException​(String queryId, SFBaseSession session, int vendorCode, String SQLState)`
`SnowflakeSQLLoggedException​(String queryId, SFBaseSession session, int vendorCode, String SQLState, Object... params)`
`SnowflakeSQLLoggedException​(String queryId, SFBaseSession session, String reason)`
`SnowflakeSQLLoggedException​(String queryId, SFBaseSession session, String SQLState, int vendorCode, Throwable ex, Object... params)`
`SnowflakeSQLLoggedException​(String queryId, SFBaseSession session, String SQLState, String reason)`
`SnowflakeSQLLoggedException​(String queryId, SFBaseSession session, ErrorCode errorCode, Object... params)`
`SnowflakeSQLLoggedException​(SFBaseSession session, int vendorCode, String SQLState)`
`SnowflakeSQLLoggedException​(SFBaseSession session, int vendorCode, String SQLState, Object... params)`
`SnowflakeSQLLoggedException​(SFBaseSession session, String reason)` Deprecated.
`SnowflakeSQLLoggedException​(SFBaseSession session, String SQLState, int vendorCode, Throwable ex, Object... params)`
`SnowflakeSQLLoggedException​(SFBaseSession session, String SQLState, String reason)` Deprecated.
`SnowflakeSQLLoggedException​(SFBaseSession session, String reason, String SQLState, int vendorCode, String queryId)`
`SnowflakeSQLLoggedException​(SFBaseSession session, SFException e)`
`SnowflakeSQLLoggedException​(SFBaseSession session, ErrorCode errorCode, Object... params)` Deprecated.
`SnowflakeSQLLoggedException​(SFBaseSession session, ErrorCode errorCode, Throwable ex, Object... params)`

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

Methods in net.snowflake.client.jdbc.cloud.storage with parameters of type SFBaseSession
`static SnowflakeAzureClient` SnowflakeAzureClient.`createSnowflakeAzureClient​(StageInfo stage, net.snowflake.common.core.RemoteStoreFileEncryptionMaterial encMat, SFBaseSession sfSession)`

Constructors in net.snowflake.client.jdbc.cloud.storage with parameters of type SFBaseSession
`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)`