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

Method initFurther

src/expression_evaluator/pattern_evaluator.cpp:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void PatternExpressionEvaluator::initFurther(const ResultSet&) {
47 StructPackFunctions::compileFunc(nullptr, parameters, resultVector);
48 const auto& dataType = expression->getDataType();
49 auto fieldIdx = StructType::getFieldIdx(dataType.copy(), InternalKeyword::ID);
50 DASSERT(fieldIdx != INVALID_STRUCT_FIELD_IDX);
51 idVector = StructVector::getFieldVector(resultVector.get(), fieldIdx).get();
52}
53
54void UndirectedRelExpressionEvaluator::evaluate() {
55 for (auto& child : children) {

Callers

nothing calls this directly

Calls 5

compileFuncFunction · 0.85
getDataTypeMethod · 0.80
copyMethod · 0.45
getMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected