OmniSciDB
a5dc49c757
|
#include "Geospatial/Compression.h"
#include "Geospatial/Types.h"
#include "QueryEngine/TypePunning.h"
Go to the source code of this file.
Namespaces | |
Geospatial | |
Functions | |
int32_t | Geospatial::get_compression_scheme (const SQLTypeInfo &ti) |
uint64_t | Geospatial::compress_coord (double coord, const SQLTypeInfo &ti, bool x) |
uint64_t | Geospatial::compress_null_point (const SQLTypeInfo &ti, bool x) |
std::vector< uint8_t > | Geospatial::compress_coords (const std::vector< double > &coords, const SQLTypeInfo &ti) |
template<typename T > | |
void | Geospatial::unpack_geo_vector (std::vector< T > &output, const int8_t *input_ptr, const size_t sz) |
template<> | |
void | Geospatial::unpack_geo_vector< int32_t > (std::vector< int32_t > &output, const int8_t *input_ptr, const size_t sz) |
template<typename T > | |
void | Geospatial::decompress_geo_coords_geoint32 (std::vector< T > &dec, const int8_t *enc, const size_t sz) |
template<> | |
std::shared_ptr< std::vector < double > > | Geospatial::decompress_coords< double, SQLTypeInfo > (const SQLTypeInfo &geo_ti, const int8_t *coords, const size_t coords_sz) |
template<> | |
std::shared_ptr< std::vector < double > > | Geospatial::decompress_coords< double, int32_t > (const int32_t &ic, const int8_t *coords, const size_t coords_sz) |
bool | Geospatial::is_null_point (const SQLTypeInfo &geo_ti, const int8_t *coords, const size_t coords_sz) |