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

Method ready

plugins/arrow/io/ArrowWriter.cpp:393–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393void ArrowWriter::ready(PointTableRef table)
394{
395 std::vector<std::shared_ptr<arrow::Field>> fields;
396 for (auto& h : m_dimHandlers)
397 fields.push_back(h->field());
398
399 m_schema.reset(new arrow::Schema(fields));
400
401 if (m_formatType == arrowsupport::Parquet)
402 setupParquet(table);
403 else if (m_formatType == arrowsupport::Feather)
404 setupFeather(table);
405}
406
407void ArrowWriter::write(const PointViewPtr view)
408{

Callers

nothing calls this directly

Calls 2

fieldMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected