public static interface SnowflakeNodeData.Builder extends SdkPojo, CopyableBuilder<SnowflakeNodeData.Builder,SnowflakeNodeData>
| Modifier and Type | Method and Description |
|---|---|
SnowflakeNodeData.Builder |
action(String action)
Specifies what action to take when writing to a table with preexisting data.
|
SnowflakeNodeData.Builder |
additionalOptions(Map<String,String> additionalOptions)
Specifies additional options passed to the Snowflake connector.
|
SnowflakeNodeData.Builder |
autoPushdown(Boolean autoPushdown)
Specifies whether automatic query pushdown is enabled.
|
default SnowflakeNodeData.Builder |
connection(Consumer<Option.Builder> connection)
Specifies a Glue Data Catalog Connection to a Snowflake endpoint.
|
SnowflakeNodeData.Builder |
connection(Option connection)
Specifies a Glue Data Catalog Connection to a Snowflake endpoint.
|
SnowflakeNodeData.Builder |
database(String database)
Specifies a Snowflake database for your node to use.
|
default SnowflakeNodeData.Builder |
iamRole(Consumer<Option.Builder> iamRole)
Not currently used.
|
SnowflakeNodeData.Builder |
iamRole(Option iamRole)
Not currently used.
|
SnowflakeNodeData.Builder |
mergeAction(String mergeAction)
Specifies a merge action.
|
SnowflakeNodeData.Builder |
mergeClause(String mergeClause)
A SQL statement that specifies a custom merge behavior.
|
SnowflakeNodeData.Builder |
mergeWhenMatched(String mergeWhenMatched)
Specifies how to resolve records that match preexisting data when merging.
|
SnowflakeNodeData.Builder |
mergeWhenNotMatched(String mergeWhenNotMatched)
Specifies how to process records that do not match preexisting data when merging.
|
SnowflakeNodeData.Builder |
postAction(String postAction)
A SQL string run after the Snowflake connector performs its standard actions.
|
SnowflakeNodeData.Builder |
preAction(String preAction)
A SQL string run before the Snowflake connector performs its standard actions.
|
SnowflakeNodeData.Builder |
sampleQuery(String sampleQuery)
A SQL string used to retrieve data with the
query sourcetype. |
SnowflakeNodeData.Builder |
schema(String schema)
Specifies a Snowflake database schema for your node to use.
|
SnowflakeNodeData.Builder |
selectedColumns(Collection<Option> selectedColumns)
Specifies the columns combined to identify a record when detecting matches for merges and upserts.
|
SnowflakeNodeData.Builder |
selectedColumns(Consumer<Option.Builder>... selectedColumns)
Specifies the columns combined to identify a record when detecting matches for merges and upserts.
|
SnowflakeNodeData.Builder |
selectedColumns(Option... selectedColumns)
Specifies the columns combined to identify a record when detecting matches for merges and upserts.
|
SnowflakeNodeData.Builder |
sourceType(String sourceType)
Specifies how retrieved data is specified.
|
SnowflakeNodeData.Builder |
stagingTable(String stagingTable)
The name of a staging table used when performing
merge or upsert append actions. |
SnowflakeNodeData.Builder |
table(String table)
Specifies a Snowflake table for your node to use.
|
SnowflakeNodeData.Builder |
tableSchema(Collection<Option> tableSchema)
Manually defines the target schema for the node.
|
SnowflakeNodeData.Builder |
tableSchema(Consumer<Option.Builder>... tableSchema)
Manually defines the target schema for the node.
|
SnowflakeNodeData.Builder |
tableSchema(Option... tableSchema)
Manually defines the target schema for the node.
|
SnowflakeNodeData.Builder |
tempDir(String tempDir)
Not currently used.
|
SnowflakeNodeData.Builder |
upsert(Boolean upsert)
Used when Action is
append. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSnowflakeNodeData.Builder sourceType(String sourceType)
Specifies how retrieved data is specified. Valid values: "table", "query".
sourceType - Specifies how retrieved data is specified. Valid values: "table", "query".SnowflakeNodeData.Builder connection(Option connection)
Specifies a Glue Data Catalog Connection to a Snowflake endpoint.
connection - Specifies a Glue Data Catalog Connection to a Snowflake endpoint.default SnowflakeNodeData.Builder connection(Consumer<Option.Builder> connection)
Specifies a Glue Data Catalog Connection to a Snowflake endpoint.
This is a convenience method that creates an instance of theOption.Builder avoiding the need to
create one manually via Option.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to connection(Option).
connection - a consumer that will call methods on Option.Builderconnection(Option)SnowflakeNodeData.Builder schema(String schema)
Specifies a Snowflake database schema for your node to use.
schema - Specifies a Snowflake database schema for your node to use.SnowflakeNodeData.Builder table(String table)
Specifies a Snowflake table for your node to use.
table - Specifies a Snowflake table for your node to use.SnowflakeNodeData.Builder database(String database)
Specifies a Snowflake database for your node to use.
database - Specifies a Snowflake database for your node to use.SnowflakeNodeData.Builder tempDir(String tempDir)
Not currently used.
tempDir - Not currently used.SnowflakeNodeData.Builder iamRole(Option iamRole)
Not currently used.
iamRole - Not currently used.default SnowflakeNodeData.Builder iamRole(Consumer<Option.Builder> iamRole)
Not currently used.
This is a convenience method that creates an instance of theOption.Builder avoiding the need to
create one manually via Option.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to iamRole(Option).
iamRole - a consumer that will call methods on Option.BuilderiamRole(Option)SnowflakeNodeData.Builder additionalOptions(Map<String,String> additionalOptions)
Specifies additional options passed to the Snowflake connector. If options are specified elsewhere in this node, this will take precedence.
additionalOptions - Specifies additional options passed to the Snowflake connector. If options are specified elsewhere in
this node, this will take precedence.SnowflakeNodeData.Builder sampleQuery(String sampleQuery)
A SQL string used to retrieve data with the query sourcetype.
sampleQuery - A SQL string used to retrieve data with the query sourcetype.SnowflakeNodeData.Builder preAction(String preAction)
A SQL string run before the Snowflake connector performs its standard actions.
preAction - A SQL string run before the Snowflake connector performs its standard actions.SnowflakeNodeData.Builder postAction(String postAction)
A SQL string run after the Snowflake connector performs its standard actions.
postAction - A SQL string run after the Snowflake connector performs its standard actions.SnowflakeNodeData.Builder action(String action)
Specifies what action to take when writing to a table with preexisting data. Valid values:
append, merge, truncate, drop.
action - Specifies what action to take when writing to a table with preexisting data. Valid values:
append, merge, truncate, drop.SnowflakeNodeData.Builder upsert(Boolean upsert)
Used when Action is append. Specifies the resolution behavior when a row already exists. If
true, preexisting rows will be updated. If false, those rows will be inserted.
upsert - Used when Action is append. Specifies the resolution behavior when a row already exists.
If true, preexisting rows will be updated. If false, those rows will be inserted.SnowflakeNodeData.Builder mergeAction(String mergeAction)
Specifies a merge action. Valid values: simple, custom. If simple, merge behavior
is defined by MergeWhenMatched and MergeWhenNotMatched. If custom, defined by
MergeClause.
mergeAction - Specifies a merge action. Valid values: simple, custom. If simple, merge
behavior is defined by MergeWhenMatched and MergeWhenNotMatched. If custom,
defined by MergeClause.SnowflakeNodeData.Builder mergeWhenMatched(String mergeWhenMatched)
Specifies how to resolve records that match preexisting data when merging. Valid values: update, delete.
mergeWhenMatched - Specifies how to resolve records that match preexisting data when merging. Valid values:
update, delete.SnowflakeNodeData.Builder mergeWhenNotMatched(String mergeWhenNotMatched)
Specifies how to process records that do not match preexisting data when merging. Valid values:
insert, none.
mergeWhenNotMatched - Specifies how to process records that do not match preexisting data when merging. Valid values:
insert, none.SnowflakeNodeData.Builder mergeClause(String mergeClause)
A SQL statement that specifies a custom merge behavior.
mergeClause - A SQL statement that specifies a custom merge behavior.SnowflakeNodeData.Builder stagingTable(String stagingTable)
The name of a staging table used when performing merge or upsert append actions.
Data is written to this table, then moved to table by a generated postaction.
stagingTable - The name of a staging table used when performing merge or upsert append
actions. Data is written to this table, then moved to table by a generated postaction.SnowflakeNodeData.Builder selectedColumns(Collection<Option> selectedColumns)
Specifies the columns combined to identify a record when detecting matches for merges and upserts. A list of
structures with value, label and description keys. Each structure
describes a column.
selectedColumns - Specifies the columns combined to identify a record when detecting matches for merges and upserts. A
list of structures with value, label and description keys.
Each structure describes a column.SnowflakeNodeData.Builder selectedColumns(Option... selectedColumns)
Specifies the columns combined to identify a record when detecting matches for merges and upserts. A list of
structures with value, label and description keys. Each structure
describes a column.
selectedColumns - Specifies the columns combined to identify a record when detecting matches for merges and upserts. A
list of structures with value, label and description keys.
Each structure describes a column.SnowflakeNodeData.Builder selectedColumns(Consumer<Option.Builder>... selectedColumns)
Specifies the columns combined to identify a record when detecting matches for merges and upserts. A list of
structures with value, label and description keys. Each structure
describes a column.
Option.Builder avoiding the need to create one manually
via Option.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #selectedColumns(List.
selectedColumns - a consumer that will call methods on Option.Builder#selectedColumns(java.util.CollectionSnowflakeNodeData.Builder autoPushdown(Boolean autoPushdown)
Specifies whether automatic query pushdown is enabled. If pushdown is enabled, then when a query is run on Spark, if part of the query can be "pushed down" to the Snowflake server, it is pushed down. This improves performance of some queries.
autoPushdown - Specifies whether automatic query pushdown is enabled. If pushdown is enabled, then when a query is
run on Spark, if part of the query can be "pushed down" to the Snowflake server, it is pushed down.
This improves performance of some queries.SnowflakeNodeData.Builder tableSchema(Collection<Option> tableSchema)
Manually defines the target schema for the node. A list of structures with value ,
label and description keys. Each structure defines a column.
tableSchema - Manually defines the target schema for the node. A list of structures with value ,
label and description keys. Each structure defines a column.SnowflakeNodeData.Builder tableSchema(Option... tableSchema)
Manually defines the target schema for the node. A list of structures with value ,
label and description keys. Each structure defines a column.
tableSchema - Manually defines the target schema for the node. A list of structures with value ,
label and description keys. Each structure defines a column.SnowflakeNodeData.Builder tableSchema(Consumer<Option.Builder>... tableSchema)
Manually defines the target schema for the node. A list of structures with value ,
label and description keys. Each structure defines a column.
Option.Builder avoiding the need to create one manually
via Option.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tableSchema(List.
tableSchema - a consumer that will call methods on Option.Builder#tableSchema(java.util.CollectionCopyright © 2023. All rights reserved.