package de.metanome.cli;

import de.metanome.algorithm_integration.result_receiver.ColumnNameMismatchException;
import de.metanome.algorithm_integration.result_receiver.CouldNotReceiveResultException;
import de.metanome.algorithm_integration.results.*;
import de.metanome.backend.result_receiver.ResultReceiver;

import java.io.FileNotFoundException;

/**
 * TODO
 */
public class DiscardingResultReceiver extends ResultReceiver {

    public DiscardingResultReceiver() throws FileNotFoundException {
        super("discarded-execution", null);
    }

    @Override
    public void receiveResult(BasicStatistic statistic) throws CouldNotReceiveResultException, ColumnNameMismatchException {

    }

    @Override
    public void receiveResult(ConditionalUniqueColumnCombination conditionalUniqueColumnCombination) throws CouldNotReceiveResultException, ColumnNameMismatchException {

    }

    @Override
    public void receiveResult(FunctionalDependency functionalDependency) throws CouldNotReceiveResultException, ColumnNameMismatchException {

    }

    @Override
    public void receiveResult(InclusionDependency inclusionDependency) throws CouldNotReceiveResultException, ColumnNameMismatchException {

    }

    @Override
    public void receiveResult(MultivaluedDependency multivaluedDependency) throws CouldNotReceiveResultException, ColumnNameMismatchException {

    }

    @Override
    public void receiveResult(OrderDependency orderDependency) throws CouldNotReceiveResultException, ColumnNameMismatchException {

    }

    @Override
    public void receiveResult(UniqueColumnCombination uniqueColumnCombination) throws CouldNotReceiveResultException, ColumnNameMismatchException {

    }

    @Override
    public void close() {

    }
}

@@ -1692,32 +1692,188 @@
 ption %7B%0A%0A    %7D%0A%0A
+    @Override%0A    public void receiveResult(DenialConstraint denialConstraint) throws CouldNotReceiveResultException, ColumnNameMismatchException %7B%0A%0A    %7D%0A%0A
     @Override%0A  

Discard DenialConstraint in DiscardingResultReceiver