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

Method index

bolt/expression/FieldReference.h:71–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 int32_t index(const EvalCtx& context) {
72 if (index_ != -1) {
73 return index_;
74 }
75 auto* rowType = dynamic_cast<const RowType*>(context.row()->type().get());
76 BOLT_CHECK(rowType, "The context has no row");
77 index_ = rowType->getChildIdx(field_);
78 return index_;
79 }
80
81 void evalSpecialForm(
82 const SelectivityVector& rows,

Callers 15

hashOneFunction · 0.45
lookupValueIdsTypedMethod · 0.45
storeComplexTypeMethod · 0.45
compareMethod · 0.45
compareWithNullsMethod · 0.45
appendMethod · 0.45
storeComplexTypeMethod · 0.45
storeComplexTypeMethod · 0.45
compareMethod · 0.45
compareWithNullsMethod · 0.45
makeInFilterMethod · 0.45

Calls 4

getChildIdxMethod · 0.80
getMethod · 0.45
typeMethod · 0.45
rowMethod · 0.45

Tested by 4

storeComplexTypeMethod · 0.36
storeComplexTypeMethod · 0.36
compareMethod · 0.36
compareWithNullsMethod · 0.36