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

Method queryPlan

basex-core/src/main/java/org/basex/core/cmd/AQuery.java:210–220  ·  view source on GitHub ↗

Generates a query plan. @param create create plan

(final boolean create)

Source from the content-addressed store, hash-verified

208 * @param create create plan
209 */
210 private void queryPlan(final boolean create) {
211 if(create && !plan && options.get(MainOptions.XMLPLAN)) {
212 try {
213 info(NL + QUERY_PLAN + COL);
214 info(qp.toXml().serialize(SerializerMode.INDENT.get()).toString());
215 plan = true;
216 } catch(final QueryIOException ex) {
217 Util.stack(ex);
218 }
219 }
220 }
221}

Callers 1

runMethod · 0.95

Calls 6

stackMethod · 0.95
getMethod · 0.65
infoMethod · 0.65
toStringMethod · 0.65
serializeMethod · 0.45
toXmlMethod · 0.45

Tested by

no test coverage detected