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

Method getNextTuplesInternal

src/processor/operator/index_lookup.cpp:270–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270bool IndexLookup::getNextTuplesInternal(ExecutionContext* context) {
271 if (!children[0]->getNextTuple(context)) {
272 return false;
273 }
274 for (auto& info : infos) {
275 info.keyEvaluator->evaluate();
276 lookup(transaction::Transaction::Get(*context->clientContext), info);
277 }
278 localState->errorHandler->flushStoredErrors();
279 return true;
280}
281
282void IndexLookup::initLocalStateInternal(ResultSet* resultSet, ExecutionContext* context) {
283 auto errorHandler = std::make_unique<BatchInsertErrorHandler>(context,

Callers

nothing calls this directly

Calls 3

getNextTupleMethod · 0.80
evaluateMethod · 0.45
flushStoredErrorsMethod · 0.45

Tested by

no test coverage detected