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

Method nextBatch

bolt/exec/SpillFile.cpp:632–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630}
631
632bool SpillReadFile::nextBatch(RowVectorPtr& rowVector) {
633 if (input_->atEnd()) {
634 spillReadIOTimeUs_ = input_->getSpillReadIOTime();
635 return false;
636 }
637 if (serde_ != nullptr) {
638 serde_->deserialize(input_.get(), pool_, type_, &rowVector, &readOptions_);
639 } else {
640 VectorStreamGroup::read(
641 input_.get(), pool_, type_, &rowVector, &readOptions_);
642 }
643 return true;
644}
645
646void SpillReadFile::reuse() {
647 input_->reuse();

Callers

nothing calls this directly

Calls 14

alignUpFunction · 0.85
isBitSetFunction · 0.85
backMethod · 0.80
setBitFunction · 0.70
readFunction · 0.50
deserializeFunction · 0.50
atEndMethod · 0.45
getSpillReadIOTimeMethod · 0.45
deserializeMethod · 0.45
getMethod · 0.45
clearMethod · 0.45
capacityMethod · 0.45

Tested by

no test coverage detected