TargetStrategyApplier
Applies a TargetStrategy, providing the actual table name to write to and handling shadow table lifecycle (create, write, swap).
Attributes
- Source
- TargetStrategyApplier.scala
- Graph
-
- Supertypes
- Self type
Members list
Value members
Concrete methods
Pure finalize (swap/rename) statements for the given strategy.
Pure finalize (swap/rename) statements for the given strategy.
Attributes
- Source
- TargetStrategyApplier.scala
Finalizes the target: for shadow tables, performs the atomic swap. For in-place, no-op. Returns (oldTableName, newTableName) for shadow, or (tableName, tableName) for in-place.
Finalizes the target: for shadow tables, performs the atomic swap. For in-place, no-op. Returns (oldTableName, newTableName) for shadow, or (tableName, tableName) for in-place.
Attributes
- Source
- TargetStrategyApplier.scala
Prepares the target: for shadow tables, creates the shadow table. Returns the table name to write to.
Prepares the target: for shadow tables, creates the shadow table. Returns the table name to write to.
Attributes
- Source
- TargetStrategyApplier.scala
Pure shadow-create DDL for the given dialect, if strategy is ShadowTable.
Pure shadow-create DDL for the given dialect, if strategy is ShadowTable.
Attributes
- Source
- TargetStrategyApplier.scala
Resolves the effective target table name based on strategy.
Resolves the effective target table name based on strategy.
Attributes
- Source
- TargetStrategyApplier.scala