MCPcopy Create free account
hub / github.com/apache/arrow / ReadValuesSpaced

Method ReadValuesSpaced

cpp/src/parquet/column_reader.cc:652–657  ·  view source on GitHub ↗

Read up to batch_size values from the current data page into the pre-allocated memory T*, leaving spaces for null entries according to the def_levels. @returns: the number of values read into the out buffer

Source from the content-addressed store, hash-verified

650 //
651 // @returns: the number of values read into the out buffer
652 int64_t ReadValuesSpaced(int64_t batch_size, T* out, int64_t null_count,
653 uint8_t* valid_bits, int64_t valid_bits_offset) {
654 return current_decoder_->DecodeSpaced(out, static_cast<int>(batch_size),
655 static_cast<int>(null_count), valid_bits,
656 valid_bits_offset);
657 }
658
659 // Read multiple definition levels into preallocated memory
660 //

Callers

nothing calls this directly

Calls 1

DecodeSpacedMethod · 0.45

Tested by

no test coverage detected