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

Method order

basex-core/src/main/java/org/basex/index/resource/Docs.java:134–137  ·  view source on GitHub ↗

Returns an array with offsets to the sorted document paths. @return path order

()

Source from the content-addressed store, hash-verified

132 * @return path order
133 */
134 private synchronized int[] order() {
135 if(pathOrder == null) pathOrder = Array.createOrder(paths().toArray(), false, true);
136 return pathOrder;
137 }
138
139 /**
140 * Adds entries to the index and updates subsequent nodes.

Callers 2

docMethod · 0.95

Calls 3

createOrderMethod · 0.95
pathsMethod · 0.95
toArrayMethod · 0.45

Tested by 1