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

Method prepareRead

bolt/exec/RowContainer.cpp:569–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

567}
568
569std::unique_ptr<ByteInputStream> RowContainer::prepareRead(
570 const char* row,
571 int32_t offset) {
572 const auto& view = reinterpret_cast<const std::string_view*>(row + offset);
573 // We set 'stream' to range over the ranges that start at the Header
574 // immediately below the first character in the std::string_view.
575 return HashStringAllocator::prepareRead(
576 HashStringAllocator::headerOf(view->data()));
577}
578
579int32_t RowContainer::variableSizeAt(const char* row, column_index_t column) {
580 const auto rowColumn = rowColumns_[column];

Callers

nothing calls this directly

Calls 2

prepareReadFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected