Uses of Class
net.snowflake.client.core.SFBaseSession
-
Packages that use SFBaseSession Package Description net.snowflake.client.core net.snowflake.client.core.bind 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 Modifier and Type Class Description class
SFSession
Snowflake session implementationFields in net.snowflake.client.core declared as SFBaseSession Modifier and Type Field Description protected SFBaseSession
SFBaseResultSet. session
Methods in net.snowflake.client.core that return SFBaseSession Modifier and Type Method Description SFBaseSession
DataConversionContext. getSession()
SFBaseSession
SFBaseResultSet. getSession()
SFBaseSession
SFResultSetMetaData. getSession()
get the sessionabstract SFBaseSession
SFBaseStatement. getSFBaseSession()
Returns the SFBaseSession associated with this SFBaseStatement.SFBaseSession
SFStatement. getSFBaseSession()
Methods in net.snowflake.client.core with parameters of type SFBaseSession Modifier and Type Method Description 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 liststatic Date
ResultUtil. getDate(String str, TimeZone tz, SFBaseSession session)
Deprecated.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.protected void
HeartbeatBackground. removeSession(SFBaseSession session)
Method to remove a session.void
SFBaseResultSet. setSession(SFBaseSession session)
Constructors in net.snowflake.client.core with parameters of type SFBaseSession Constructor Description 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.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)
-
Uses of SFBaseSession in net.snowflake.client.core.bind
Methods in net.snowflake.client.core.bind with parameters of type SFBaseSession Modifier and Type Method Description 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.jdbc
Fields in net.snowflake.client.jdbc declared as SFBaseSession Modifier and Type Field Description protected SFBaseSession
SnowflakeBaseResultSet. session
Methods in net.snowflake.client.jdbc that return SFBaseSession Modifier and Type Method Description SFBaseSession
ChunkDownloadContext. getSession()
SFBaseSession
SnowflakeConnectionV1. getSFBaseSession()
SFBaseSession
DefaultSFConnectionHandler. getSFSession()
Returns the default SFSession client implementation.SFBaseSession
SFConnectionHandler. getSFSession()
Gets the SFBaseSession implementation for this connection implementationMethods in net.snowflake.client.jdbc that return types with arguments of type SFBaseSession Modifier and Type Method Description Optional<SFBaseSession>
SnowflakeResultSetSerializableV1. getSession()
Methods in net.snowflake.client.jdbc with parameters of type SFBaseSession Modifier and Type Method Description int
ResultJsonParserV2. continueParsing(ByteBuffer in, SFBaseSession session)
Continue parsing with the given datastatic 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.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 SnowflakeColumnMetadata
SnowflakeUtil. extractColumnMetadata(com.fasterxml.jackson.databind.JsonNode colNode, boolean jdbcTreatDecimalAsInt, SFBaseSession session)
static SnowflakeType
SnowflakeType. 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 workvoid
ResultJsonParserV2. startParsing(JsonResultChunk resultChunk, SFBaseSession session)
Constructors in net.snowflake.client.jdbc with parameters of type SFBaseSession Constructor Description 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)
SnowflakeLoggedFeatureNotSupportedException(SFBaseSession session)
SnowflakeLoggedFeatureNotSupportedException(SFBaseSession session, String message)
SnowflakeSQLLoggedException(SFBaseSession session, int vendorCode, String SQLState)
SnowflakeSQLLoggedException(SFBaseSession session, int vendorCode, String SQLState, Object... params)
SnowflakeSQLLoggedException(SFBaseSession session, String reason)
SnowflakeSQLLoggedException(SFBaseSession session, String SQLState, int vendorCode, Throwable ex, Object... params)
SnowflakeSQLLoggedException(SFBaseSession session, String SQLState, String reason)
SnowflakeSQLLoggedException(SFBaseSession session, String reason, String SQLState, int vendorCode, String queryId)
SnowflakeSQLLoggedException(SFBaseSession session, SFException e)
SnowflakeSQLLoggedException(SFBaseSession session, ErrorCode errorCode, Object... params)
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 Modifier and Type Method Description 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 Constructor Description 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)
-