OmniSciDB  2e3a973ef4
Compression.h File Reference
#include <cstdint>
#include <vector>
#include "Geospatial/CompressionRuntime.h"
#include "Shared/sqltypes.h"
+ Include dependency graph for Compression.h:
+ This graph shows which files directly or indirectly include this file:

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)
 
bool Geospatial::is_null_point (const SQLTypeInfo &geo_ti, const int8_t *coords, const size_t coords_sz)
 
std::vector< uint8_t > Geospatial::compress_coords (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<typename T , typename C >
std::shared_ptr< std::vector< T > > Geospatial::decompress_coords (const C &compression, const int8_t *coords, const size_t coords_sz)