MCPcopy Create free account
hub / github.com/BaseXdb/basex / optimize

Method optimize

basex-core/src/main/java/org/basex/core/cmd/Optimize.java:88–90  ·  view source on GitHub ↗

Optimizes the structures of a database. @param data data @param cmd calling command instance (can be null) @throws IOException I/O Exception during index rebuild

(final Data data, final Optimize cmd)

Source from the content-addressed store, hash-verified

86 * @throws IOException I/O Exception during index rebuild
87 */
88 public static void optimize(final Data data, final Optimize cmd) throws IOException {
89 optimize(data, false, false, false, false, cmd);
90 }
91
92 /**
93 * Optimizes the structures of a database.

Callers 7

runMethod · 0.95
finishMethod · 0.95
optimizeIdsMethod · 0.95
applyMethod · 0.95
applyMethod · 0.95
checkMethod · 0.45
runMethod · 0.45

Calls 15

peekMethod · 0.95
popMethod · 0.95
pushMethod · 0.95
addMethod · 0.95
setLeafMethod · 0.95
createMethod · 0.95
dropMethod · 0.95
nameIdMethod · 0.80
kindMethod · 0.65
sizeMethod · 0.65
indexMethod · 0.65
initMethod · 0.45

Tested by

no test coverage detected