OmniSciDB
a5dc49c757
|
Functions | |
int64_t | get_interval_duration (const std::string &interval) |
int64_t foreign_storage::anonymous_namespace{RefreshTimeCalculator.cpp}::get_interval_duration | ( | const std::string & | interval | ) |
Gets the interval duration in seconds.
interval | - interval string with format of {interval_count}{interval_type} (e.g. 5H for "every 5 hours") |
Definition at line 33 of file RefreshTimeCalculator.cpp.
References UNREACHABLE.
Referenced by foreign_storage::RefreshTimeCalculator::getNextRefreshTime().