SaveMode Enum

Definition

SaveMode is used to specify the expected behavior of saving a DataFrame to a data source.

public enum SaveMode
type SaveMode = 
Public Enum SaveMode
Inheritance
SaveMode

Fields

Append 0

Append mode means that when saving a DataFrame to a data source, if data/table already exists, contents of the DataFrame are expected to be appended to existing data.

ErrorIfExists 2

ErrorIfExists mode means that when saving a DataFrame to a data source, if data already exists, an exception is expected to be thrown.

Ignore 3

Ignore mode means that when saving a DataFrame to a data source, if data already exists, the save operation is expected to not save the contents of the DataFrame and to not change the existing data.

Overwrite 1

Overwrite mode means that when saving a DataFrame to a data source, if data/table already exists, existing data is expected to be overwritten by the contents of the DataFrame.

Applies to