File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
main/java/org/neo4j/gds/core/loading
test/java/org/neo4j/gds/config
cypher-aggregation/src/main/java/org/neo4j/gds/projection Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ public static CSRGraphStore createFromGraph(
9898 SingleTypeRelationshipImportResult .builder ()
9999 .topology (relationships .topology ())
100100 .properties (relationshipProperties )
101+ .direction (direction )
101102 .build ()
102103 ).build ();
103104
Original file line number Diff line number Diff line change 2828import org .neo4j .gds .core .huge .DirectIdMap ;
2929import org .neo4j .gds .core .loading .GraphStoreBuilder ;
3030import org .neo4j .gds .core .loading .ImmutableStaticCapabilities ;
31+ import org .neo4j .gds .core .loading .RelationshipImportResult ;
3132
3233import java .util .List ;
34+ import java .util .Map ;
3335
3436import static org .assertj .core .api .Assertions .assertThatCode ;
3537
@@ -46,6 +48,7 @@ void validateGraphStoreCapabilities(boolean isBackedByDatabase) {
4648 .capabilities (ImmutableStaticCapabilities .of (isBackedByDatabase ))
4749 .schema (GraphSchema .empty ())
4850 .nodes (new DirectIdMap (0 ))
51+ .relationshipImportResult (RelationshipImportResult .of (Map .of ()))
4952 .concurrency (1 )
5053 .build ();
5154
Original file line number Diff line number Diff line change @@ -661,6 +661,7 @@ private void buildRelationshipsWithProperties(
661661 SingleTypeRelationshipImportResult .builder ()
662662 .topology (topology )
663663 .properties (propertyStore )
664+ .direction (Direction .DIRECTED )
664665 .build ()
665666 );
666667 });
You can’t perform that action at this time.
0 commit comments