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

Method addSplit

bolt/exec/tests/AsyncConnectorTest.cpp:94–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 explicit TestDataSource(memory::MemoryPool* pool) : pool_{pool} {}
93
94 void addSplit(std::shared_ptr<connector::ConnectorSplit> split) override {
95 auto testSplit = std::dynamic_pointer_cast<TestSplit>(split);
96 BOLT_CHECK_NOT_NULL(testSplit);
97 future_ = testSplit->touch();
98 needSplit_ = false;
99 }
100
101 std::optional<RowVectorPtr> next(uint64_t size, ContinueFuture& future)
102 override {

Callers 15

executeSerialMethod · 0.45
TEST_FFunction · 0.45
addRemoteSplitsMethod · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
makeAddSplitFunction · 0.45
TEST_FFunction · 0.45
addHiveSplitsMethod · 0.45
addRemoteSplitsMethod · 0.45
TEST_FFunction · 0.45
DEBUG_ONLY_TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

touchMethod · 0.45

Tested by

no test coverage detected