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

Method ReadValuesSpaced

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

665 //
666 // @returns: the number of values read into the out buffer
667 int64_t ReadValuesSpaced(int64_t batch_size, T* out, int64_t null_count,
668 uint8_t* valid_bits, int64_t valid_bits_offset) {
669 return current_decoder_->DecodeSpaced(out, static_cast<int>(batch_size),
670 static_cast<int>(null_count), valid_bits,
671 valid_bits_offset);
672 }
673
674 // Read multiple definition levels into preallocated memory
675 //

Callers

nothing calls this directly

Calls 1

DecodeSpacedMethod · 0.45

Tested by

no test coverage detected