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

Method read

bolt/exec/OperatorTraceReader.cpp:51–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51bool OperatorTraceInputReader::read(RowVectorPtr& batch) const {
52 if (inputStream_ == nullptr) {
53 return false;
54 }
55
56 if (inputStream_->atEnd()) {
57 batch = nullptr;
58 return false;
59 }
60
61 VectorStreamGroup::read(
62 inputStream_.get(), pool_, dataType_, &batch, &readOptions_);
63 return true;
64}
65
66std::unique_ptr<common::FileInputStream>
67OperatorTraceInputReader::getInputStream() const {

Callers 3

getOutputMethod · 0.45
replayMethod · 0.45
TEST_FFunction · 0.45

Calls 10

readFunction · 0.50
deserializeFunction · 0.50
atEndMethod · 0.45
getMethod · 0.45
preadMethod · 0.45
sizeMethod · 0.45
emptyMethod · 0.45
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by 2

replayMethod · 0.36
TEST_FFunction · 0.36