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

clang format apply

This commit is contained in:
Leonid Fedorov
2022-01-21 16:43:49 +00:00
parent 6b6411229f
commit 04752ec546
1376 changed files with 393460 additions and 412662 deletions

View File

@ -36,7 +36,6 @@
namespace WriteEngine
{
/** @brief Base class for storing input data used to generate a Job XML file.
*
* This class represents common code refactored out of inputmgr.h, under
@ -45,77 +44,76 @@ namespace WriteEngine
*/
class XMLGenData
{
public:
typedef std::vector<execplan::CalpontSystemCatalog::TableName> TableList;
typedef std::map<std::string, std::string> ParmList;
typedef std::vector<std::string> LoadNames;
public:
typedef std::vector<execplan::CalpontSystemCatalog::TableName> TableList;
typedef std::map<std::string, std::string> ParmList;
typedef std::vector<std::string> LoadNames;
// Valid parms that can be stored and retrieved from XMLGenData
EXPORT const static std::string DELIMITER;
EXPORT const static std::string DESCRIPTION;
// Valid parms that can be stored and retrieved from XMLGenData
EXPORT const static std::string DELIMITER;
EXPORT const static std::string DESCRIPTION;
#if defined(_MSC_VER) && !defined(WRITEENGINE_DLLEXPORT)
__declspec(dllimport)
__declspec(dllimport)
#endif
EXPORT const static std::string ENCLOSED_BY_CHAR;
EXPORT const static std::string ENCLOSED_BY_CHAR;
#if defined(_MSC_VER) && !defined(WRITEENGINE_DLLEXPORT)
__declspec(dllimport)
__declspec(dllimport)
#endif
EXPORT const static std::string ESCAPE_CHAR;
EXPORT const static std::string ESCAPE_CHAR;
#if defined(_MSC_VER) && !defined(WRITEENGINE_DLLEXPORT)
__declspec(dllimport)
__declspec(dllimport)
#endif
EXPORT const static std::string JOBID;
EXPORT const static std::string MAXERROR;
EXPORT const static std::string NAME;
EXPORT const static std::string PATH;
EXPORT const static std::string JOBID;
EXPORT const static std::string MAXERROR;
EXPORT const static std::string NAME;
EXPORT const static std::string PATH;
#if defined(_MSC_VER) && !defined(WRITEENGINE_DLLEXPORT)
__declspec(dllimport)
__declspec(dllimport)
#endif
EXPORT const static std::string RPT_DEBUG;
EXPORT const static std::string USER;
EXPORT const static std::string NO_OF_READ_BUFFER;
EXPORT const static std::string READ_BUFFER_CAPACITY;
EXPORT const static std::string WRITE_BUFFER_SIZE;
EXPORT const static std::string EXT;
EXPORT const static std::string RPT_DEBUG;
EXPORT const static std::string USER;
EXPORT const static std::string NO_OF_READ_BUFFER;
EXPORT const static std::string READ_BUFFER_CAPACITY;
EXPORT const static std::string WRITE_BUFFER_SIZE;
EXPORT const static std::string EXT;
/** @brief XMLGenData constructor
*/
EXPORT XMLGenData();
/** @brief XMLGenData constructor
*/
EXPORT XMLGenData();
/** @brief XMLGenData destructor
*/
EXPORT virtual ~XMLGenData();
/** @brief XMLGenData destructor
*/
EXPORT virtual ~XMLGenData();
/** @brief Print contents of this object to the specified stream.
*/
EXPORT virtual void print(std::ostream& os) const;
/** @brief Print contents of this object to the specified stream.
*/
EXPORT virtual void print(std::ostream& os) const;
EXPORT std::string getParm(const std::string& key) const;
const TableList& getTables() const
{
return fTables;
}
const std::string& getSchema() const
{
return fSchema;
}
const LoadNames& getLoadNames() const
{
return fLoadNames;
}
EXPORT std::string getParm(const std::string& key) const;
const TableList& getTables() const
{
return fTables;
}
const std::string& getSchema() const
{
return fSchema;
}
const LoadNames& getLoadNames() const
{
return fLoadNames;
}
protected:
TableList fTables;
ParmList fParms;
std::string fSchema;
LoadNames fLoadNames;
protected:
TableList fTables;
ParmList fParms;
std::string fSchema;
LoadNames fLoadNames;
private:
XMLGenData(const XMLGenData&); // disable default copy ctor
XMLGenData& operator=(const XMLGenData&); // disable default assignment
private:
XMLGenData(const XMLGenData&); // disable default copy ctor
XMLGenData& operator=(const XMLGenData&); // disable default assignment
};
}
} // namespace WriteEngine
#undef EXPORT