Jelajahi Sumber

Add Support Real time mock table.

sdk-team 1 tahun lalu
induk
melakukan
04ef9028c2

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.2029
+1.36.2030

+ 2 - 0
paifeaturestore/include/alibabacloud/paifeaturestore/model/GetFeatureViewResult.h

@@ -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_;

+ 7 - 0
paifeaturestore/src/model/GetFeatureViewResult.cc

@@ -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_;