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

Function MakeByteArrayRecordReader

cpp/src/parquet/column_reader.cc:2267–2278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2265void TypedRecordReader<FLBAType>::DebugPrintState() {}
2266
2267std::shared_ptr<RecordReader> MakeByteArrayRecordReader(
2268 const ColumnDescriptor* descr, LevelInfo leaf_info, ::arrow::MemoryPool* pool,
2269 bool read_dictionary, bool read_dense_for_nullable,
2270 const std::shared_ptr<::arrow::DataType>& arrow_type) {
2271 if (read_dictionary) {
2272 return std::make_shared<ByteArrayDictionaryRecordReader>(descr, leaf_info, pool,
2273 read_dense_for_nullable);
2274 } else {
2275 return std::make_shared<ByteArrayChunkedRecordReader>(
2276 descr, leaf_info, pool, read_dense_for_nullable, arrow_type);
2277 }
2278}
2279
2280} // namespace
2281

Callers 1

MakeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected