This is a part of the changes made in the larger onlinePSL project.
Add join method for iterators in IteratorUtils.
Then, to ensure a cleared term cache when streaming iterators are joined since they may reference the same dataStructure, clear the termCache on close for streamingIterators (this was already done for streamingGroundingIterators).
This is a part of the changes made in the larger onlinePSL project.
Add join method for iterators in IteratorUtils. Then, to ensure a cleared term cache when streaming iterators are joined since they may reference the same dataStructure, clear the termCache on close for streamingIterators (this was already done for streamingGroundingIterators).