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

Method Make

cpp/src/parquet/arrow/reader.cc:1464–1471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1462}
1463
1464Result<std::unique_ptr<FileReader>> FileReader::Make(
1465 ::arrow::MemoryPool* pool, std::unique_ptr<ParquetFileReader> parquet_reader,
1466 const ArrowReaderProperties& properties) {
1467 std::unique_ptr<FileReader> reader =
1468 std::make_unique<FileReaderImpl>(pool, std::move(parquet_reader), properties);
1469 RETURN_NOT_OK(static_cast<FileReaderImpl*>(reader.get())->Init());
1470 return reader;
1471}
1472
1473Result<std::unique_ptr<FileReader>> FileReader::Make(
1474 ::arrow::MemoryPool* pool, std::unique_ptr<ParquetFileReader> parquet_reader) {

Callers

nothing calls this directly

Calls 4

MakeFunction · 0.50
InitMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected