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

Method cache

basex-core/src/main/java/org/basex/query/value/Value.java:188–188  ·  view source on GitHub ↗

Caches data of lazy items (i.e., those implementing the Lazy interface). By calling this method, the streaming feature of lazy items will be disabled. @param lazy if false, cache immediately. if true, caching is deferred until the data is actually requested @param ii input

(boolean lazy, InputInfo ii)

Source from the content-addressed store, hash-verified

186 * @throws QueryException query exception
187 */
188 public abstract void cache(boolean lazy, InputInfo ii) throws QueryException;
189
190 /**
191 * Returns a Java representation of the value.

Callers 3

evalMethod · 0.95
valueMethod · 0.95
valueMethod · 0.95

Calls

no outgoing calls

Tested by 1

valueMethod · 0.76