Home
last modified time | relevance | path

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

123

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_index_optimize_test.cpp257 * @tc.steps: step1. Create a Query and call GreaterThan().SuggestIndex(), then check the query1 in HWTEST_F()
260 Query query1 = Query::Select().GreaterThan("id", 1).SuggestIndex("id"); in HWTEST_F()
279 * @tc.steps: step3. Create a Query and call SuggestIndex().GreaterThan(), then check the query3 in HWTEST_F()
284 Query query3 = Query::Select().SuggestIndex("id").GreaterThan("id", 1); in HWTEST_F()
307 * @tc.steps: step2. Create Query,call GreaterThan("id").GreaterThan("phone").SuggestIndex("id") in HWTEST_F()
311 Query query1 = Query::Select().GreaterThan("id", 1).And().GreaterThan("phone", 1).SuggestIndex("id"); in HWTEST_F()
357 * @tc.steps: step7. Create Query,call GreaterThan("id").SuggestIndex("car") in HWTEST_F()
361 Query query3 = Query::Select().GreaterThan("i in HWTEST_F()
[all...]
H A Ddistributeddb_query_object_helper_test.cpp124 Query query3 = Query::Select().GreaterThan(TEST_FIELD_NAME, 0); in HWTEST_F()
179 Query query1 = Query::Select().GreaterThan(TEST_FIELD_NAME, true); // bool compare in HWTEST_F()
201 Query query = Query::Select().EqualTo(TEST_FIELD_NAME, true).And().GreaterThan(TEST_FIELD_NAME, 1); in HWTEST_F()
204 Query query1 = Query::Select().GreaterThan(TEST_FIELD_NAME, 1).OrderBy(TEST_FIELD_NAME); in HWTEST_F()
H A Ddistributeddb_storage_subscribe_query_test.cpp246 Query query2 = Query::Select().GreaterThan("field_name3", 10); in HWTEST_F()
255 Query query3 = Query::Select().GreaterThan("field_name11", 10); in HWTEST_F()
264 Query query4 = Query::Select().GreaterThan("field_name3", 10).And().BeginGroup(). in HWTEST_F()
347 Query query2 = Query::Select().GreaterThan("field_name3", 10); in HWTEST_F()
605 queryList.push_back(Query::Select().GreaterThan("field_name3", 10)); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_query_test.cpp90 Query query3 = Query::Select().GreaterThan(TEST_FIELD_NAME, 0); in CheckQueryCompareOper()
205 EXPECT_FALSE(GetQueryInfo::GetQueryExpression(Query::Select().GreaterThan(TEST_FIELD_NAME, true)).GetErrFlag()); in HWTEST_F()
219 Query query = Query::Select().EqualTo(TEST_FIELD_NAME, true).And().GreaterThan(TEST_FIELD_NAME, 1); in HWTEST_F()
224 Query query1 = Query::Select().GreaterThan(TEST_FIELD_NAME, 1).OrderBy(TEST_FIELD_NAME); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Ddata_query.h133 DataQuery &GreaterThan(const std::string &field, const int value);
141 DataQuery &GreaterThan(const std::string &field, const int64_t value);
149 DataQuery &GreaterThan(const std::string &field, const double value);
157 DataQuery &GreaterThan(const std::string &field, const std::string &value);
H A Dkv_utils.h52 static void GreaterThan(const DataShare::OperationItem &oper, DataQuery &query);
84 [DataShare::GREATER_THAN] = &KvUtils::GreaterThan,
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Dsingle_kvstore_client_query_test.cpp219 query.GreaterThan("", 100); in HWTEST_F()
221 query.GreaterThan("$.^^", 100); in HWTEST_F()
223 query.GreaterThan("", (int64_t) 100); in HWTEST_F()
225 query.GreaterThan("^$.test_field_name", (int64_t) 100); in HWTEST_F()
227 query.GreaterThan("", 1.23); in HWTEST_F()
229 query.GreaterThan("^", 1.23); in HWTEST_F()
231 query.GreaterThan("", "test value"); in HWTEST_F()
233 query.GreaterThan("$.test_field_name^*%$#", "test value"); in HWTEST_F()
247 query.GreaterThan("$.test_field_name", 100); in HWTEST_F()
250 query.GreaterThan(" in HWTEST_F()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/
H A Drdb_query.h65 void GreaterThan(const RdbPredicateOperation& operation);
94 &RdbQuery::GreaterThan,
H A Drdb_query.cpp279 void RdbQuery::GreaterThan(const RdbPredicateOperation& operation) in GreaterThan() function in OHOS::DistributedRdb::RdbQuery
284 query_.GreaterThan(operation.field_, operation.field_[0]); in GreaterThan()
285 predicates_->GreaterThan(operation.field_, operation.field_[0]); in GreaterThan()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Ddata_query.cpp183 DataQuery& DataQuery::GreaterThan(const std::string &field, const int value) in GreaterThan() function in OHOS::DistributedKv::DataQuery
188 query_->GreaterThan(field, value); in GreaterThan()
193 DataQuery& DataQuery::GreaterThan(const std::string &field, const int64_t value) in GreaterThan() function in OHOS::DistributedKv::DataQuery
198 query_->GreaterThan(field, value); in GreaterThan()
203 DataQuery& DataQuery::GreaterThan(const std::string &field, const double value) in GreaterThan() function in OHOS::DistributedKv::DataQuery
208 query_->GreaterThan(field, value); in GreaterThan()
213 DataQuery& DataQuery::GreaterThan(const std::string &field, const std::string &value) in GreaterThan() function in OHOS::DistributedKv::DataQuery
219 query_->GreaterThan(field, value); in GreaterThan()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/
H A Ddistributeddb_nb_predicate_query_test.cpp282 * @tc.steps: step2. test the Query interface of EqualTo/NotEqualTo/In/NotIn/GreaterThan/LessThan/ in HWTEST_F()
289 Query query5 = Query::Select().GreaterThan("$.field1", "abc"); in HWTEST_F()
364 Query query5 = Query::Select().GreaterThan(field, "abc"); in InvalidFieldCheck()
366 MST_LOG("GreaterThan result: %d", result); in InvalidFieldCheck()
402 * @tc.steps: step2. use notexist field5 to test EqualTo/NotEqualTo/In/NotIn/GreaterThan/LessThan/ in HWTEST_F()
410 * GreaterThan/LessThan/GreaterThanOrEqualTo/LessThanOrEqualTo and call GetEntries and check. in HWTEST_F()
418 * GreaterThan/LessThan/GreaterThanOrEqualTo/LessThanOrEqualTo and call GetEntries and check. in HWTEST_F()
534 * @tc.steps: step2. test the Query interface of EqualTo/NotEqualTo/In/NotIn/GreaterThan/LessThan/ in HWTEST_F()
637 * GreaterThan/LessThan/GreaterThanOrEqualTo/LessThanOrEqualTo/OrderBy and call GetEntries with Query. in HWTEST_F()
640 Query query = Query::Select().GreaterThan(" in HWTEST_F()
[all...]
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb_data_share_adapter/include/
H A Drdb_utils.h103 static void GreaterThan(const OperationItem &item, RdbPredicates &predicates);
144 [DataShare::GREATER_THAN] = &RdbUtils::GreaterThan,
/foundation/distributeddatamgr/relational_store/frameworks/cj/include/
H A Drelational_store_impl_rdbpredicatesproxy.h85 void GreaterThan(const char* field, ValueType value);
/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/
H A Drelational_predicates.cpp170 OH_Predicates *RelationalPredicate::GreaterThan(OH_Predicates *predicates, const char *field, in GreaterThan() function in OHOS::RdbNdk::RelationalPredicate
180 self->predicates_.GreaterThan(field, values[0]); in GreaterThan()
354 greaterThan = GreaterThan; in RelationalPredicate()
H A Drelational_predicates.h42 static OH_Predicates *GreaterThan(OH_Predicates *predicates, const char *field, OH_VObject *valueObject);
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_query.cpp36 DECLARE_NAPI_FUNCTION("greaterThan", JsQuery::GreaterThan), in Constructor()
168 napi_value JsQuery::GreaterThan(napi_env env, napi_callback_info info) in GreaterThan() function in OHOS::DistributedData::JsQuery
170 ZLOGD("Query::GreaterThan()"); in GreaterThan()
178 query.GreaterThan(ctxt->field, *strValue); in GreaterThan()
182 query.GreaterThan(ctxt->field, *boolValue); in GreaterThan()
186 query.GreaterThan(ctxt->field, *dblValue); in GreaterThan()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/include/
H A Dcov_util.h72 dataQuery_->GreaterThan(field, value); in operator ()()
/foundation/distributeddatamgr/data_share/frameworks/js/napi/common/include/
H A Ddatashare_predicates_proxy.h61 static napi_value GreaterThan(napi_env env, napi_callback_info info);
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/include/
H A Djs_query.h38 static napi_value GreaterThan(napi_env env, napi_callback_info info);
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/include/
H A Djs_query.h38 static napi_value GreaterThan(napi_env env, napi_callback_info info);
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_unittest_utils/src/
H A Dmedialibrary_unittest_utils.cpp95 predicates.GreaterThan(MEDIA_DATA_DB_ID, to_string(0)); in CleanTestFiles()
105 predicates.GreaterThan(MEDIA_DATA_DB_ID, to_string(0)); in CleanBundlePermission()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb_data_share_adapter/src/
H A Drdb_utils.cpp91 void RdbUtils::GreaterThan(const OperationItem &item, RdbPredicates &predicates) in GreaterThan() function in RdbUtils
93 predicates.GreaterThan(item.GetSingle(0), ToValueObject(item.singleParams[1])); in GreaterThan()
/foundation/distributeddatamgr/relational_store/frameworks/cj/src/
H A Drelational_store_impl_rdbpredicatesproxy.cpp188 void RdbPredicatesImpl::GreaterThan(const char* field, ValueType value) in GreaterThan() function in OHOS::Relational::RdbPredicatesImpl
192 predicates_->GreaterThan(cfield, valueObject); in GreaterThan()
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/
H A Ddatashare_abs_predicates.h52 * @brief The GreaterThan of the predicate.
57 virtual DataShareAbsPredicates *GreaterThan(const std::string &field, const SingleValue &value) = 0;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dquery.cpp147 queryExpression_.GreaterThan(field, type, fieldValue); in ExecuteCompareOperation()

Completed in 18 milliseconds

123