MCPcopy Create free account
hub / github.com/PDAL/PDAL / done

Method done

plugins/arrow/io/ArrowReader.cpp:645–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

643
644
645void ArrowReader::done(PointTableRef table)
646{
647 if (m_formatType == arrowsupport::Feather)
648 {
649
650 }
651 else if (m_formatType == arrowsupport::Parquet)
652 {
653
654 auto result = m_parquetReader->Close();
655 if (!result.ok())
656 {
657 std::stringstream msg;
658 msg << "Unable to read next batch for file '" << m_filename << "' with message '"
659 << result.ToString() <<"'";
660 throwError(msg.str());
661 }
662
663 }
664
665 auto result = m_file->Close();
666
667
668
669
670}
671
672
673} // namespace pdal

Callers

nothing calls this directly

Calls 2

strMethod · 0.80
CloseMethod · 0.45

Tested by

no test coverage detected