p
exports
package exports
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- case class ColumnConfig(name: String, replaceWith: Option[String], export: Boolean = true) extends Product with Serializable
- case class ColumnFilter(column: ColumnDescription, values: Seq[String]) extends Product with Serializable
- case class ExploredData(table: String, key: String, value: String) extends Product with Serializable
- case class ExportConfig(connection: ConnectionConfig, tables: List[TableConfig] = Nil, exportedTables: Seq[String] = Nil, skippedColumns: Set[String] = Set.empty, skippedLinks: Set[Link] = Set.empty, guessMissingForeignKeys: Boolean = true) extends Product with Serializable
Mapped to Hocon configuration in src/main/resources
Mapped to Hocon configuration in src/main/resources
Default behaviour is to export every table.
If you select only a few tables, you can ask to follow foreign keys and to guess missing foreign keys based on table name / column names. Ex: table
customerwith columnorder_idand tableorderwith columnid.This defines how you want to export data and do not necessarily match exactly the database schema (which is gathers in db.metadata.
- final case class ExportLogic(dbConnection: DbConnection, exportConfig: ExportConfig) extends Product with Serializable
- case class KeyToFollow(table: String, idInTable: String, fromId: String) extends Product with Serializable
- case class TableConfig(tableName: String, columns: Seq[ColumnConfig] = Nil, followKeys: Boolean = false, onlyFirstRow: Boolean = false, maxRowsCount: Option[Int] = None, idColumnName: Option[String] = None, idValues: Seq[String] = Nil) extends Product with Serializable
- final case class TableFilter(table: String, idColumn: String, filters: List[ColumnFilter] = Nil) extends Product with Serializable
- case class TableLink(from: TableFilter, to: TableFilter, reversed: Boolean = false) extends Product with Serializable
Value Members
- object ExportConfig extends Serializable