public void close() { if (joinNode == null) { return; } joinNode.getBufferManager().releaseBuffers(reserved); reserved = 0; try { if (leftSource != null) { leftSource.close(); } } finally { try { if (rightSource != null) { rightSource.close(); } } finally { leftSource = null; rightSource = null; } } }
public void close() { if (joinNode == null) { return; } joinNode.getBufferManager().releaseBuffers(reserved); reserved = 0; try { if (leftSource != null) { leftSource.close(); } } finally { try { if (rightSource != null) { rightSource.close(); } } finally { leftSource = null; rightSource = null; } } }
public void close() { if (joinNode == null) { return; } joinNode.getBufferManager().releaseBuffers(reserved); reserved = 0; try { if (leftSource != null) { leftSource.close(); } } finally { try { if (rightSource != null) { rightSource.close(); } } finally { leftSource = null; rightSource = null; } } }
rightSource.getIterator().setPosition(1); } else { rightSource.close(); for (Map.Entry<ElementSymbol, Expression> entry : rightMap.asMap().entrySet()) { joinNode.getContext().getVariableContext().remove(entry.getKey()); leftSource.close(); for (Map.Entry<ElementSymbol, Expression> entry : leftMap.asMap().entrySet()) { joinNode.getContext().getVariableContext().remove(entry.getKey());
rightSource.getIterator().setPosition(1); } else { rightSource.close(); for (Map.Entry<ElementSymbol, Expression> entry : rightMap.asMap().entrySet()) { joinNode.getContext().getVariableContext().remove(entry.getKey());
rightSource.getIterator().setPosition(1); } else { rightSource.close(); for (Map.Entry<ElementSymbol, Expression> entry : rightMap.asMap().entrySet()) { joinNode.getContext().getVariableContext().remove(entry.getKey());