case class SnowflakeConnection(id: ConnectionId, url: String, warehouse: String, database: String, role: String, authMode: AuthMode, metadata: Option[ConnectionMetadata] = None) extends Connection with SmartDataLakeLogger with Product with Serializable
Connection information for Snowflake databases. The connection can be used for SnowflakeTableDataObjects If multiple SnowflakeTableDataObjects share a connection, they share the same Snowpark session
- id
unique id of this connection
- url
snowflake connection url
- warehouse
Snowflake namespace
- database
Snowflake database
- role
Snowflake role
- authMode
optional authentication information: for now BasicAuthMode is supported.
- metadata
Connection metadata
- Annotations
- @Scaladoc()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SnowflakeConnection
- Serializable
- Serializable
- Product
- Equals
- SmartDataLakeLogger
- Connection
- AtlasExportable
- ParsableFromConfig
- SdlConfigObject
- ConfigHolder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
SnowflakeConnection(id: ConnectionId, url: String, warehouse: String, database: String, role: String, authMode: AuthMode, metadata: Option[ConnectionMetadata] = None)
- id
unique id of this connection
- url
snowflake connection url
- warehouse
Snowflake namespace
- database
Snowflake database
- role
Snowflake role
- authMode
optional authentication information: for now BasicAuthMode is supported.
- metadata
Connection metadata
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
atlasName: String
- Definition Classes
- Connection → AtlasExportable
-
def
atlasQualifiedName(prefix: String): String
- Definition Classes
- AtlasExportable
- val authMode: AuthMode
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val database: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def execSnowflakeStatement(sql: String, logging: Boolean = true): ResultSet
-
def
factory: FromConfigFactory[Connection]
- Definition Classes
- SnowflakeConnection → ParsableFromConfig
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getSnowflakeOptions(schema: String): Map[String, String]
- def getSnowparkSession(schema: String): Session
-
val
id: ConnectionId
- Definition Classes
- SnowflakeConnection → Connection → SdlConfigObject
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- SmartDataLakeLogger
- Annotations
- @transient()
-
val
metadata: Option[ConnectionMetadata]
- Definition Classes
- SnowflakeConnection → Connection
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val role: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toStringShort: String
- Definition Classes
- Connection
- val url: String
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val warehouse: String
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated