Object

io.smartdatalake.definitions

SDLSaveMode

Related Doc: package definitions

Permalink

object SDLSaveMode extends Enumeration

SDL supports more SaveModes than Spark, that's why there is an own definition of SDLSaveMode.

Linear Supertypes
Enumeration, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SDLSaveMode
  2. Enumeration
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type SDLSaveMode = Value

    Permalink
  2. class SDLSaveModeValue extends AnyRef

    Permalink
  3. class Val extends Value with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  4. abstract class Value extends Ordered[Value] with Serializable

    Permalink
    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  5. class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetLike[Value, ValueSet] with Serializable

    Permalink
    Definition Classes
    Enumeration

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val Append: Value

    Permalink

    See also

    SaveMode

  5. val ErrorIfExists: Value

    Permalink

    See also

    SaveMode

  6. val Ignore: Value

    Permalink

    See also

    SaveMode

  7. val Overwrite: Value

    Permalink

    See also

    SaveMode

  8. val OverwriteOptimized: Value

    Permalink

    This is like SDLSaveMode.Overwrite but processed partitions are manually deleted instead of using dynamic partitioning mode.

    This is like SDLSaveMode.Overwrite but processed partitions are manually deleted instead of using dynamic partitioning mode. Then it uses Sparks append mode to add the new partitions. This helps if there are performance problems when using dynamic partitioning mode with hive tables and many partitions.

    Implementation: This save mode will delete processed partition directories manually. If no partition values are present when writing to a partitioned data object, all partitions are deleted. This is different to Sparks dynamic partitioning, which only deletes partitions where data is present in the DataFrame to be written (enabled by default in SDL). To stop if no partition values are present, configure executionMode.type = FailIfNoPartitionValuesMode on the Action.

  9. val OverwritePreserveDirectories: Value

    Permalink

    This is like SDLSaveMode.Overwrite but doesnt delete the directory of the DataObject and its partition, but only the files inside.

    This is like SDLSaveMode.Overwrite but doesnt delete the directory of the DataObject and its partition, but only the files inside. Then it uses Sparks append mode to add the new files. Like that ACLs set on the base directory are preserved.

    Implementation: This save mode will delete all files inside the base directory, but not the directory itself. If no partition values are present when writing to a partitioned data object, all files in all partitions are deleted, but not the partition directories itself. This is different to Sparks dynamic partitioning, which only deletes partitions where data is present in the DataFrame to be written (enabled by default in SDL). To stop if no partition values are present, configure executionMode.type = FailIfNoPartitionValuesMode on the Action.

  10. final def Value(i: Int, name: String): Value

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  11. final def Value(name: String): Value

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  12. final def Value(i: Int): Value

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  13. final def Value: Value

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  14. final def apply(x: Int): Value

    Permalink
    Definition Classes
    Enumeration
  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def maxId: Int

    Permalink
    Definition Classes
    Enumeration
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. var nextId: Int

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  26. var nextName: Iterator[String]

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. def readResolve(): AnyRef

    Permalink
    Attributes
    protected
    Definition Classes
    Enumeration
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    Enumeration → AnyRef → Any
  32. implicit def value2SparkSaveMode(mode: Value): SDLSaveModeValue

    Permalink
  33. def values: ValueSet

    Permalink
    Definition Classes
    Enumeration
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def withName(s: String): Value

    Permalink
    Definition Classes
    Enumeration

Inherited from Enumeration

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped