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

Function ScanAll

cpp/src/parquet/column_scanner.h:249–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247
248template <typename RType>
249int64_t ScanAll(int32_t batch_size, int16_t* def_levels, int16_t* rep_levels,
250 uint8_t* values, int64_t* values_buffered,
251 parquet::ColumnReader* reader) {
252 typedef typename RType::T Type;
253 auto typed_reader = static_cast<RType*>(reader);
254 auto vals = reinterpret_cast<Type*>(&values[0]);
255 return typed_reader->ReadBatch(batch_size, def_levels, rep_levels, vals,
256 values_buffered);
257}
258
259int64_t PARQUET_EXPORT ScanAllValues(int32_t batch_size, int16_t* def_levels,
260 int16_t* rep_levels, uint8_t* values,

Callers

nothing calls this directly

Calls 1

ReadBatchMethod · 0.45

Tested by

no test coverage detected