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

Method optimize

basex-core/src/main/java/org/basex/query/expr/Expr.java:54–57  ·  view source on GitHub ↗

Optimizes an already compiled expression without recompiling its sub-expressions. @param cc compilation context @return optimized expression @throws QueryException query exception

(final CompileContext cc)

Source from the content-addressed store, hash-verified

52 * @throws QueryException query exception
53 */
54 @SuppressWarnings("unused")
55 public Expr optimize(final CompileContext cc) throws QueryException {
56 return this;
57 }
58
59 /**
60 * Evaluates the expression and returns an iterator on the resulting items.

Callers 6

invertMethod · 0.95
optArithMethod · 0.95
optimizeEbvMethod · 0.95
optimizeMethod · 0.95
mergeStepMethod · 0.95
inlineMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected