Home
last modified time | relevance | path

Searched refs:IsQueryOnlyByKey (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_query_sync_test.cpp959 HWTEST_F(DistributedDBStorageQuerySyncTest, IsQueryOnlyByKey, TestSize.Level1)
970 EXPECT_TRUE(queryObj.IsQueryOnlyByKey());
973 EXPECT_TRUE(queryObj1.IsQueryOnlyByKey());
976 EXPECT_TRUE(queryObj2.IsQueryOnlyByKey());
979 EXPECT_FALSE(queryObj3.IsQueryOnlyByKey());
982 EXPECT_FALSE(queryObj4.IsQueryOnlyByKey());
985 EXPECT_FALSE(queryObj5.IsQueryOnlyByKey());
988 EXPECT_FALSE(queryObj6.IsQueryOnlyByKey());
1130 EXPECT_EQ(querySync1.IsQueryOnlyByKey(), true);
1139 EXPECT_EQ(querySync2.IsQueryOnlyByKey(), false);
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dquery_object.h47 bool IsQueryOnlyByKey() const;
H A Dquery_object.cpp411 bool QueryObject::IsQueryOnlyByKey() const in IsQueryOnlyByKey() function in DistributedDB::QueryObject
H A Dsqlite_single_ver_natural_store_connection.cpp154 if (((queryObj.GetSortType() != SortType::NONE) && !queryObj.IsQueryOnlyByKey()) in GetEntries()
204 if (((queryObj.GetSortType() != SortType::NONE) && !queryObj.IsQueryOnlyByKey()) in GetCount()
607 if (((queryObj.GetSortType() != SortType::NONE) && !queryObj.IsQueryOnlyByKey()) in GetResultSet()
H A Dsqlite_single_ver_storage_executor.cpp634 if (query.IsQueryOnlyByKey()) { in GetSyncDataWithQuery()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_data_sync_utils.cpp68 if (version < SOFTWARE_VERSION_RELEASE_5_0 && !(context->GetQuery().IsQueryOnlyByKey())) { in QuerySyncCheck()