Skip to content

Commit

Permalink
Refactor ArrowDatabaseGraphImporter
Browse files Browse the repository at this point in the history
- make progress logger a field
- remove other fields replaced by progress logger
- add factory to simplify constructor
- replace databaseId with databaseInfo to simplify doImport()
  • Loading branch information
Mats-SX committed Feb 9, 2024
1 parent 280ab98 commit 9fabe07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/main/java/org/neo4j/gds/api/DatabaseInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ static DatabaseInfo of(DatabaseId databaseId, DatabaseLocation databaseLocation)
return ImmutableDatabaseInfo.of(databaseId, databaseLocation, Optional.empty());
}

static DatabaseInfo of(DatabaseId databaseId, DatabaseLocation databaseLocation, DatabaseId remoteDatabaseId) {
return ImmutableDatabaseInfo.of(databaseId, databaseLocation, remoteDatabaseId);
}

DatabaseId databaseId();

DatabaseLocation databaseLocation();
Expand Down

0 comments on commit 9fabe07

Please sign in to comment.