@Override public Tuple next() throws SQLException { Tuple tuple = super.next(); if (tuple == null) return null; return tupleProjector.projectResults(tuple); }
@Override public Tuple next() throws SQLException { if (rowCount++ >= limit) { close(); // Free resources early return null; } return super.next(); }
@Override public Tuple next() throws SQLException { Tuple next = super.next(); if (next == null) { return null; } next = sequenceManager.newSequenceTuple(next); return next; }
@Override public Tuple next() throws SQLException { if (!started) { scope.getSpan().addTimelineAnnotation("First request completed"); started = true; } return super.next(); }
@Override public Tuple next() throws SQLException { if (closed) return null; while (index >= length) { this.current = super.next(); if (current == null) { this.closed = true; return null; } if (arrayExpression.evaluate(current, arrayPtr)) { this.length = PArrayDataType.getArrayLength(arrayPtr, elemRefExpression.getDataType(), arrayExpression.getMaxLength()); this.index = 0; this.elemRefExpression.setArrayPtr(arrayPtr); } } elemRefExpression.setIndex(index); if (elemIndexExpression != null) { elemIndexExpression.setIndex(index); } index++; return projector.projectResults(current); }
@Override public Tuple next() throws SQLException { if (rowCount++ >= limit) { close(); // Free resources early return null; } return super.next(); }
@Override public Tuple next() throws SQLException { Tuple next = super.next(); if (next == null) { return null; } next = sequenceManager.newSequenceTuple(next); return next; }
@Override public Tuple next() throws SQLException { Tuple tuple = super.next(); if (tuple == null) return null; return tupleProjector.projectResults(tuple); }
@Override public Tuple next() throws SQLException { if (rowCount++ >= limit) { close(); // Free resources early return null; } return super.next(); }
@Override public Tuple next() throws SQLException { Tuple tuple = super.next(); if (tuple == null) return null; return tupleProjector.projectResults(tuple); }
@Override public Tuple next() throws SQLException { Tuple next = super.next(); if (next == null) { return null; } next = sequenceManager.newSequenceTuple(next); return next; }
@Override public Tuple next() throws SQLException { if (!started) { scope.getSpan().addTimelineAnnotation("First request completed"); started = true; } return super.next(); }
@Override public Tuple next() throws SQLException { if (!started) { scope.getSpan().addTimelineAnnotation("First request completed"); started = true; } return super.next(); }
@Override public Tuple next() throws SQLException { if (closed) return null; while (index >= length) { this.current = super.next(); if (current == null) { this.closed = true; return null; } if (arrayExpression.evaluate(current, arrayPtr)) { this.length = PArrayDataType.getArrayLength(arrayPtr, elemRefExpression.getDataType(), arrayExpression.getMaxLength()); this.index = 0; this.elemRefExpression.setArrayPtr(arrayPtr); } } elemRefExpression.setIndex(index); if (elemIndexExpression != null) { elemIndexExpression.setIndex(index); } index++; return projector.projectResults(current); }
@Override public Tuple next() throws SQLException { if (closed) return null; while (index >= length) { this.current = super.next(); if (current == null) { this.closed = true; return null; } if (arrayExpression.evaluate(current, arrayPtr)) { this.length = PArrayDataType.getArrayLength(arrayPtr, elemRefExpression.getDataType(), arrayExpression.getMaxLength()); this.index = 0; this.elemRefExpression.setArrayPtr(arrayPtr); } } elemRefExpression.setIndex(index); if (elemIndexExpression != null) { elemIndexExpression.setIndex(index); } index++; return projector.projectResults(current); }