@Close public void close() { _consumeRowHandler = null; _inputColumnConversion = null; _outputColumns = null; }
@Override public boolean isDistributed() { final Close annotation = getAnnotation(Close.class); if (annotation == null) { return true; } return annotation.distributed(); }
@Override public boolean isEnabledOnFailure() { final Close annotation = getAnnotation(Close.class); if (annotation == null) { return true; } return annotation.onFailure(); }
@Override public boolean isEnabledOnSuccess() { final Close annotation = getAnnotation(Close.class); if (annotation == null) { return true; } return annotation.onSuccess(); }
@Close public void close() { // delete the temporary file if (isTempFile) { _targetFile.delete(); } }
@Override public boolean isDistributed() { final Close annotation = getAnnotation(Close.class); if (annotation == null) { return true; } return annotation.distributed(); }
@Close public void close() { // delete the temporary file if (tempFile != null) { tempFile.delete(); } } }
@Close public void close() { if (dictionaryConnection != null) { dictionaryConnection.close(); dictionaryConnection = null; } }
@Close public void close() { if (synonymCatalogConnection != null) { synonymCatalogConnection.close(); synonymCatalogConnection = null; } }
@Close public void close() { if (_tableLookup != null) { _tableLookup.close(); _tableLookup = null; } }
@Close public void close() { if (_dictionaryConnection != null) { _dictionaryConnection.close(); _dictionaryConnection = null; } }
@Close public void close() { _groovyObject = null; _groovyClassLoader.clearCache(); _groovyClassLoader = null; }
@Close public void close() { _groovyObject = null; _groovyClassLoader.clearCache(); _groovyClassLoader = null; }
@Close public void close() { if (dictionaryConnections != null) { for (int i = 0; i < dictionaryConnections.length; i++) { dictionaryConnections[i].close(); } dictionaryConnections = null; } }
@Close public void close() { if (stringPatternConnections != null) { for (final StringPatternConnection connection : stringPatternConnections) { connection.close(); } stringPatternConnections = null; } }
@Close public void close() { if (stringPatternConnections != null) { for (final StringPatternConnection stringPatternConnection : stringPatternConnections) { stringPatternConnection.close(); } stringPatternConnections = null; } }
@Close public final void close() { _batchTransformationBuffer.shutdown(); }
@Close public final void close() { _batchTransformationBuffer.shutdown(); }
@Close public void close() { FileHelper.safeClose(_httpClient, _session); }
@Close public void close() { if (lookupQuery != null) { lookupQuery.close(); lookupQuery = null; } if (datastore != null) { datastoreConnection.close(); datastoreConnection = null; } cache.invalidateAll(); queryOutputColumns = null; queryConditionColumns = null; }