bool Jaccard::findNext(RecordKeyVector &hits) { if (nextSortedFind(hits)) { checkSplits(hits); _intersectionVal += getTotalIntersection(hits); return true; } return false; }
bool IntersectFile::findNext(RecordKeyVector &hits) { bool retVal = false; if (upCast(_context)->getSortedInput()) { retVal = nextSortedFind(hits); } else { retVal = nextUnsortedFind(hits); } if (retVal) { checkSplits(hits); } return retVal; }