package snowflake
Main package for Snowflake APIs. Import all.
import com.spotify.scio.snowflake._- Source
- package.scala
- Alphabetic
- By Inheritance
- snowflake
- AllSyntax
- SCollectionSyntax
- ScioContextSyntax
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait SnowflakeAuthenticationOptions extends AnyRef
- final case class SnowflakeConnectionOptions(url: String, authenticationOptions: SnowflakeAuthenticationOptions = null, database: String = null, role: String = null, warehouse: String = null, schema: String = null, loginTimeout: Duration = null) extends Product with Serializable
Options for a Snowflake connection.
Options for a Snowflake connection.
- url
Sets URL of Snowflake server in following format: "jdbc:snowflake://[host]:[port].snowflakecomputing.com"
- authenticationOptions
authentication options
- database
database to use
- role
user's role to be used when running queries on Snowflake
- warehouse
warehouse name
- schema
schema to use when connecting to Snowflake
- loginTimeout
Sets loginTimeout that will be used in net.snowflake.client.jdbc.SnowflakeBasicDataSource.
- sealed trait SnowflakeIO[T] extends ScioIO[T]
- final case class SnowflakeSelect[T](connectionOptions: SnowflakeConnectionOptions, query: String)(implicit rowDecoder: RowDecoder[T], coder: Coder[T]) extends SnowflakeIO[T] with Product with Serializable
- final case class SnowflakeTable[T](connectionOptions: SnowflakeConnectionOptions, table: String)(implicit rowCodec: RowCodec[T], coder: Coder[T]) extends SnowflakeIO[T] with Product with Serializable
Value Members
- implicit def snowflakeSCollectionOps[T](sc: SCollection[T]): SnowflakeSCollectionOps[T]
- Definition Classes
- SCollectionSyntax
- implicit def snowflakeScioContextOps(sc: ScioContext): SnowflakeScioContextOps
- Definition Classes
- ScioContextSyntax
- object SnowflakeAuthenticationOptions
- object SnowflakeIO