terminateBatches(); return pullBatch();
terminateBatches(); return pullBatch();
terminateBatches(); return pullBatch();
public TupleBatch nextBatchDirect() throws BlockedException, TeiidComponentException, TeiidProcessingException { // Take inputs, evaluate expressions, and build initial tuple source if(this.phase == COLLECTION) { collectionPhase(); } // If necessary, sort to determine groups (if no group cols, no need to sort) if(this.phase == SORT) { sortPhase(); } // Walk through the sorted results and for each group, emit a row if(this.phase == GROUP) { return groupPhase(); } if (this.phase == GROUP_SORT) { groupSortPhase(); } if (this.phase == GROUP_SORT_OUTPUT) { return groupSortOutputPhase(); } this.terminateBatches(); return pullBatch(); }
public TupleBatch nextBatchDirect() throws BlockedException, TeiidComponentException, TeiidProcessingException { // Take inputs, evaluate expressions, and build initial tuple source if(this.phase == COLLECTION) { collectionPhase(); } // If necessary, sort to determine groups (if no group cols, no need to sort) if(this.phase == SORT) { sortPhase(); } // Walk through the sorted results and for each group, emit a row if(this.phase == GROUP) { return groupPhase(); } if (this.phase == GROUP_SORT) { groupSortPhase(); } if (this.phase == GROUP_SORT_OUTPUT) { return groupSortOutputPhase(); } this.terminateBatches(); return pullBatch(); }
public TupleBatch nextBatchDirect() throws BlockedException, TeiidComponentException, TeiidProcessingException { // Take inputs, evaluate expressions, and build initial tuple source if(this.phase == COLLECTION) { collectionPhase(); } // If necessary, sort to determine groups (if no group cols, no need to sort) if(this.phase == SORT) { sortPhase(); } // Walk through the sorted results and for each group, emit a row if(this.phase == GROUP) { return groupPhase(); } if (this.phase == GROUP_SORT) { groupSortPhase(); } if (this.phase == GROUP_SORT_OUTPUT) { return groupSortOutputPhase(); } this.terminateBatches(); return pullBatch(); }
this.terminateBatches(); return pullBatch();
this.terminateBatches(); return pullBatch();
this.terminateBatches(); return pullBatch();