-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
276 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...r/src/main/kotlin/io/github/melin/superior/common/relational/alter/IcebergAlterActions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package io.github.melin.superior.common.relational.alter | ||
|
||
import io.github.melin.superior.common.AlterActionType | ||
|
||
data class AlterCreateTagAction(val tagName: String) : AlterAction() { | ||
override var alterType: AlterActionType = AlterActionType.CREATE_TAG | ||
} | ||
|
||
data class AlterDropTagAction(val tagName: String) : AlterAction() { | ||
override var alterType: AlterActionType = AlterActionType.DROP_TAG | ||
} | ||
|
||
data class AlterCreateBranchAction(val branchName: String) : AlterAction() { | ||
override var alterType: AlterActionType = AlterActionType.CREATE_BRANCH | ||
} | ||
|
||
data class AlterDropBranchAction(val branchName: String) : AlterAction() { | ||
override var alterType: AlterActionType = AlterActionType.DROP_BRANCH | ||
} | ||
|
||
data class AlterSetIdentifierFieldsAction(val fields: List<String>) : AlterAction() { | ||
override var alterType: AlterActionType = AlterActionType.SET_IDENTIFIER_FIELDS | ||
} | ||
|
||
data class AlterDropIdentifierFieldsAction(val fields: List<String>) : AlterAction() { | ||
override var alterType: AlterActionType = AlterActionType.DROP_IDENTIFIER_FIELDS | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.