OmniSciDB
a5dc49c757
|
#include <TargetValueConvertersImpl.h>
Public Member Functions | |
GeoPolygonValueConverter (const Catalog_Namespace::Catalog &cat, size_t num_rows, const ColumnDescriptor *logicalColumnDescriptor) | |
~GeoPolygonValueConverter () override | |
void | allocateColumnarData (size_t num_rows) override |
void | convertToColumnarFormat (size_t row, const TargetValue *value) override |
void | addDataBlocksToInsertData (Fragmenter_Namespace::InsertData &insertData) override |
Public Member Functions inherited from GeoPointValueConverter | |
GeoPointValueConverter (const Catalog_Namespace::Catalog &cat, size_t num_rows, const ColumnDescriptor *logicalColumnDescriptor) | |
~GeoPointValueConverter () override | |
ArrayDatum | toCompressedCoords (const std::shared_ptr< std::vector< double >> &coords) |
Public Member Functions inherited from TargetValueConverter | |
TargetValueConverter (const ColumnDescriptor *cd) | |
virtual | ~TargetValueConverter () |
virtual void | finalizeDataBlocksForInsertData () |
Definition at line 953 of file TargetValueConvertersImpl.h.
|
inline |
Definition at line 960 of file TargetValueConvertersImpl.h.
References allocateColumnarData(), bounds_column_descriptor_, CHECK, TargetValueConverter::column_descriptor_, ColumnDescriptor::columnId, Catalog_Namespace::Catalog::getMetadataForColumn(), ring_sizes_column_descriptor_, and ColumnDescriptor::tableId.
|
inlineoverride |
Definition at line 976 of file TargetValueConvertersImpl.h.
|
inlineoverridevirtual |
Reimplemented from GeoPointValueConverter.
Definition at line 1013 of file TargetValueConvertersImpl.h.
References GeoPointValueConverter::addDataBlocksToInsertData(), DataBlockPtr::arraysPtr, bounds_column_descriptor_, bounds_data_, ColumnDescriptor::columnId, Fragmenter_Namespace::InsertData::columnIds, Fragmenter_Namespace::InsertData::data, ring_sizes_column_descriptor_, and ring_sizes_data_.
|
inlineoverridevirtual |
Reimplemented from GeoPointValueConverter.
Definition at line 978 of file TargetValueConvertersImpl.h.
References GeoPointValueConverter::allocateColumnarData(), bounds_data_, and ring_sizes_data_.
Referenced by GeoPolygonValueConverter().
|
inlineoverridevirtual |
Reimplemented from GeoPointValueConverter.
Definition at line 986 of file TargetValueConvertersImpl.h.
References CHECK, compute_bounds_of_coords(), GEO_POLY_VALUE_ACCESSOR, TargetValueConverter::GEO_TARGET_VALUE_ACCESSOR, NULL_ARRAY_DOUBLE, NULL_DOUBLE, to_array_datum(), and GeoPointValueConverter::toCompressedCoords().
const ColumnDescriptor* GeoPolygonValueConverter::bounds_column_descriptor_ |
Definition at line 955 of file TargetValueConvertersImpl.h.
Referenced by addDataBlocksToInsertData(), and GeoPolygonValueConverter().
std::unique_ptr<std::vector<ArrayDatum> > GeoPolygonValueConverter::bounds_data_ |
Definition at line 958 of file TargetValueConvertersImpl.h.
Referenced by addDataBlocksToInsertData(), and allocateColumnarData().
boost_variant_accessor<GeoPolyTargetValue> GeoPolygonValueConverter::GEO_POLY_VALUE_ACCESSOR |
Definition at line 984 of file TargetValueConvertersImpl.h.
Referenced by convertToColumnarFormat().
const ColumnDescriptor* GeoPolygonValueConverter::ring_sizes_column_descriptor_ |
Definition at line 954 of file TargetValueConvertersImpl.h.
Referenced by addDataBlocksToInsertData(), and GeoPolygonValueConverter().
std::unique_ptr<std::vector<ArrayDatum> > GeoPolygonValueConverter::ring_sizes_data_ |
Definition at line 957 of file TargetValueConvertersImpl.h.
Referenced by addDataBlocksToInsertData(), and allocateColumnarData().