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

Method drop

basex-core/src/main/java/org/basex/core/cmd/DropIndex.java:68–72  ·  view source on GitHub ↗

Drops the specified index. @param type index type @param data data reference @throws IOException I/O exception

(final IndexType type, final Data data)

Source from the content-addressed store, hash-verified

66 * @throws IOException I/O exception
67 */
68 static void drop(final IndexType type, final Data data) throws IOException {
69 data.meta.dirty = true;
70 data.meta.index(type, false);
71 data.dropIndex(type);
72 }
73}

Callers 3

optimizeMethod · 0.95
runMethod · 0.95
createMethod · 0.95

Calls 2

indexMethod · 0.65
dropIndexMethod · 0.45

Tested by

no test coverage detected