Created
November 6, 2020 19:31
-
-
Save niroj-office/48da480125910d6d4b1760e886875691 to your computer and use it in GitHub Desktop.
Db Operations Enum for custom spark JDBC write
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
object DbOperations extends Enumeration { | |
type DbOperation = Value | |
val INSERT = Value("INSERT") | |
val UPDATE = Value("UPDATE") | |
val UPSERT = Value("UPSERT") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment