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

Method add

basex-core/src/main/java/org/basex/index/IndexTree.java:52–54  ·  view source on GitHub ↗

Indexes the specified key and ID. @param key key to be indexed @param id ID to be indexed @param pos token position (only relevant for token index)

(final byte[] key, final int id, final int pos)

Source from the content-addressed store, hash-verified

50 * @param pos token position (only relevant for token index)
51 */
52 public final void add(final byte[] key, final int id, final int pos) {
53 add(key, id, pos, true);
54 }
55
56 /**
57 * Indexes the specified key and ID. If the key has already been

Callers

nothing calls this directly

Calls 13

newNodeMethod · 0.95
compareMethod · 0.95
addIdsMethod · 0.95
numMethod · 0.95
addNewIdsMethod · 0.95
leftMethod · 0.95
rightMethod · 0.95
setLeftMethod · 0.95
adjustMethod · 0.95
setRightMethod · 0.95
getMethod · 0.65
sizeMethod · 0.65

Tested by

no test coverage detected