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

Method value

basex-tests/src/main/java/org/basex/tests/bxapi/XQuery.java:235–245  ·  view source on GitHub ↗

Returns the result value. @return result value @throws XQueryException exception

()

Source from the content-addressed store, hash-verified

233 * @throws XQueryException exception
234 */
235 public XdmValue value() {
236 try {
237 final Value value = qp.value();
238 value.cache(false, null);
239 return XdmValue.get(value);
240 } catch(final QueryException ex) {
241 throw new XQueryException(ex);
242 } finally {
243 qp.close();
244 }
245 }
246
247 /**
248 * Returns the query processor.

Callers 15

testCaseMethod · 0.95
initMethod · 0.45
stringMethod · 0.45
QT3EnvMethod · 0.45
mapMethod · 0.45
runMethod · 0.45
testSetMethod · 0.45
environmentMethod · 0.45
supportedMethod · 0.45
assertQueryMethod · 0.45
assertEqMethod · 0.45
assertDeepEqMethod · 0.45

Calls 3

cacheMethod · 0.95
getMethod · 0.95
closeMethod · 0.65

Tested by

no test coverage detected