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

Function Read

cpp/src/parquet/stream_reader.h:214–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212
213 template <typename ReaderType, typename T>
214 void Read(T* v) {
215 const auto& node = nodes_[column_index_];
216 auto reader = static_cast<ReaderType*>(column_readers_[column_index_++].get());
217 int16_t def_level;
218 int16_t rep_level;
219 int64_t values_read;
220
221 reader->ReadBatch(kBatchSizeOne, &def_level, &rep_level, v, &values_read);
222
223 if (values_read != 1) {
224 ThrowReadFailedException(node);
225 }
226 }
227
228 template <typename ReaderType, typename ReadType, typename T>
229 void Read(T* v) {

Callers 3

stream_reader.ccFile · 0.70
ReadFixedLengthMethod · 0.70
ReadAtMethod · 0.50

Calls 2

getMethod · 0.45
ReadBatchMethod · 0.45

Tested by

no test coverage detected