/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_cloud_schema_mgr_test.cpp | 83 .nullable = true, 89 .nullable = true, 101 .nullable = true, 107 .nullable = true, 119 .nullable = true, 125 .nullable = true, 131 .nullable = true, 143 .nullable = true, 149 .nullable = true, 155 .nullable 256 SetField(std::string fieldName, std::string dataType, bool nullable) SetField() argument [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/service_impl/ |
H A D | types.rs | 254 pub(crate) nullable: bool, 264 nullable: value.nullable, in from() 278 nullable: value.nullable, in try_from() 285 pub fn new(col_name: String, alias: String, typ: u8, primary: bool, nullable: bool) -> Field { in new() 291 nullable, in new() 315 /// Check whether this Field is nullable. 316 pub fn nullable(&self) -> bool { in nullable() functions 317 self.nullable in nullable() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/ |
H A D | schema_meta.cpp | 91 SetValue(node[GET_NAME(nullable)], nullable); in Marshal() 101 GetValue(node, GET_NAME(nullable), nullable); in Unmarshal()
|
/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/ |
H A D | SchemaJsTest.js | 159 first.nullable = false; 164 second.nullable = false; 192 first.nullable = false; 197 second.nullable = false; 229 name.nullable = false; 275 name.nullable = true; 318 name.nullable = true; 364 name.nullable = true; 410 name.nullable = true;
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/include/cloud/ |
H A D | cloud_store_types.h | 99 bool nullable = true; member 103 (primary == comparedField.primary) && (nullable == comparedField.nullable); in operator ==()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | cloud_test.cpp | 127 field.nullable = false; in HWTEST_F() 137 EXPECT_EQ(field.nullable, field2.nullable); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/ |
H A D | SchemaJsTest.js | 92 name.nullable = false; 139 name.nullable = true; 186 name.nullable = true; 233 name.nullable = true; 280 name.nullable = true;
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/include/ |
H A D | cloud_ext_types.h | 318 const bool nullable; member 363 * nullable [OUT] 365 int OhCloudExtFieldGetNullable(const OhCloudExtField *fd, bool *nullable);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/ |
H A D | schema_meta.h | 25 bool nullable = true; member
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/ |
H A D | distributeddb_cloud_save_cloud_data_test.cpp | 82 void SetCloudSchema(PrimaryKeyType pkType, bool nullable, bool asset = false) in SetCloudSchema() argument 89 Field field4 = { "sex", TYPE_INDEX<bool>, false, nullable }; in SetCloudSchema() 105 void PrepareDataBase(const std::string &tableName, PrimaryKeyType pkType, bool nullable = true) in PrepareDataBase() 166 SetCloudSchema(pkType, nullable); in PrepareDataBase() 169 void PrepareDataBaseForAsset(const std::string &tableName, bool nullable = true) in PrepareDataBaseForAsset() 192 SetCloudSchema(PrimaryKeyType::NO_PRIMARY_KEY, nullable, true); in PrepareDataBaseForAsset() 784 void ConstructDownloadData(DownloadData &downloadData, GidType gidType, bool nullable, bool vBucketContains) in ConstructDownloadData() argument 827 void SaveCloudDataTest(PrimaryKeyType pkType, GidType gidType = GidType::GID_MATCH, bool nullable = true, in SaveCloudDataTest() 834 PrepareDataBase(g_tableName, pkType, nullable); in SaveCloudDataTest() 845 ConstructDownloadData(downloadData, gidType, nullable, vBucketContain in SaveCloudDataTest() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/c_adapter/ |
H A D | cloud_ext_types.rs | 633 nullable: u8, 636 /// Create a Field by column name, alias, type, primary, and nullable. 649 let nullable = c_bool_to_bool(builder.nullable); 650 let fd = types::Field::new(col_name, alias, typ, primary, nullable); 730 /// Check whether the Field is nullable. 734 nullable: *mut u8, 736 if fd.is_null() || nullable.is_null() { 744 *nullable = fd_struct.nullable a [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/ |
H A D | cloud_server_impl.cpp | 300 bool nullable = true; in GetFields() local 301 OhCloudExtFieldGetNullable(pField.get(), &nullable); in GetFields() 302 dbField.nullable = nullable; in GetFields()
|
H A D | extension_util.cpp | 165 .nullable = field.nullable in Convert()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/ |
H A D | schema_mgr.cpp | 78 LOGE("The nullable property is mismatched between local and cloud schema"); in CompareFieldSchema() 133 return localField.IsNotNull() == !cloudField.nullable; in CompareNullable()
|
H A D | cloud_storage_utils.cpp | 31 if (field.nullable && errCode == -E_NOT_FOUND) { in BindInt64() 52 if (field.nullable && errCode == -E_NOT_FOUND) { in BindBool() 73 if (field.nullable && errCode == -E_NOT_FOUND) { in BindDouble() 94 if (field.nullable && errCode == -E_NOT_FOUND) { in BindText() 157 if (!field.nullable) { in BindAsset()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/ylong_cloud_extension/src/ipc_conn/ |
H A D | connect.rs | 418 pub(crate) nullable: bool, 427 parcel.write(&self.nullable)?; in serialize() 438 let nullable = parcel.read::<bool>()?; in deserialize() 445 nullable, in deserialize()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/cloud/ |
H A D | cloud_storage_utils.h | 37 return (errCode == E_OK || (field.nullable && errCode == -E_NOT_FOUND)); in IsFieldValid()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
H A D | cloud_test.cpp | 293 field1.nullable = false; in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/cj/include/ |
H A D | distributed_kv_store_impl.h | 45 bool nullable; member
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_general_store.cpp | 92 dbField.nullable = field.nullable; in GetDBSchema()
|
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_extension/ |
H A D | cloud_extension_stub.js | 190 u.writeBoolean(w1.nullable); 277 nullable: t.readBoolean()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/ |
H A D | distributeddb_cloud_db_proxy_test.cpp | 43 .nullable = false in GetFields()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_general_store.cpp | 83 dbField.nullable = field.nullable; in GetDBSchema()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/ |
H A D | sqlite_single_ver_relational_storage_extend_executor.cpp | 631 createTableSql += field.nullable ? "" : " NOT NULL"; in CreateSharedTable() 684 addColumnSql += field.nullable ? ";" : " NOT NULL;"; in UpdateSharedTable()
|
H A D | sqlite_relational_store.cpp | 987 newField.primary != (it != primaryKeyMap.end()) || newField.nullable == oldField.IsNotNull()) { in CheckFields()
|