MCPcopy Create free account
hub / github.com/ByConity/ByConity / cloneWithoutColumns

Method cloneWithoutColumns

src/Core/Block.cpp:454–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452
453
454Block Block::cloneWithoutColumns() const
455{
456 Block res;
457
458 size_t num_columns = data.size();
459 for (size_t i = 0; i < num_columns; ++i)
460 res.insert({ nullptr, data[i].type, data[i].name });
461
462 return res;
463}
464
465Block Block::cloneWithCutColumns(size_t start, size_t length) const
466{

Callers 3

readMethod · 0.80
readMethod · 0.80
writeMethod · 0.80

Calls 2

sizeMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected