Package org.apache.beam.sdk.io.snowflake
Class SnowflakeWriteConfiguration
java.lang.Object
org.apache.beam.sdk.io.snowflake.SnowflakeWriteConfiguration
- All Implemented Interfaces:
Serializable
@DefaultSchema(AutoValueSchema.class)
public abstract class SnowflakeWriteConfiguration
extends Object
implements Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()abstract Stringabstract Stringabstract Stringabstract Integerabstract Longabstract Stringabstract Stringabstract Stringabstract Stringabstract Stringabstract StringgetRole()abstract Stringabstract Stringabstract Integerabstract Stringabstract Stringabstract Stringabstract StringgetTable()abstract Stringabstract Stringabstract Stringabstract SnowflakeWriteConfiguration.Builder
-
Constructor Details
-
SnowflakeWriteConfiguration
public SnowflakeWriteConfiguration()
-
-
Method Details
-
getServerName
-
getUsername
@SchemaFieldDescription("Snowflake username. Required for password and private key authentication.") @Nullable public abstract String getUsername() -
getPassword
@SchemaFieldDescription("Snowflake password. Mutually exclusive with OAuth token and private key.") @Nullable public abstract String getPassword() -
getOauthToken
@SchemaFieldDescription("Snowflake OAuth token. Mutually exclusive with password and private key.") @Nullable public abstract String getOauthToken() -
getPrivateKey
@SchemaFieldDescription("Raw Snowflake private key. Mutually exclusive with password and OAuth token.") @Nullable public abstract String getPrivateKey() -
getPrivateKeyPassphrase
@SchemaFieldDescription("Passphrase for the Snowflake private key.") @Nullable public abstract String getPrivateKeyPassphrase() -
getDatabase
-
getSchema
-
getWarehouse
@SchemaFieldDescription("Snowflake warehouse name.") @Nullable public abstract String getWarehouse() -
getRole
-
getTable
@SchemaFieldDescription("Destination Snowflake table. Required for batch writes.") @Nullable public abstract String getTable() -
getSnowPipe
@SchemaFieldDescription("Snowflake Snowpipe name. Required for streaming writes.") @Nullable public abstract String getSnowPipe() -
getStagingBucketName
@SchemaFieldDescription("GCS path used to stage CSV files. The path must end with \'/\'.") public abstract String getStagingBucketName() -
getStorageIntegrationName
@SchemaFieldDescription("Snowflake storage integration name.") public abstract String getStorageIntegrationName() -
getCreateDisposition
@SchemaFieldDescription("Table creation behavior for batch writes. Supported values are CREATE_IF_NEEDED and CREATE_NEVER.") @Nullable public abstract String getCreateDisposition() -
getWriteDisposition
@SchemaFieldDescription("Write behavior for batch writes. Supported values are APPEND, TRUNCATE, and EMPTY.") @Nullable public abstract String getWriteDisposition() -
getQuotationMark
@SchemaFieldDescription("Quotation mark used when writing values to staged CSV files.") @Nullable public abstract String getQuotationMark() -
getFlushRowLimit
@SchemaFieldDescription("Maximum number of rows to stage before flushing in streaming mode.") @Nullable public abstract Integer getFlushRowLimit() -
getFlushTimeLimitMillis
@SchemaFieldDescription("Maximum time in milliseconds before flushing staged rows in streaming mode.") @Nullable public abstract Long getFlushTimeLimitMillis() -
getShardsNumber
@SchemaFieldDescription("Number of output shards used when staging files.") @Nullable public abstract Integer getShardsNumber() -
getDebugMode
@SchemaFieldDescription("Streaming log level. Supported values are ERROR and INFO.") @Nullable public abstract String getDebugMode() -
builder
-
toBuilder
-