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

Method item

basex-core/src/main/java/org/basex/query/func/bin/BinJoin.java:17–25  ·  view source on GitHub ↗
(final QueryContext qc, final InputInfo ii)

Source from the content-addressed store, hash-verified

15 */
16public final class BinJoin extends StandardFunc {
17 @Override
18 public B64 item(final QueryContext qc, final InputInfo ii) throws QueryException {
19 final Iter iter = arg(0).atomIter(qc, info);
20 final ByteList bl = new ByteList(iter.size());
21 for(Item item; (item = qc.next(iter)) != null;) {
22 bl.add(toBin(item).binary(info));
23 }
24 return B64.get(bl.finish());
25 }
26}

Callers

nothing calls this directly

Calls 9

sizeMethod · 0.95
addMethod · 0.95
getMethod · 0.95
finishMethod · 0.95
toBinMethod · 0.80
nextMethod · 0.65
atomIterMethod · 0.45
argMethod · 0.45
binaryMethod · 0.45

Tested by

no test coverage detected