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

Method dropIndex

basex-core/src/main/java/org/basex/data/DiskData.java:204–209  ·  view source on GitHub ↗
(final IndexType type)

Source from the content-addressed store, hash-verified

202 }
203
204 @Override
205 public void dropIndex(final IndexType type) throws BaseXException {
206 close(type);
207 final Index index = index(type);
208 if(index != null && !index.drop()) throw new BaseXException(INDEX_NOT_DROPPED_X, type);
209 }
210
211 /**
212 * Assigns the specified index.

Callers

nothing calls this directly

Calls 3

closeMethod · 0.95
dropMethod · 0.95
indexMethod · 0.65

Tested by

no test coverage detected