SaveMode

org.apache.spark.sql.SaveMode
See theSaveMode companion object
enum SaveMode

Specifies the expected behavior when saving a DataFrame to a data source that already has data. Mirrors org.apache.spark.sql.SaveMode.

Attributes

Companion
object
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Append extends SaveMode

Append the contents of the DataFrame to existing data.

Append the contents of the DataFrame to existing data.

Attributes

case ErrorIfExists extends SaveMode

Throw an exception if data already exists (the default).

Throw an exception if data already exists (the default).

Attributes

case Ignore extends SaveMode

Ignore the operation (no-op) if data already exists.

Ignore the operation (no-op) if data already exists.

Attributes

case Overwrite extends SaveMode

Overwrite existing data.

Overwrite existing data.

Attributes