All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bio.ferlab.datalake.commons.config.TableConf.scala Maven / Gradle / Ivy

There is a newer version: 14.8.0
Show newest version
package bio.ferlab.datalake.commons.config

/**
 * Configuration for a table
 *
 * @param database name of the database / schema
 * @param name     name of the table / view
 */
case class TableConf(database: String,
                     name: String) {
  def fullName: String = {
    if (database == "") {
      name
    } else {
      s"${database}.${name}"
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy