8384858687888990919293
tvpCount.set(abvsCount); // Save intermediate result. abvsSeq.reset(); sb.reset(abvsSeq); sb.addItem(tvpCount); sb.addItem(tvpSum); sb.finish(); result.set(abvsSeq); } catch (Exception e) { throw new AlgebricksException(e);
8485868788899091929394
// Save intermediate result. abvsSeq.reset(); sb.reset(abvsSeq); sb.addItem(tvpCount); sb.addItem(tvpSum); sb.finish(); result.set(abvsSeq); } catch (Exception e) { throw new AlgebricksException(e); }
90919293949596979899100
return; } else { for (int j = 0; j < seqLen; ++j) { if (startingLoc <= j + 1 && j + 1 < endingLoc) { seq.getEntry(j, p); sb.addItem(p); } } } } else if (startingLoc == 1 && endingLoc > 1) { // Includes item.
6061626364656667686970
if (tvp.getTag() == ValueTag.SEQUENCE_TAG) { tvp.getValue(seq); int seqLen = seq.getEntryCount(); for (int j = 0; j < seqLen; ++j) { seq.getEntry(j, p); sb.addItem(p); } } else { sb.addItem(tvp); } }
6364656667686970717273
for (int j = 0; j < seqLen; ++j) { seq.getEntry(j, p); sb.addItem(p); } } else { sb.addItem(tvp); } } sb.finish(); result.set(abvs); } catch (IOException e) {
8990919293949596979899
int c; while ((c = charIterator.next()) != ICharacterIterator.EOS_CHAR) { abvsInner.reset(); dOutInner.write(ValueTag.XS_INTEGER_TAG); dOutInner.writeLong(c); sb.addItem(abvsInner); } sb.finish(); result.set(abvs); } catch (IOException e) {
7374757677787980818283
return; } else { for (int j = 0; j < seqLen; ++j) { if (longp.getLong() != j + 1) { seq.getEntry(j, p); sb.addItem(p); } } } } else if (longp.getLong() != 1) { // Position does not match the item. Return target.
7879808182838485868788
} else { for (long j = start; j <= end; ++j) { abvsInner.reset(); dOutInner.write(ValueTag.XS_INTEGER_TAG); dOutInner.writeLong(j); sb.addItem(abvsInner); } } sb.finish(); result.set(abvs); } catch (IOException e) {
7778798081828384858687
for (int j = 0; j < seqLen; ++j) { if (longp.getLong() == j + 1) { addArgumentToSequence(tvp3); } seq.getEntry(j, p); sb.addItem(p); } } if (longp.getLong() > seqLen) { // Add to the end. addArgumentToSequence(tvp3);
8889909192939495969798
} } else { if (longp.getLong() <= 1) { addArgumentToSequence(tvp3); sb.addItem(tvp1); } else { sb.addItem(tvp1); addArgumentToSequence(tvp3); } }