Skip to content

Commit 2b43e6a

Browse files
committed
implement gds.graph.relationshipProperty.stream
1 parent 4098a57 commit 2b43e6a

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

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

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,10 @@
1919
*/
2020
package org.neo4j.gds.applications.graphstorecatalog;
2121

22-
public class GraphStreamRelationshipPropertyResult {
23-
public final long sourceNodeId;
24-
public final long targetNodeId;
25-
public final String relationshipType;
26-
public final Number propertyValue;
27-
28-
public GraphStreamRelationshipPropertyResult(
29-
long sourceNodeId,
30-
long targetNodeId,
31-
String relationshipType,
32-
Number propertyValue
33-
) {
34-
this.sourceNodeId = sourceNodeId;
35-
this.targetNodeId = targetNodeId;
36-
this.relationshipType = relationshipType;
37-
this.propertyValue = propertyValue;
38-
}
22+
public record GraphStreamRelationshipPropertyResult(
23+
long sourceNodeId,
24+
long targetNodeId,
25+
String relationshipType,
26+
Number propertyValue
27+
) {
3928
}

0 commit comments

Comments
 (0)