From 1b48f6a427883e16960015f5279a42e52cf9a735 Mon Sep 17 00:00:00 2001 From: Jan Kossmann Date: Tue, 7 Aug 2018 16:49:05 +0200 Subject: [PATCH] (Poorly) handle new metadata types. --- .../metanome/MetacrateResultReceiver.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/mdms/mdms-metanome/src/main/java/de/hpi/isg/mdms/metanome/MetacrateResultReceiver.java b/mdms/mdms-metanome/src/main/java/de/hpi/isg/mdms/metanome/MetacrateResultReceiver.java index 8b573b9..2dc9bcf 100644 --- a/mdms/mdms-metanome/src/main/java/de/hpi/isg/mdms/metanome/MetacrateResultReceiver.java +++ b/mdms/mdms-metanome/src/main/java/de/hpi/isg/mdms/metanome/MetacrateResultReceiver.java @@ -90,6 +90,36 @@ public Boolean acceptedResult(ConditionalUniqueColumnCombination result) { return false; } + @Override + public void receiveResult(MatchingDependency matchingDependency) throws CouldNotReceiveResultException, ColumnNameMismatchException { + throw new CouldNotReceiveResultException("Result type is not supported."); + } + + @Override + public Boolean acceptedResult(MatchingDependency matchingDependency) { + return false; + } + + @Override + public void receiveResult(ConditionalFunctionalDependency conditionalFunctionalDependency) throws CouldNotReceiveResultException, ColumnNameMismatchException { + throw new CouldNotReceiveResultException("Result type is not supported."); + } + + @Override + public Boolean acceptedResult(ConditionalFunctionalDependency conditionalFunctionalDependency) { + return false; + } + + @Override + public void receiveResult(DenialConstraint denialConstraint) throws CouldNotReceiveResultException, ColumnNameMismatchException { + throw new CouldNotReceiveResultException("Result type is not supported."); + } + + @Override + public Boolean acceptedResult(DenialConstraint denialConstraint) { + return false; + } + private DependencyResultReceiver fdResultReceiver; @Override