/** * @see TupleSource#closeSource() */ public void closeSource() { cancelFutures(); cancelAsynch = true; if (!explicitClose) { fullyCloseSource(); } }
/** * @see TupleSource#closeSource() */ public void closeSource() { cancelFutures(); cancelAsynch = true; if (!explicitClose) { fullyCloseSource(); } }
/** * @see TupleSource#closeSource() */ public void closeSource() { cancelFutures(); cancelAsynch = true; if (!explicitClose) { fullyCloseSource(); } }
@Override public void onCompletion(FutureWork<Void> future) { if (future != null) { signalMore(); } toRead.closeSource(); dtts.fullyCloseSource(); } }
@Override public void onCompletion(FutureWork<Void> future) { if (future != null) { signalMore(); } toRead.closeSource(); dtts.fullyCloseSource(); } }
@Override public void onCompletion(FutureWork<Void> future) { if (future != null) { signalMore(); } toRead.closeSource(); dtts.fullyCloseSource(); } }
private void done() { doneProducingBatches(); addToCache(); //TODO: we could perform more tracking to know what source lobs are in use if (this.resultsBuffer.getLobCount() == 0) { for (DataTierTupleSource connectorRequest : getConnectorRequests()) { connectorRequest.fullyCloseSource(); } } }
private void done() { doneProducingBatches(); addToCache(); //TODO: we could perform more tracking to know what source lobs are in use if (this.resultsBuffer.getLobCount() == 0) { for (DataTierTupleSource connectorRequest : getConnectorRequests()) { connectorRequest.fullyCloseSource(); } } }
private void done() { doneProducingBatches(); addToCache(); //TODO: we could perform more tracking to know what source lobs are in use if (this.resultsBuffer.getLobCount() == 0) { for (DataTierTupleSource connectorRequest : getConnectorRequests()) { connectorRequest.fullyCloseSource(); } } }
AtomicResultsMessage exceptionOccurred(TranslatorException exception) throws TeiidComponentException, TeiidProcessingException { if(workItem.requestMsg.supportsPartialResults()) { AtomicResultsMessage emptyResults = new AtomicResultsMessage(new List[0]); emptyResults.setWarnings(Arrays.asList((Exception)exception)); emptyResults.setFinalRow(this.rowsProcessed); return emptyResults; } fullyCloseSource(); if (exception.getCause() instanceof TeiidComponentException) { throw (TeiidComponentException)exception.getCause(); } if (exception.getCause() instanceof TeiidProcessingException) { throw (TeiidProcessingException)exception.getCause(); } throw new TeiidProcessingException(QueryPlugin.Event.TEIID30504, exception, this.getConnectorName() + ": " + exception.getMessage()); //$NON-NLS-1$ }
AtomicResultsMessage exceptionOccurred(TranslatorException exception) throws TeiidComponentException, TeiidProcessingException { if(workItem.requestMsg.supportsPartialResults()) { AtomicResultsMessage emptyResults = new AtomicResultsMessage(new List[0]); emptyResults.setWarnings(Arrays.asList((Exception)exception)); emptyResults.setFinalRow(this.rowsProcessed); return emptyResults; } fullyCloseSource(); if (exception.getCause() instanceof TeiidComponentException) { throw (TeiidComponentException)exception.getCause(); } if (exception.getCause() instanceof TeiidProcessingException) { throw (TeiidProcessingException)exception.getCause(); } throw new TeiidProcessingException(QueryPlugin.Event.TEIID30504, exception, this.getConnectorName() + ": " + exception.getMessage()); //$NON-NLS-1$ }
AtomicResultsMessage exceptionOccurred(TranslatorException exception) throws TeiidComponentException, TeiidProcessingException { if(workItem.requestMsg.supportsPartialResults()) { AtomicResultsMessage emptyResults = new AtomicResultsMessage(new List[0]); emptyResults.setWarnings(Arrays.asList((Exception)exception)); emptyResults.setFinalRow(this.rowsProcessed); return emptyResults; } fullyCloseSource(); if (exception.getCause() instanceof TeiidComponentException) { throw (TeiidComponentException)exception.getCause(); } if (exception.getCause() instanceof TeiidProcessingException) { throw (TeiidProcessingException)exception.getCause(); } throw new TeiidProcessingException(QueryPlugin.Event.TEIID30504, exception, this.getConnectorName() + ": " + exception.getMessage()); //$NON-NLS-1$ }
DataTierTupleSource dtts = ref.get(); if (dtts != null) { dtts.fullyCloseSource();
DataTierTupleSource dtts = ref.get(); if (dtts != null) { dtts.fullyCloseSource();
DataTierTupleSource dtts = ref.get(); if (dtts != null) { dtts.fullyCloseSource();
connectorRequest.fullyCloseSource();
connectorRequest.fullyCloseSource();
connectorRequest.fullyCloseSource();
connectorRequest.fullyCloseSource();
connectorRequest.fullyCloseSource();