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

Method DriverCtx

bolt/exec/Driver.cpp:132–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130 return fmt::format("Operator: {}", op->toString());
131}
132
133} // namespace
134
135DriverCtx::DriverCtx(
136 std::shared_ptr<Task> _task,
137 int _driverId,
138 int _pipelineId,
139 uint32_t _splitGroupId,
140 uint32_t _partitionId)
141 : driverId(_driverId),
142 pipelineId(_pipelineId),
143 splitGroupId(_splitGroupId),
144 partitionId(_partitionId),
145 task(_task),
146 threadDebugInfo({task->queryCtx()->queryId(), task->taskId(), nullptr}),
147 isAbtestControlGroup(folly::Random::oneIn(2)) {}

Callers

nothing calls this directly

Calls 2

queryCtxMethod · 0.80
queryIdMethod · 0.45

Tested by

no test coverage detected