21 namespace Catalog_Namespace {
30 , expression_json(expression_json)
31 , data_source_type(data_source_type)
32 , data_source_id(data_source_id) {}
35 const std::string&
name,
42 , expression_json(expression_json)
43 , data_source_type(data_source_type)
44 , data_source_id(data_source_id)
45 , is_deleted(is_deleted) {}
50 <<
"Unexpected data source type: " <<
static_cast<int>(type_enum);
static DataSourceType dataSourceTypeFromString(const std::string &type_str)
CustomExpression(int32_t id, const std::string &name, const std::string &expression_json, DataSourceType data_source_type, int32_t data_source_id, bool is_deleted)
CustomExpression(const std::string &name, const std::string &expression_json, DataSourceType data_source_type, int32_t data_source_id)
DataSourceType data_source_type
static std::string dataSourceTypeToString(DataSourceType type_enum)
std::string expression_json