Skip to content

Commit 4098a57

Browse files
committed
implement gds.graph.relationshipProperties.stream
1 parent bc0d6e8 commit 4098a57

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

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

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,11 @@
1919
*/
2020
package org.neo4j.gds.applications.graphstorecatalog;
2121

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

0 commit comments

Comments
 (0)