p
imports
package imports
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- sealed trait ExistingIdBehaviour extends AnyRef
- case class FailedImport(tableName: String, columnName: String, value: String) extends RuntimeException with Product with Serializable
- case class ImportConfig(connection: ConnectionConfig, tables: List[TableConfig] = Nil) extends Product with Serializable
Mapped to Hocon configuration in src/main/resources
Mapped to Hocon configuration in src/main/resources
Default behaviour is to import all data provided as JSON.
- final case class ImportLogic(dbConnection: DbConnection, importConfig: ImportConfig) extends Product with Serializable
- case class TableConfig(tableName: String, idColumns: List[String] = Nil, idBehaviour: ExistingIdBehaviour = Create) extends Product with Serializable
Value Members
- case object Create extends ExistingIdBehaviour with Product with Serializable
- case object DeleteAndCreate extends ExistingIdBehaviour with Product with Serializable
- object ExistingIdBehaviour
- object ImportConfig extends Serializable
- case object Skip extends ExistingIdBehaviour with Product with Serializable
- case object Update extends ExistingIdBehaviour with Product with Serializable