1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-01 06:46:55 +03:00

MCOL-265 Add support for TIMESTAMP data type

This commit is contained in:
Gagan Goel
2019-03-17 14:14:03 -04:00
parent 8a7ccd7d93
commit e89d1ac3cf
167 changed files with 4346 additions and 250 deletions

View File

@ -128,6 +128,7 @@ private:
// data file
bool fbTruncationAsError; // Treat string truncation as error
ImportDataMode fImportDataMode; // Import data in text or binary mode
std::string fTimeZone; // Timezone used by TIMESTAMP data type
volatile bool fTableLocked; // Do we have db table lock
@ -253,6 +254,10 @@ public:
*/
ImportDataMode getImportDataMode( ) const;
/** @brief Get timezone.
*/
const std::string& getTimeZone( ) const;
/** @brief Get number of buffers
*/
int getNumberOfBuffers() const;
@ -310,6 +315,10 @@ public:
*/
void setImportDataMode( ImportDataMode importMode );
/** @brief Set timezone.
*/
void setTimeZone( const std::string& timeZone );
/** @brief Enable distributed mode, saving BRM updates in rptFileName
*/
void setBulkLoadMode(BulkModeType bulkMode, const std::string& rptFileName);
@ -481,6 +490,11 @@ inline ImportDataMode TableInfo::getImportDataMode() const
return fImportDataMode;
}
inline const std::string& TableInfo::getTimeZone() const
{
return fTimeZone;
}
inline int TableInfo::getNumberOfBuffers() const
{
return fReadBufCount;
@ -580,6 +594,11 @@ inline void TableInfo::setImportDataMode( ImportDataMode importMode )
fImportDataMode = importMode;
}
inline void TableInfo::setTimeZone( const std::string& timeZone )
{
fTimeZone = timeZone;
}
inline void TableInfo::setJobFileName(const std::string& jobFileName)
{
fjobFileName = jobFileName;