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

Method resetAggregateGroup

bolt/exec/AggregateWindow.cpp:133–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 void resetAggregateGroup() {
134 aggregate_->clear();
135 if (aggregateInitialized_) {
136 aggregate_->destroy(folly::Range(&rawSingleGroupRow_, 1));
137 }
138 aggregate_->initializeNewGroups(
139 &rawSingleGroupRow_, std::vector<vector_size_t>{0});
140 aggregateInitialized_ = true;
141 }
142
143 void apply(
144 const BufferPtr& /*peerGroupStarts*/,

Callers

nothing calls this directly

Calls 4

RangeClass · 0.50
clearMethod · 0.45
destroyMethod · 0.45
initializeNewGroupsMethod · 0.45

Tested by

no test coverage detected