com.sparkutils.quality.model.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quality_9.1.dbr_3.1_2.12 Show documentation
Show all versions of quality_9.1.dbr_3.1_2.12 Show documentation
A Spark library for managing in-process data quality rules via Spark SQL
The newest version!
package com.sparkutils.quality
import org.apache.spark.sql.DataFrame
/**
* Simple marker instead of sys.error
* @param msg
* @param cause
*/
case class QualityException(msg: String, cause: Exception = null) extends RuntimeException(msg, cause)
object QualityException {
def qualityException(msg: String, cause: Exception = null) = throw QualityException(msg, cause)
}
/**
* Simple interface to load DataFrames used by map/bloom and view loading
*/
trait DataFrameLoader {
def load(token: String): DataFrame
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy