MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / finishedProducing

Method finishedProducing

src/processor/operator/persistent/index_builder.cpp:171–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void IndexBuilder::finishedProducing(NodeBatchInsertErrorHandler& errorHandler) {
172 localBuffers.flush(errorHandler);
173 sharedState->consume(errorHandler);
174 while (!sharedState->isDone()) {
175 std::this_thread::sleep_for(std::chrono::microseconds(500));
176 sharedState->consume(errorHandler);
177 }
178}
179
180void IndexBuilder::finalize(ExecutionContext* /*context*/,
181 NodeBatchInsertErrorHandler& errorHandler) {

Callers 1

executeInternalMethod · 0.80

Calls 3

isDoneMethod · 0.80
flushMethod · 0.45
consumeMethod · 0.45

Tested by

no test coverage detected