Struct GeoPointValueConverter

struct GeoPointValueConverter : public TargetValueConverter

Subclassed by GeoLinestringValueConverter, GeoMultiPolygonValueConverter, GeoPolygonValueConverter

Public Functions

GeoPointValueConverter(const Catalog_Namespace::Catalog &cat, size_t num_rows, const ColumnDescriptor *logicalColumnDescriptor)
~GeoPointValueConverter()
void allocateColumnarData(size_t num_rows)
ArrayDatum toCompressedCoords(const std::shared_ptr<std::vector<double>> &coords)
void convertToColumnarFormat(size_t row, const TargetValue *value)
void addDataBlocksToInsertData(Fragmenter_Namespace::InsertData &insertData)

Public Members

const ColumnDescriptor *coords_column_descriptor_
std::unique_ptr<std::vector<std::string>> column_data_
std::unique_ptr<std::vector<ArrayDatum>> signed_compressed_coords_data_
boost_variant_accessor<GeoTargetValue> GEO_VALUE_ACCESSOR
boost_variant_accessor<GeoPointTargetValue> GEO_POINT_VALUE_ACCESSOR