MCPcopy Create free account
hub / github.com/e2wugui/zeze / getDatabase

Method getDatabase

ZezeJava/ZezeJava/src/main/java/Zeze/Application.java:420–425  ·  view source on GitHub ↗
(@NotNull String name)

Source from the content-addressed store, hash-verified

418 }
419
420 public @NotNull Database getDatabase(@NotNull String name) {
421 var db = databases.get(name);
422 if (db == null)
423 throw new IllegalStateException("database not exist name=" + name);
424 return db;
425 }
426
427 public @NotNull AutoKey getAutoKey(@NotNull String name) {
428 return autoKey.getOrAdd(name);

Callers 5

addTableMethod · 0.95
replaceTableMethod · 0.95
removeTableMethod · 0.95
schemasCompatibleMethod · 0.95
atomicOpenDatabaseMethod · 0.95

Calls 1

getMethod · 0.65

Tested by

no test coverage detected