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

Method initLocalStateInternal

src/processor/operator/unwind.cpp:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void Unwind::initLocalStateInternal(ResultSet* resultSet, ExecutionContext* context) {
21 expressionEvaluator->init(*resultSet, context->clientContext);
22 outValueVector = resultSet->getValueVector(outDataPos);
23 if (idPos.isValid()) {
24 idVector = resultSet->getValueVector(idPos).get();
25 }
26}
27
28bool Unwind::hasMoreToRead() const {
29 return listEntry.offset != INVALID_OFFSET && listEntry.size > startIndex;

Callers

nothing calls this directly

Calls 4

initMethod · 0.45
getValueVectorMethod · 0.45
isValidMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected