org.datacleaner.visualization.DensityAnalyzerResult.scala Maven / Gradle / Ivy
package org.datacleaner.visualization
import org.datacleaner.api.AnalyzerResult
import org.datacleaner.api.InputColumn
import org.datacleaner.storage.RowAnnotation
import org.datacleaner.storage.RowAnnotationFactory
class DensityAnalyzerResult(annotations: Map[(Int, Int), RowAnnotation], variable1: InputColumn[Number], variable2: InputColumn[Number], annotationFactory: RowAnnotationFactory) extends AnalyzerResult {
def getVariable1 = variable1;
def getVariable2 = variable2;
def getRowAnnotations = annotations
def getRowAnnotationFactory = annotationFactory
def getRowAnnotation(x:Int, y:Int): RowAnnotation = {
val annotation = annotations.get((x,y))
annotation match {
case Some(a) => a
case None => null
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy