Skip to content

Commit bc0d6e8

Browse files
committed
implement gds.graph.nodeProperties.stream
1 parent 38b7f4d commit bc0d6e8

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

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

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,10 @@
2121

2222
import java.util.List;
2323

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

0 commit comments

Comments
 (0)