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

Method id

basex-core/src/main/java/org/basex/query/func/db/DbNodeId.java:58–60  ·  view source on GitHub ↗

Returns a node ID. @param item item @return node ID @throws QueryException query exception

(final Item item)

Source from the content-addressed store, hash-verified

56 * @throws QueryException query exception
57 */
58 private int id(final Item item) throws QueryException {
59 return id(toDBNode(item, false));
60 }
61
62 /**
63 * Returns a node ID.

Callers 3

nextMethod · 0.95
getMethod · 0.95
addIdsMethod · 0.95

Calls 4

idMethod · 0.95
toDBNodeMethod · 0.80
preMethod · 0.65
dataMethod · 0.45

Tested by

no test coverage detected