Skip to content

Commit

Permalink
Remove unused validations
Browse files Browse the repository at this point in the history
  • Loading branch information
jjaderberg committed Nov 10, 2023
1 parent 881996d commit a1f6c61
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 168 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import org.neo4j.gds.executor.ExecutionContext;
import org.neo4j.gds.executor.GdsCallable;
import org.neo4j.gds.executor.NewConfigFunction;
import org.neo4j.gds.executor.validation.ValidationConfiguration;
import org.neo4j.gds.procedures.centrality.CentralityMutateResult;
import org.neo4j.gds.result.AbstractResultBuilder;

Expand Down Expand Up @@ -70,11 +69,6 @@ public ComputationResultConsumer<BetweennessCentrality, HugeAtomicDoubleArray, B
);
}

@Override
public ValidationConfiguration<BetweennessCentralityMutateConfig> validationConfig(ExecutionContext executionContext) {
return new BetweennessCentralityConfigValidation<>();
}

private AbstractResultBuilder<CentralityMutateResult> resultBuilder(
ComputationResult<BetweennessCentrality, HugeAtomicDoubleArray, BetweennessCentralityMutateConfig> computationResult,
ExecutionContext executionContext
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import org.neo4j.gds.executor.ExecutionContext;
import org.neo4j.gds.executor.GdsCallable;
import org.neo4j.gds.executor.NewConfigFunction;
import org.neo4j.gds.executor.validation.ValidationConfiguration;
import org.neo4j.gds.procedures.centrality.CentralityStatsResult;

import java.util.stream.Stream;
Expand Down Expand Up @@ -69,10 +68,4 @@ public ComputationResultConsumer<BetweennessCentrality, HugeAtomicDoubleArray, B
);
};
}

@Override
public ValidationConfiguration<BetweennessCentralityStatsConfig> validationConfig(ExecutionContext executionContext) {
return new BetweennessCentralityConfigValidation<>();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import org.neo4j.gds.executor.ExecutionContext;
import org.neo4j.gds.executor.GdsCallable;
import org.neo4j.gds.executor.NewConfigFunction;
import org.neo4j.gds.executor.validation.ValidationConfiguration;
import org.neo4j.gds.procedures.centrality.CentralityStreamResult;

import java.util.stream.LongStream;
Expand Down Expand Up @@ -75,9 +74,4 @@ public ComputationResultConsumer<BetweennessCentrality, HugeAtomicDoubleArray, B
}).orElseGet(Stream::empty)
);
}

@Override
public ValidationConfiguration<BetweennessCentralityStreamConfig> validationConfig(ExecutionContext executionContext) {
return new BetweennessCentralityConfigValidation<>();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import org.neo4j.gds.executor.ExecutionContext;
import org.neo4j.gds.executor.GdsCallable;
import org.neo4j.gds.executor.NewConfigFunction;
import org.neo4j.gds.executor.validation.ValidationConfiguration;
import org.neo4j.gds.procedures.centrality.CentralityWriteResult;
import org.neo4j.gds.result.AbstractResultBuilder;

Expand Down Expand Up @@ -72,11 +71,6 @@ public ComputationResultConsumer<BetweennessCentrality, HugeAtomicDoubleArray, B
);
}

@Override
public ValidationConfiguration<BetweennessCentralityWriteConfig> validationConfig(ExecutionContext executionContext) {
return new BetweennessCentralityConfigValidation<>();
}

private AbstractResultBuilder<CentralityWriteResult> resultBuilder(
ComputationResult<BetweennessCentrality, HugeAtomicDoubleArray, BetweennessCentralityWriteConfig> computationResult,
ExecutionContext executionContext
Expand Down

0 comments on commit a1f6c61

Please sign in to comment.