Skip to content

Commit 38b7f4d

Browse files
committed
Transform GraphStreamNodePropertyResult into record
1 parent f18f28e commit 38b7f4d

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

applications/graph-store-catalog-results/src/main/java/org/neo4j/gds/applications/graphstorecatalog/GraphStreamNodePropertyResult.java

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,9 @@
2121

2222
import java.util.List;
2323

24-
public class GraphStreamNodePropertyResult {
25-
public final long nodeId;
26-
public final Object propertyValue;
27-
public final List<String> nodeLabels;
28-
29-
public GraphStreamNodePropertyResult(long nodeId, Object propertyValue, List<String> nodeLabels) {
30-
this.nodeId = nodeId;
31-
this.propertyValue = propertyValue;
32-
this.nodeLabels = nodeLabels;
33-
}
24+
public record GraphStreamNodePropertyResult(
25+
long nodeId,
26+
Object propertyValue,
27+
List<String> nodeLabels
28+
){
3429
}

0 commit comments

Comments
 (0)