Add Support Real time mock table.
This commit is contained in:
@@ -61,6 +61,7 @@ namespace AlibabaCloud
|
||||
std::string getLastSyncConfig()const;
|
||||
std::string getType()const;
|
||||
std::vector<FieldsItem> getFields()const;
|
||||
std::string getMockTableName()const;
|
||||
std::string getRegisterDatasourceName()const;
|
||||
std::string getFeatureEntityId()const;
|
||||
std::vector<std::string> getTags()const;
|
||||
@@ -88,6 +89,7 @@ namespace AlibabaCloud
|
||||
std::string lastSyncConfig_;
|
||||
std::string type_;
|
||||
std::vector<FieldsItem> fields_;
|
||||
std::string mockTableName_;
|
||||
std::string registerDatasourceName_;
|
||||
std::string featureEntityId_;
|
||||
std::vector<std::string> tags_;
|
||||
|
||||
@@ -97,6 +97,8 @@ void GetFeatureViewResult::parse(const std::string &payload)
|
||||
lastSyncConfig_ = value["LastSyncConfig"].asString();
|
||||
if(!value["PublishTableScript"].isNull())
|
||||
publishTableScript_ = value["PublishTableScript"].asString();
|
||||
if(!value["MockTableName"].isNull())
|
||||
mockTableName_ = value["MockTableName"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -190,6 +192,11 @@ std::vector<GetFeatureViewResult::FieldsItem> GetFeatureViewResult::getFields()c
|
||||
return fields_;
|
||||
}
|
||||
|
||||
std::string GetFeatureViewResult::getMockTableName()const
|
||||
{
|
||||
return mockTableName_;
|
||||
}
|
||||
|
||||
std::string GetFeatureViewResult::getRegisterDatasourceName()const
|
||||
{
|
||||
return registerDatasourceName_;
|
||||
|
||||
Reference in New Issue
Block a user