public class CopyableDataFrameAsyncActor extends DataFrameAsyncActor
session| Modifier and Type | Method and Description |
|---|---|
TypedAsyncJob<Void> |
copyInto(String tableName)
Executes `CopyableDataFrame.copyInto` asynchronously.
|
TypedAsyncJob<Void> |
copyInto(String tableName,
Column[] transformations)
Executes `CopyableDataFrame.copyInto` asynchronously.
|
TypedAsyncJob<Void> |
copyInto(String tableName,
Column[] transformations,
Map<String,?> options)
Executes `CopyableDataFrame.copyInto` asynchronously.
|
TypedAsyncJob<Void> |
copyInto(String tableName,
String[] targetColumnNames,
Column[] transformations,
Map<String,?> options)
Executes `CopyableDataFrame.copyInto` asynchronously.
|
collect, count, toLocalIteratorpublic TypedAsyncJob<Void> copyInto(String tableName)
tableName - Name of the table where the data should be saved.public TypedAsyncJob<Void> copyInto(String tableName, Column[] transformations)
tableName - Name of the table where the data should be saved.transformations - Seq of Column expressions that specify the transformations to apply
(similar to transformation
parameters).public TypedAsyncJob<Void> copyInto(String tableName, Column[] transformations, Map<String,?> options)
tableName - Name of the table where the data should be saved.transformations - Seq of Column expressions that specify the transformations to apply
(similar to transformation
parameters).options - Map of the names of options (e.g. compression, skip_header,
etc.) and their corresponding values.NOTE: By default, the CopyableDataFrame object
uses the options set in the DataFrameReader used to create that object. You can use this
options parameter to override the default options or set additional options.public TypedAsyncJob<Void> copyInto(String tableName, String[] targetColumnNames, Column[] transformations, Map<String,?> options)
tableName - Name of the table where the data should be saved.targetColumnNames - Name of the columns in the table where the data should be saved.transformations - Seq of Column expressions that specify the transformations to apply
(similar to transformation
parameters).options - Map of the names of options (e.g. compression, skip_header,
etc.) and their corresponding values.NOTE: By default, the CopyableDataFrame object
uses the options set in the DataFrameReader used to create that object. You can use this
options parameter to override the default options or set additional options.© 2023 Snowflake Inc. All Rights Reserved