@Test void discoverUnaryDiscardEmptyColumns() throws Exception { configuration.setProcessEmptyColumns(false); unarySQL.execute(configuration); verify(resultReceiver, atLeastOnce()).receiveResult(ind.capture()); assertThat(ind.getAllValues()) .hasSize(1) .first() .isEqualTo(validInd()); }
public void execute(final Configuration configuration) throws AlgorithmExecutionException { initialize(configuration); final List<InclusionDependency> candidates = getCandidates(); for (final InclusionDependency candidate : candidates) { if (isInd(candidate)) { configuration.getResultReceiver().receiveResult(candidate); } } validationStrategy.close(); }
UnarySQL { public void execute(final Configuration configuration) throws AlgorithmExecutionException { initialize(configuration); final List<InclusionDependency> candidates = getCandidates(); for (final InclusionDependency candidate : candidates) { if (isInd(candidate)) { configuration.getResultReceiver().receiveResult(candidate); } } validationStrategy.close(); } }
UnarySQL { public void execute(final Configuration configuration) throws AlgorithmExecutionException { initialize(configuration); final List<InclusionDependency> candidates = getCandidates(); for (final InclusionDependency candidate : candidates) { if (isInd(candidate)) { configuration.getResultReceiver().receiveResult(candidate); } } validationStrategy.close(); } UnarySQL(); }
UnarySQL { public void execute(final Configuration configuration) throws AlgorithmExecutionException { initialize(configuration); final List<InclusionDependency> candidates = getCandidates(); for (final InclusionDependency candidate : candidates) { if (isInd(candidate)) { configuration.getResultReceiver().receiveResult(candidate); } } validationStrategy.close(); } UnarySQL(); void execute(final Configuration configuration); }
UnarySQL { public void execute(final Configuration configuration) throws AlgorithmExecutionException { initialize(configuration); final List<InclusionDependency> candidates = getCandidates(); for (final InclusionDependency candidate : candidates) { if (isInd(candidate)) { configuration.getResultReceiver().receiveResult(candidate); } } validationStrategy.close(); } UnarySQL(); void execute(final Configuration configuration);  }