OmniSciDB
a5dc49c757
|
#include <TargetValueConvertersImpl.h>
Public Member Functions | |
GeoMultiPolygonValueConverter (const Catalog_Namespace::Catalog &cat, size_t num_rows, const ColumnDescriptor *logicalColumnDescriptor) | |
~GeoMultiPolygonValueConverter () 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 1029 of file TargetValueConvertersImpl.h.
|
inline |
Definition at line 1038 of file TargetValueConvertersImpl.h.
References allocateColumnarData(), bounds_column_descriptor_, CHECK, TargetValueConverter::column_descriptor_, ColumnDescriptor::columnId, Catalog_Namespace::Catalog::getMetadataForColumn(), ring_sizes_column_descriptor_, ring_sizes_solumn_descriptor_, and ColumnDescriptor::tableId.
|
inlineoverride |
Definition at line 1057 of file TargetValueConvertersImpl.h.
|
inlineoverridevirtual |
Reimplemented from GeoPointValueConverter.
Definition at line 1097 of file TargetValueConvertersImpl.h.
References GeoPointValueConverter::addDataBlocksToInsertData(), DataBlockPtr::arraysPtr, bounds_column_descriptor_, bounds_data_, ColumnDescriptor::columnId, Fragmenter_Namespace::InsertData::columnIds, Fragmenter_Namespace::InsertData::data, poly_rings_data_, ring_sizes_column_descriptor_, ring_sizes_data_, and ring_sizes_solumn_descriptor_.
|
inlineoverridevirtual |
Reimplemented from GeoPointValueConverter.
Definition at line 1059 of file TargetValueConvertersImpl.h.
References GeoPointValueConverter::allocateColumnarData(), bounds_data_, poly_rings_data_, and ring_sizes_data_.
Referenced by GeoMultiPolygonValueConverter().
|
inlineoverridevirtual |
Reimplemented from GeoPointValueConverter.
Definition at line 1068 of file TargetValueConvertersImpl.h.
References CHECK, compute_bounds_of_coords(), GEO_MULTI_POLY_VALUE_ACCESSOR, TargetValueConverter::GEO_TARGET_VALUE_ACCESSOR, NULL_ARRAY_DOUBLE, NULL_DOUBLE, to_array_datum(), and GeoPointValueConverter::toCompressedCoords().
const ColumnDescriptor* GeoMultiPolygonValueConverter::bounds_column_descriptor_ |
Definition at line 1032 of file TargetValueConvertersImpl.h.
Referenced by addDataBlocksToInsertData(), and GeoMultiPolygonValueConverter().
std::unique_ptr<std::vector<ArrayDatum> > GeoMultiPolygonValueConverter::bounds_data_ |
Definition at line 1036 of file TargetValueConvertersImpl.h.
Referenced by addDataBlocksToInsertData(), and allocateColumnarData().
boost_variant_accessor<GeoMultiPolyTargetValue> GeoMultiPolygonValueConverter::GEO_MULTI_POLY_VALUE_ACCESSOR |
Definition at line 1066 of file TargetValueConvertersImpl.h.
Referenced by convertToColumnarFormat().
std::unique_ptr<std::vector<ArrayDatum> > GeoMultiPolygonValueConverter::poly_rings_data_ |
Definition at line 1035 of file TargetValueConvertersImpl.h.
Referenced by addDataBlocksToInsertData(), and allocateColumnarData().
const ColumnDescriptor* GeoMultiPolygonValueConverter::ring_sizes_column_descriptor_ |
Definition at line 1030 of file TargetValueConvertersImpl.h.
Referenced by addDataBlocksToInsertData(), and GeoMultiPolygonValueConverter().
std::unique_ptr<std::vector<ArrayDatum> > GeoMultiPolygonValueConverter::ring_sizes_data_ |
Definition at line 1034 of file TargetValueConvertersImpl.h.
Referenced by addDataBlocksToInsertData(), and allocateColumnarData().
const ColumnDescriptor* GeoMultiPolygonValueConverter::ring_sizes_solumn_descriptor_ |
Definition at line 1031 of file TargetValueConvertersImpl.h.
Referenced by addDataBlocksToInsertData(), and GeoMultiPolygonValueConverter().