| 553 | } |
| 554 | |
| 555 | bool TileDBWriter::processOne(PointRef& point) |
| 556 | { |
| 557 | |
| 558 | for (auto& dimBuffer : m_buffers) |
| 559 | { |
| 560 | dimBuffer->copyDataToBuffer(point, m_current_idx); |
| 561 | } |
| 562 | |
| 563 | if (++m_current_idx == m_args->m_cache_size) |
| 564 | { |
| 565 | if (!flushCache()) |
| 566 | throwError("Unable to flush points to TileDB array"); |
| 567 | } |
| 568 | |
| 569 | return true; |
| 570 | } |
| 571 | |
| 572 | void TileDBWriter::write(const PointViewPtr view) |
| 573 | { |
nothing calls this directly
no test coverage detected