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

Method HashProbe

bolt/exec/HashProbe.cpp:183–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181} // namespace
182
183HashProbe::HashProbe(
184 int32_t operatorId,
185 DriverCtx* driverCtx,
186 const std::shared_ptr<const core::HashJoinNode>& joinNode)
187 : Operator(
188 driverCtx,
189 joinNode->outputType(),
190 operatorId,
191 joinNode->id(),
192 "HashProbe",
193 joinNode->canSpill(driverCtx->queryConfig())
194 ? driverCtx->makeSpillConfig(operatorId)
195 : std::nullopt),
196 outputBatchSize_{outputBatchRows()},
197 joinNode_(std::move(joinNode)),
198 joinType_{joinNode_->joinType()},
199 nullAware_{joinNode_->isNullAware()},
200 probeType_(joinNode_->sources()[0]->outputType()),
201 joinBridge_(operatorCtx_->task()->getHashJoinBridgeLocked(
202 operatorCtx_->driverCtx()->splitGroupId,
203 planNodeId())),
204 filterResult_(1),
205 outputTableRows_(outputBatchSize_) {
206 BOLT_CHECK_NOT_NULL(joinBridge_);
207}
208
209void HashProbe::initialize() {
210 Operator::initialize();

Callers

nothing calls this directly

Calls 9

outputTypeMethod · 0.80
makeSpillConfigMethod · 0.80
isNullAwareMethod · 0.80
taskMethod · 0.80
idMethod · 0.45
canSpillMethod · 0.45
joinTypeMethod · 0.45
driverCtxMethod · 0.45

Tested by

no test coverage detected