OmniSciDB
a5dc49c757
|
Functions | |
bool | is_chunk_min_max_updated (const Fragmenter_Namespace::ChunkUpdateStats &update_stats, int64_t min, int64_t max) |
bool | is_chunk_min_max_updated (const Fragmenter_Namespace::ChunkUpdateStats &update_stats, double min, double max) |
bool | should_recompute_metadata (const std::optional< Fragmenter_Namespace::ChunkUpdateStats > &update_stats) |
bool anonymous_namespace{StorageIOFacility.h}::is_chunk_min_max_updated | ( | const Fragmenter_Namespace::ChunkUpdateStats & | update_stats, |
int64_t | min, | ||
int64_t | max | ||
) |
Checks to see if any of the updated values match the current min/max stat for the chunk.
Definition at line 39 of file StorageIOFacility.h.
References Fragmenter_Namespace::UpdateValuesStats::max_int64t, Fragmenter_Namespace::UpdateValuesStats::min_int64t, Fragmenter_Namespace::ChunkUpdateStats::new_values_stats, and Fragmenter_Namespace::ChunkUpdateStats::old_values_stats.
Referenced by should_recompute_metadata().
bool anonymous_namespace{StorageIOFacility.h}::is_chunk_min_max_updated | ( | const Fragmenter_Namespace::ChunkUpdateStats & | update_stats, |
double | min, | ||
double | max | ||
) |
Definition at line 55 of file StorageIOFacility.h.
References Fragmenter_Namespace::UpdateValuesStats::max_double, Fragmenter_Namespace::UpdateValuesStats::min_double, Fragmenter_Namespace::ChunkUpdateStats::new_values_stats, and Fragmenter_Namespace::ChunkUpdateStats::old_values_stats.
bool anonymous_namespace{StorageIOFacility.h}::should_recompute_metadata | ( | const std::optional< Fragmenter_Namespace::ChunkUpdateStats > & | update_stats | ) |
Definition at line 71 of file StorageIOFacility.h.
References CHECK, extract_max_stat_int_type(), extract_min_stat_int_type(), g_enable_auto_metadata_update, is_chunk_min_max_updated(), kDOUBLE, kFLOAT, and UNREACHABLE.
Referenced by StorageIOFacility::yieldUpdateCallback().