Home
last modified time | relevance | path

Searched refs:nullable (Results 1 - 25 of 25) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_cloud_schema_mgr_test.cpp83 .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 Dtypes.rs254 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 Dschema_meta.cpp91 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 DSchemaJsTest.js159 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 Dcloud_store_types.h99 bool nullable = true; member
103 (primary == comparedField.primary) && (nullable == comparedField.nullable); in operator ==()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dcloud_test.cpp127 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 DSchemaJsTest.js92 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 Dcloud_ext_types.h318 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 Dschema_meta.h25 bool nullable = true; member
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/cloud/
H A Ddistributeddb_cloud_save_cloud_data_test.cpp82 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 Dcloud_ext_types.rs633 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 Dcloud_server_impl.cpp300 bool nullable = true; in GetFields() local
301 OhCloudExtFieldGetNullable(pField.get(), &nullable); in GetFields()
302 dbField.nullable = nullable; in GetFields()
H A Dextension_util.cpp165 .nullable = field.nullable in Convert()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/
H A Dschema_mgr.cpp78 LOGE("The nullable property is mismatched between local and cloud schema"); in CompareFieldSchema()
133 return localField.IsNotNull() == !cloudField.nullable; in CompareNullable()
H A Dcloud_storage_utils.cpp31 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 Dconnect.rs418 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 Dcloud_storage_utils.h37 return (errCode == E_OK || (field.nullable && errCode == -E_NOT_FOUND)); in IsFieldValid()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dcloud_test.cpp293 field1.nullable = false; in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/cj/include/
H A Ddistributed_kv_store_impl.h45 bool nullable; member
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_general_store.cpp92 dbField.nullable = field.nullable; in GetDBSchema()
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/cloud_extension/
H A Dcloud_extension_stub.js190 u.writeBoolean(w1.nullable);
277 nullable: t.readBoolean()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_db_proxy_test.cpp43 .nullable = false in GetFields()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_general_store.cpp83 dbField.nullable = field.nullable; in GetDBSchema()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsqlite_single_ver_relational_storage_extend_executor.cpp631 createTableSql += field.nullable ? "" : " NOT NULL"; in CreateSharedTable()
684 addColumnSql += field.nullable ? ";" : " NOT NULL;"; in UpdateSharedTable()
H A Dsqlite_relational_store.cpp987 newField.primary != (it != primaryKeyMap.end()) || newField.nullable == oldField.IsNotNull()) { in CheckFields()

Completed in 36 milliseconds