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

Method finish

plugins/arrow/io/ArrowWriter.cpp:83–89  ·  view source on GitHub ↗

Finish building of point data for a builder. The builder is reused for the next data block.

Source from the content-addressed store, hash-verified

81 // Finish building of point data for a builder. The builder is reused for the next
82 // data block.
83 virtual Utils::StatusWithReason finish(std::shared_ptr<arrow::Array>& array)
84 {
85 arrow::Status status = builder().Finish(&array);
86 if (!status.ok())
87 return { -1, status.message() };
88 return true;
89 }
90
91private:
92 // Get a builder appropriate for the data type.

Callers 1

flushBatchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected