Searched refs:cloudField (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/ |
H A D | schema_mgr.cpp | 63 for (const Field &cloudField : cloudFields) { in CompareFieldSchema() local 68 if (IsAssetPrimaryField(cloudField)) { in CompareFieldSchema() 73 if (!CompareType(localField, cloudField)) { in CompareFieldSchema() 77 if (!CompareNullable(localField, cloudField)) { in CompareFieldSchema() 81 if (!ComparePrimaryField(primaryKeys, cloudField)) { in CompareFieldSchema() 85 cloudColNames.emplace(cloudField.colName); in CompareFieldSchema() 102 bool SchemaMgr::IsAssetPrimaryField(const Field &cloudField) in IsAssetPrimaryField() argument 104 …return cloudField.primary && (cloudField.type == TYPE_INDEX<Assets> || cloudField.type == TYPE_IND… in IsAssetPrimaryField() 110 switch (cloudField.type) { in CompareType() 133 return localField.IsNotNull() == !cloudField.nullable; in CompareNullable() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/cloud/ |
H A D | schema_mgr.h | 40 bool IsAssetPrimaryField(const Field &cloudField); 41 bool CompareType(const FieldInfo &localField, const Field &cloudField); 42 bool CompareNullable(const FieldInfo &localField, const Field &cloudField); 43 bool ComparePrimaryField(std::map<int, FieldName> &localPrimaryKeys, const Field &cloudField);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | cloud_db_sync_utils_test.h | 45 …static void InitSyncUtils(const std::vector<Field> &cloudField, RelationalStoreObserverUnitTest *&… 82 static void GetCloudDbSchema(const std::string &tableName, const std::vector<Field> &cloudField,
|
H A D | cloud_db_sync_utils_test.cpp | 48 void CloudDBSyncUtilsTest::InitSyncUtils(const std::vector<Field> &cloudField, in InitSyncUtils() argument 69 GetCloudDbSchema(TABLE_NAME, cloudField, dataBaseSchema); in InitSyncUtils() 300 …SyncUtilsTest::GetCloudDbSchema(const std::string &tableName, const std::vector<Field> &cloudField, in GetCloudDbSchema() argument 306 .fields = cloudField in GetCloudDbSchema()
|