/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/api/ |
H A D | documentdb_collection_test.cpp | 70 EXPECT_EQ(GRD_CreateCollection(nullptr, "student", "", 0), GRD_INVALID_ARGS); 87 EXPECT_EQ(GRD_CreateCollection(g_db, overLenName.c_str(), "", 0), GRD_OVER_LIMIT); 97 EXPECT_EQ(GRD_CreateCollection(g_db, it, "", 0), GRD_INVALID_ARGS); 105 EXPECT_EQ(GRD_CreateCollection(g_db, it, "", 0), GRD_INVALID_FORMAT); 126 EXPECT_EQ(GRD_CreateCollection(g_db, it, "", 0), GRD_OK); 140 EXPECT_EQ(GRD_CreateCollection(g_db, "student", "", 0), GRD_OK); 141 EXPECT_EQ(GRD_CreateCollection(g_db, "student", "", 0), GRD_OK); 166 EXPECT_EQ(GRD_CreateCollection(g_db, "student", opt, 0), GRD_INVALID_ARGS); 179 EXPECT_EQ(GRD_CreateCollection(g_db, "student", R""({"maxDoc":1024})"", 0), GRD_OK); 180 EXPECT_EQ(GRD_CreateCollection(g_db, "student", R""({"maxDoc":2048})"", 0), GRD_OK); [all …]
|
H A D | documentdb_insert_test.cpp | 41 EXPECT_EQ(GRD_CreateCollection(g_db, collectionName, "", 0), expectedResult); in TestInsertDocIntoCertainColl() 66 EXPECT_EQ(GRD_CreateCollection(g_db, "student", "", 0), GRD_OK); in SetUpTestCase() 495 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0); 504 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0); 513 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0); 522 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0); 531 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0); 540 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0); 549 GRD_CreateCollection(g_db, collectionName.c_str(), "", 0);
|
H A D | documentdb_delete_test.cpp | 62 EXPECT_EQ(GRD_CreateCollection(g_db, "student", "", 0), GRD_OK); in SetUp() 270 EXPECT_EQ(GRD_CreateCollection(g_db, collectionName1.c_str(), "", 0), GRD_OK);
|
H A D | documentdb_find_test.cpp | 115 EXPECT_EQ(GRD_CreateCollection(g_db, COLLECTION_NAME, "", 0), GRD_OK); in SetUpTestCase() 128 EXPECT_EQ(GRD_CreateCollection(g_db, COLLECTION_NAME, "", 0), GRD_OK); in SetUp() 380 EXPECT_EQ(GRD_CreateCollection(g_db, collectionName, "", 0), GRD_OK); 1198 ASSERT_EQ(GRD_CreateCollection(g_db, collectionName1.c_str(), "", 0), GRD_OK); 1225 ASSERT_EQ(GRD_CreateCollection(g_db, collectionName1.c_str(), "", 0), GRD_OK); 1475 EXPECT_EQ(GRD_CreateCollection(test_db, colName, "", 0), GRD_OK);
|
H A D | documentdb_data_test.cpp | 53 EXPECT_EQ(GRD_CreateCollection(g_db, g_coll, "", 0), GRD_OK); in SetUp()
|
H A D | documentdb_api_test.cpp | 67 EXPECT_EQ(GRD_CreateCollection(db, "student", "", 0), GRD_OK);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/json_fuzzer/ |
H A D | json_fuzzer.cpp | 217 GRD_CreateCollection(g_db, collectionName5.c_str(), "", 0); in InsertDocTwoFuzz() 221 GRD_CreateCollection(g_db, collectionName5.c_str(), "", 0); in InsertDocTwoFuzz() 226 GRD_CreateCollection(g_db, collectionName5.c_str(), "", 0); in InsertDocTwoFuzz() 234 GRD_CreateCollection(g_db, collectionName5.c_str(), "", 0); in InsertDocThreeFuzz() 239 GRD_CreateCollection(g_db, collectionName5.c_str(), "", 0); in InsertDocThreeFuzz() 244 GRD_CreateCollection(g_db, collectionName5.c_str(), "", 0); in InsertDocThreeFuzz() 531 GRD_CreateCollection(g_db, collectionName, "", 0); in FindDocOneFuzz() 1120 GRD_CreateCollection(g_db, "student", "", 0); in UpsertDocNewFuzz() 1128 GRD_CreateCollection(g_db, "student", "", 0); in UpsertDocNewFuzz() 1160 GRD_CreateCollection(db1, newCollName, "", 0); in UpsertDocFuzz() [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/include/grd_document/ |
H A D | grd_document_api.h | 28 GRD_API int32_t GRD_CreateCollection(GRD_DB *db, const char *collectionName, const char *optionStr,…
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | kv_delegate.cpp | 204 status = GRD_CreateCollection(db_, TEMPLATE_TABLE, nullptr, 0); in Init() 212 status = GRD_CreateCollection(db_, DATA_TABLE, nullptr, 0); in Init()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/executor/document/ |
H A D | grd_document_api.cpp | 28 GRD_API int32_t GRD_CreateCollection(GRD_DB *db, const char *collectionName, const char *optionStr,… in GRD_CreateCollection() function
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_utils.cpp | 296 return TransferGrdErrno(GRD_CreateCollection(db, collectionName, optionStr, flags)); in RdCreateCollection()
|