24 namespace data_conversion {
30 std::list<std::unique_ptr<ChunkMetadata>>& chunk_metadata,
31 const bool error_tracking_enabled,
32 const bool geo_validate_geometry)
36 geo_validate_geometry) {}
39 auto geo_strings =
reinterpret_cast<const std::string_view*
>(data);
42 for (
size_t i = 0; i < num_elements; ++i) {
47 auto& geo_string = geo_strings[i];
48 if (geo_string.empty()) {
53 }
catch (std::exception& except) {
void encodeAndAppendData(const int8_t *data, const size_t num_elements) override
void processNullGeoElement()
void appendArrayDatumsToBufferAndUpdateMetadata()
void processGeoElement(std::string_view geo_string_view)
std::optional< std::vector< bool > > delete_buffer_
GeospatialEncoder(const bool geo_validate_geometry)
void appendBaseDataAndUpdateMetadata(const int64_t row_count)
const bool error_tracking_enabled_
StringViewToGeoEncoder(std::list< Chunk_NS::Chunk > &chunks, std::list< std::unique_ptr< ChunkMetadata >> &chunk_metadata, const bool error_tracking_enabled, const bool geo_validate_geometry)