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

Method flushCache

plugins/tiledb/io/TileDBWriter.cpp:620–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618}
619
620bool TileDBWriter::flushCache()
621{
622 tiledb::Query query(*m_ctx, *m_array);
623 query.set_layout(TILEDB_UNORDERED);
624
625 // Set the query buffers.
626 for (auto& dimBuffer : m_buffers)
627 dimBuffer->setQueryBuffer(query);
628
629 tiledb::Query::Status status = query.submit();
630
631 if (m_args->m_stats)
632 {
633 tiledb::Stats::dump(stdout);
634 tiledb::Stats::reset();
635 }
636
637 m_current_idx = 0;
638
639 if (status == tiledb::Query::Status::FAILED)
640 return false;
641 else
642 return true;
643}
644
645} // namespace pdal

Callers

nothing calls this directly

Calls 2

resetFunction · 0.85
setQueryBufferMethod · 0.45

Tested by

no test coverage detected