@Override public boolean hasNext() throws TeiidComponentException, TeiidProcessingException { if (this.currentTuple != null) { return true; } this.currentTuple = getCurrentTuple(); return this.currentTuple != null; }
@Override public boolean hasNext() throws TeiidComponentException, TeiidProcessingException { if (this.currentTuple != null) { return true; } this.currentTuple = getCurrentTuple(); return this.currentTuple != null; }
@Override public boolean hasNext() throws TeiidComponentException, TeiidProcessingException { if (this.currentTuple != null) { return true; } this.currentTuple = getCurrentTuple(); return this.currentTuple != null; }
@Override public List<?> nextTuple() throws TeiidComponentException, TeiidProcessingException{ List<?> result = null; if (currentTuple != null){ result = currentTuple; currentTuple = null; } else { result = getCurrentTuple(); } if (result != null) { currentRow++; } return result; }
@Override public List<?> nextTuple() throws TeiidComponentException, TeiidProcessingException{ List<?> result = null; if (currentTuple != null){ result = currentTuple; currentTuple = null; } else { result = getCurrentTuple(); } if (result != null) { currentRow++; } return result; }
@Override public List<?> nextTuple() throws TeiidComponentException, TeiidProcessingException{ List<?> result = null; if (currentTuple != null){ result = currentTuple; currentTuple = null; } else { result = getCurrentTuple(); } if (result != null) { currentRow++; } return result; }
@Override protected List<?> getCurrentTuple() throws TeiidComponentException, BlockedException, TeiidProcessingException { List<?> tuple = super.getCurrentTuple(); saveTuple(tuple); return tuple; }
@Override protected List<?> getCurrentTuple() throws TeiidComponentException, BlockedException, TeiidProcessingException { List<?> tuple = super.getCurrentTuple(); saveTuple(tuple); return tuple; }
@Override protected List<?> getCurrentTuple() throws TeiidComponentException, BlockedException, TeiidProcessingException { List<?> tuple = super.getCurrentTuple(); saveTuple(tuple); return tuple; }