8586878889909192939495
// 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); } }
99100101102103104105106107108109
} else if (startingLoc == 1 && endingLoc > 1) { // Includes item. result.set(tvp1); return; } sb.finish(); result.set(abvs); } catch (IOException e) { throw new SystemException(ErrorCode.SYSE0001); } }
6667686970717273747576
} } else { sb.addItem(tvp); } } sb.finish(); result.set(abvs); } catch (IOException e) { throw new SystemException(ErrorCode.SYSE0001); } }
9293949596979899100101102
dOutInner.write(ValueTag.XS_INTEGER_TAG); dOutInner.writeLong(c); sb.addItem(abvsInner); } sb.finish(); result.set(abvs); } catch (IOException e) { throw new SystemException(ErrorCode.SYSE0001); } }
8283848586878889909192
} else if (longp.getLong() != 1) { // Position does not match the item. Return target. result.set(tvp1); return; } sb.finish(); result.set(abvs); } catch (IOException e) { throw new SystemException(ErrorCode.SYSE0001); } }
8182838485868788899091
dOutInner.write(ValueTag.XS_INTEGER_TAG); dOutInner.writeLong(j); sb.addItem(abvsInner); } } sb.finish(); result.set(abvs); } catch (IOException e) { throw new SystemException(ErrorCode.SYSE0001); } }
949596979899100101102103104
} else { sb.addItem(tvp1); addArgumentToSequence(tvp3); } } sb.finish(); result.set(abvs); } catch (IOException e) { throw new SystemException(ErrorCode.SYSE0001); } }
105106107108109110111112113114115
} } } else { sb.addItem(tvp1); } sb.finish(); result.set(abvs); } catch (IOException e) { throw new SystemException(ErrorCode.SYSE0001); } }
6162636465666768697071
int seqLen = seq.getEntryCount(); for (int j = 0; j < seqLen; ++j) { seq.getEntry(seqLen - j - 1, p); sb.addItem(p); } sb.finish(); result.set(abvs); } else { result.set(tvp); } } catch (IOException e) {
8889909192939495969798
dOutInner.write(ValueTag.XS_INTEGER_TAG); dOutInner.writeLong(1); sb.addItem(abvsInner); } } sb.finish(); result.set(abvs); } catch (IOException e) { throw new SystemException(ErrorCode.SYSE0001); } }