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 classSFSessionSnowflake session implementationFields in net.snowflake.client.core declared as SFBaseSession Modifier and Type Field Description protected SFBaseSessionSFBaseResultSet. sessionMethods in net.snowflake.client.core that return SFBaseSession Modifier and Type Method Description SFBaseSessionDataConversionContext. getSession()SFBaseSessionSFBaseResultSet. getSession()SFBaseSessionSFResultSetMetaData. getSession()get the sessionabstract SFBaseSessionSFBaseStatement. getSFBaseSession()Returns the SFBaseSession associated with this SFBaseStatement.SFBaseSessionSFStatement. 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 DateResultUtil. getDate(String str, TimeZone tz, SFBaseSession session)Deprecated.static net.snowflake.common.core.SFTimeResultUtil. 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.SFTimestampResultUtil. 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 StringResultUtil. 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 voidHeartbeatBackground. removeSession(SFBaseSession session)Method to remove a session.voidSFBaseResultSet. 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 BindUploaderBindUploader. 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 SFBaseSessionSnowflakeBaseResultSet. sessionMethods in net.snowflake.client.jdbc that return SFBaseSession Modifier and Type Method Description SFBaseSessionChunkDownloadContext. getSession()SFBaseSessionSnowflakeConnectionV1. getSFBaseSession()SFBaseSessionDefaultSFConnectionHandler. getSFSession()Returns the default SFSession client implementation.SFBaseSessionSFConnectionHandler. 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 intResultJsonParserV2. continueParsing(ByteBuffer in, SFBaseSession session)Continue parsing with the given datastatic SnowflakeResultSetSerializableV1SnowflakeResultSetSerializableV1. 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 SnowflakeResultSetSerializableV1SnowflakeResultSetSerializableV1. 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)voidResultJsonParserV2. endParsing(ByteBuffer in, SFBaseSession session)Check if the chunk has been parsed correctly.static SnowflakeColumnMetadataSnowflakeUtil. extractColumnMetadata(com.fasterxml.jackson.databind.JsonNode colNode, boolean jdbcTreatDecimalAsInt, SFBaseSession session)static SnowflakeTypeSnowflakeType. javaTypeToSFType(int javaType, SFBaseSession session)static voidSnowflakeSQLLoggedException. 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 workvoidResultJsonParserV2. 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 SnowflakeAzureClientSnowflakeAzureClient. 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)
-