Read up to batch_size values from the current data page into the pre-allocated memory T @returns: the number of values read into the out buffer
| 747 | // |
| 748 | // @returns: the number of values read into the out buffer |
| 749 | int64_t ReadValues(int64_t batch_size, T* out) { |
| 750 | int64_t num_decoded = current_decoder_->Decode(out, static_cast<int>(batch_size)); |
| 751 | return num_decoded; |
| 752 | } |
| 753 | |
| 754 | // Read up to batch_size values from the current data page into the |
| 755 | // pre-allocated memory T*, leaving spaces for null entries according |