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

Method append

bolt/serializers/PrestoSerializer.cpp:3578–3590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3576 }
3577
3578 void append(
3579 const RowVectorPtr& vector,
3580 const folly::Range<const IndexRange*>& ranges,
3581 Scratch& scratch) override {
3582 const auto numNewRows = rangesTotalSize(ranges);
3583 if (numNewRows == 0) {
3584 return;
3585 }
3586 numRows_ += numNewRows;
3587 for (int32_t i = 0; i < vector->childrenSize(); ++i) {
3588 serializeColumn(vector->childAt(i).get(), ranges, streams_[i].get());
3589 }
3590 }
3591
3592 void append(
3593 const RowVectorPtr& vector,

Callers

nothing calls this directly

Calls 6

rangesTotalSizeFunction · 0.85
serializeColumnFunction · 0.85
childAtMethod · 0.80
childrenSizeMethod · 0.45
getMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected