dnet-hadoop/dhp-workflows/dhp-dedup-openaire/src/main/java/eu/dnetlib/dhp/oa/dedup/dsl/Deduper.scala

12 lines
267 B
Scala

package eu.dnetlib.dhp.oa.dedup.dsl
import org.apache.spark.sql.types.StructType
case class Deduper (schema: StructType,
clusterings: Seq[Clustering] = Seq()) {
def withClustering(clusterings: Clustering*) =
copy(clusterings = clusterings)
}