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

Method ReadValuesSpaced

cpp/src/parquet/column_reader.cc:759–764  ·  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

757 //
758 // @returns: the number of values read into the out buffer
759 int64_t ReadValuesSpaced(int64_t batch_size, T* out, int64_t null_count,
760 uint8_t* valid_bits, int64_t valid_bits_offset) {
761 return current_decoder_->DecodeSpaced(out, static_cast<int>(batch_size),
762 static_cast<int>(null_count), valid_bits,
763 valid_bits_offset);
764 }
765
766 // Read multiple definition levels into preallocated memory
767 //

Callers

nothing calls this directly

Calls 1

DecodeSpacedMethod · 0.45

Tested by

no test coverage detected