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

Method createConnectorQueryCtx

bolt/exec/Operator.cpp:72–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72std::shared_ptr<connector::ConnectorQueryCtx>
73OperatorCtx::createConnectorQueryCtx(
74 const std::string& connectorId,
75 const std::string& planNodeId,
76 memory::MemoryPool* connectorPool,
77 const common::SpillConfig* spillConfig,
78 std::shared_ptr<connector::AsyncThreadCtx> asyncThreadCtx) const {
79 return std::make_shared<connector::ConnectorQueryCtx>(
80 pool_,
81 connectorPool,
82 driverCtx_->task->queryCtx()->connectorSessionProperties(connectorId),
83 spillConfig,
84 std::move(asyncThreadCtx),
85 std::make_unique<SimpleExpressionEvaluator>(
86 execCtx()->queryCtx(), execCtx()->pool()),
87 driverCtx_->task->queryCtx()->cache(),
88 driverCtx_->task->queryCtx()->queryId(),
89 taskId(),
90 planNodeId,
91 driverCtx_->driverId);
92}
93
94Operator::Operator(
95 DriverCtx* driverCtx,

Callers 4

IndexLookupJoinMethod · 0.80
TableWriterMethod · 0.80
getOutputMethod · 0.80
preloadMethod · 0.80

Calls 5

queryCtxMethod · 0.80
poolMethod · 0.45
cacheMethod · 0.45
queryIdMethod · 0.45

Tested by

no test coverage detected