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

org.datacleaner.components.annotate.MarkRowsAnalyzerResult Maven / Gradle / Ivy

The newest version!
package org.datacleaner.components.annotate;

import org.datacleaner.api.Description;
import org.datacleaner.api.Distributed;
import org.datacleaner.api.InputColumn;
import org.datacleaner.api.Metric;
import org.datacleaner.result.AnnotatedRowsResult;
import org.datacleaner.storage.RowAnnotation;
import org.datacleaner.storage.RowAnnotationFactory;

@Description("Marked rows")
@Distributed(reducer = MarkRowsAnalyzerResultReducer.class)
public class MarkRowsAnalyzerResult extends AnnotatedRowsResult {

    private static final long serialVersionUID = 1L;

    public MarkRowsAnalyzerResult(RowAnnotation annotation, RowAnnotationFactory annotationFactory,
            InputColumn[] highlightedColumns) {
        super(annotation, annotationFactory, highlightedColumns);
    }

    @Metric(order = 1, value = "Row count")
    public int getTotalRowCount() {
        return getAnnotatedRowCount();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy