Skip to content

Commit 722b475

Browse files
authored
Merge pull request #5272 from DarthMax/arrow_debug_proc
GDS Flight server debug procedure
2 parents 7bf8d47 + 3983c6f commit 722b475

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

neo4j-adapter/src/main/java/org/neo4j/gds/compat/GraphDatabaseApiProxy.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ public static Neo4jVersion neo4jVersion() {
4242
return Neo4jVersion.findNeo4jVersion();
4343
}
4444

45+
public static boolean containsDependency(GraphDatabaseService db, Class<?> dependency) {
46+
return containsDependency(((GraphDatabaseAPI) db).getDependencyResolver(), dependency);
47+
}
48+
49+
public static boolean containsDependency(DependencyResolver resolver, Class<?> dependency) {
50+
return resolver.containsDependency(dependency);
51+
}
52+
4553
public static <T> T resolveDependency(GraphDatabaseService db, Class<T> dependency) {
4654
return resolveDependency(((GraphDatabaseAPI) db).getDependencyResolver(), dependency);
4755
}

0 commit comments

Comments
 (0)