Skip to content

Commit 16e962e

Browse files
Remote index inverse
1 parent 63d7f26 commit 16e962e

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

procedures/facade-api/miscellaneous-facade-api/src/main/java/org/neo4j/gds/procedures/algorithms/miscellaneous/IndexInverseMutateResult.java

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,18 @@
2020
package org.neo4j.gds.procedures.algorithms.miscellaneous;
2121

2222
import org.neo4j.gds.applications.algorithms.machinery.AlgorithmProcessingTimings;
23-
import org.neo4j.gds.procedures.algorithms.results.StandardMutateResult;
23+
import org.neo4j.gds.procedures.algorithms.results.MutateResult;
2424

2525
import java.util.Map;
2626

27-
public final class IndexInverseMutateResult extends StandardMutateResult {
28-
public final long inputRelationships;
29-
30-
public IndexInverseMutateResult(
27+
public record IndexInverseMutateResult(
3128
long preProcessingMillis,
3229
long computeMillis,
3330
long mutateMillis,
3431
long postProcessingMillis,
3532
long inputRelationships,
3633
Map<String, Object> configuration
37-
) {
38-
super(preProcessingMillis, computeMillis, postProcessingMillis, mutateMillis, configuration);
39-
this.inputRelationships = inputRelationships;
40-
}
34+
) implements MutateResult {
4135

4236
public static IndexInverseMutateResult emptyFrom(AlgorithmProcessingTimings timings, Map<String, Object> configurationMap) {
4337
return new IndexInverseMutateResult(

0 commit comments

Comments
 (0)