MCPcopy Create free account
hub / github.com/bytedance/bolt / next

Method next

bolt/vector/FunctionVector.h:118–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 rowSets_{vector->rowSets_} {}
117
118 Entry next() {
119 while (index_ < functions_.size()) {
120 effectiveRows_ = rowSets_[index_];
121 effectiveRows_.intersect(rows_);
122 if (!effectiveRows_.hasSelections()) {
123 ++index_;
124 continue;
125 }
126 Entry entry{functions_[index_].get(), &effectiveRows_};
127 ++index_;
128 return entry;
129 }
130 return {nullptr, nullptr};
131 }
132
133 private:
134 const SelectivityVector& rows_;

Callers

nothing calls this directly

Calls 4

intersectMethod · 0.80
hasSelectionsMethod · 0.80
sizeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected