Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Functions to load and access the timestamp database. More...
#include <timestamp-functions.h>
Public Member Functions | |
TimezoneDatabase () | |
~TimezoneDatabase () | |
Static Public Member Functions | |
static boost::local_time::time_zone_ptr | FindTimezone (const std::string &tz, const TimestampValue &tv) |
Static Public Attributes | |
static const boost::local_time::time_zone_ptr | TIMEZONE_MSK_2011_NODST |
Moscow Timezone No Daylight Savings Time (GMT+4), for use after March 2011. More... | |
Static Private Attributes | |
static const char * | TIMEZONE_DATABASE_STR |
static boost::local_time::tz_database | tz_database_ |
static std::vector< std::string > | tz_region_list_ |
Functions to load and access the timestamp database.
Definition at line 123 of file timestamp-functions.h.
impala::TimezoneDatabase::TimezoneDatabase | ( | ) |
Definition at line 403 of file timestamp-functions.cc.
impala::TimezoneDatabase::~TimezoneDatabase | ( | ) |
Definition at line 435 of file timestamp-functions.cc.
|
static |
Converts the name of a timezone to a boost timezone object. Some countries change their timezones, the tiemstamp is required to correctly determine the timezone information.
Definition at line 437 of file timestamp-functions.cc.
References impala::TimestampValue::date().
|
staticprivate |
Definition at line 138 of file timestamp-functions.h.
|
static |
Moscow Timezone No Daylight Savings Time (GMT+4), for use after March 2011.
Definition at line 135 of file timestamp-functions.h.
|
staticprivate |
Definition at line 139 of file timestamp-functions.h.
|
staticprivate |
Definition at line 140 of file timestamp-functions.h.