Home
last modified time | relevance | path

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

12

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dquery.cpp76 Query &Query::SuggestIndex(const std::string &indexName) in SuggestIndex() argument
78 queryExpression_.QueryBySuggestIndex(indexName); in SuggestIndex()
H A Dquery_expression.cpp223 void QueryExpression::QueryBySuggestIndex(const std::string &indexName) in QueryBySuggestIndex() argument
226 expressions_[fromTable_].QueryBySuggestIndex(indexName); in QueryBySuggestIndex()
231 queryInfo_.emplace_back(QueryObjNode{QueryObjType::SUGGEST_INDEX, indexName, in QueryBySuggestIndex()
233 suggestIndex_ = indexName; in QueryBySuggestIndex()
H A Dschema_object.cpp205 bool SchemaObject::IsIndexExist(const IndexName &indexName) const in IsIndexExist()
210 return (schemaIndexes_.count(indexName) != 0); in IsIndexExist()
710 // Check indexDefine duplication, Use Sort-Column(the first fieldPath in index) as the indexName. in ParseCheckEachIndexFromStringArray()
711 const IndexName &indexName = indexPathVec.front(); in ParseCheckEachIndexFromStringArray() local
712 if (schemaIndexes_.count(indexName) != 0) { in ParseCheckEachIndexFromStringArray()
717 return CheckFieldPathIndexableThenSave(indexPathVec, schemaIndexes_[indexName]); in ParseCheckEachIndexFromStringArray()
963 LOGD("[Schema][CompareIndex] Increase indexName."); in CompareSchemaIndexes()
968 LOGD("[Schema][CompareIndex] Change indexName."); in CompareSchemaIndexes()
976 LOGD("[Schema][CompareIndex] Decrease indexName."); in CompareSchemaIndexes()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_utils.cpp744 std::string indexName; in GetSchemaIndexList() local
745 (void) SQLiteUtils::GetColumnTextValue(statement, 1, indexName); // 1 means index name in GetSchemaIndexList()
749 indexList.push_back(indexName); in GetSchemaIndexList()
751 uniqueList.push_back(indexName); in GetSchemaIndexList()
762 int AnalysisSchemaIndexDefine(sqlite3 *db, const std::string &indexName, CompositeFields &indexDefine) in AnalysisSchemaIndexDefine() argument
764 auto sql = "pragma index_info('" + indexName + "')"; in AnalysisSchemaIndexDefine()
801 for (const auto &indexName : indexList) { in AnalysisSchemaIndex()
803 errCode = AnalysisSchemaIndexDefine(db, indexName, indexDefine); in AnalysisSchemaIndex()
808 table.AddIndexDefine(indexName, indexDefine); in AnalysisSchemaIndex()
1302 std::string indexName in IncreaseIndex() local
1347 std::string indexName = SchemaUtils::FieldPathString(name); DecreaseIndex() local
[all...]
H A Dsqlite_query_helper.cpp812 IndexName indexName; in CheckAndFormatSuggestIndex() local
813 int errCode = SchemaUtils::ParseAndCheckFieldPath(suggestIndex_, indexName); in CheckAndFormatSuggestIndex()
819 if (!schema_.IsIndexExist(indexName)) { in CheckAndFormatSuggestIndex()
823 return SchemaUtils::FieldPathString(indexName); in CheckAndFormatSuggestIndex()
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dabs_predicates.cpp447 AbsPredicates *AbsPredicates::IndexedBy(const std::string &indexName) in IndexedBy() argument
449 if (!CheckParameter("indexedBy", indexName, {})) { in IndexedBy()
452 index = RemoveQuotes(indexName); in IndexedBy()
H A Dabs_rdb_predicates.cpp302 AbsRdbPredicates *AbsRdbPredicates::IndexedBy(const std::string &indexName) in IndexedBy() argument
304 predicates_.AddOperation(DistributedRdb::INDEXED_BY, indexName, ""); in IndexedBy()
305 return (AbsRdbPredicates *)AbsPredicates::IndexedBy(indexName); in IndexedBy()
H A Dsqlite_sql_builder.cpp76 const std::string &indexName, const std::string &orderBy, const int &limit, const int &offset, std::string &outSql) in BuildQueryString()
94 .append(BuildSqlStringFromPredicates(indexName, joinClause, whereClause, groupBy, orderBy, limit, offset)); in BuildQueryString()
74 BuildQueryString(bool distinct, const std::string &table, const std::string &joinClause, const std::vector<std::string> &columns, const std::string &whereClause, const std::string &groupBy, const std::string &indexName, const std::string &orderBy, const int &limit, const int &offset, std::string &outSql) BuildQueryString() argument
H A Drdb_store.cpp223 const std::string &indexName, const std::string &orderBy, const int &limit, const int &offset) in Query()
226 errCode = SqliteSqlBuilder::BuildQueryString(distinct, table, "", columns, whereClause, groupBy, indexName, in Query()
221 Query(int &errCode, bool distinct, const std::string &table, const Fields &columns, const std::string &whereClause, const Values &args, const std::string &groupBy, const std::string &indexName, const std::string &orderBy, const int &limit, const int &offset) Query() argument
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dsqlite_sql_builder.h39 const std::string &indexName, const std::string &orderBy, const int &limit,
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_storage_index_optimize_test.cpp75 bool CheckIndexFromDbFile(const::std::string &filePath, const std::string &indexName) in CheckIndexFromDbFile() argument
86 std::string querySQL = "select sql from sqlite_master where name = '" + indexName + "'"; in CheckIndexFromDbFile()
/foundation/distributeddatamgr/data_share/interfaces/inner_api/common/include/
H A Ddatashare_predicates.h367 * @param indexName indicates the query condition.
369 DataSharePredicates *IndexedBy(const std::string &indexName) in IndexedBy() argument
371 SetOperationList(INDEXED_BY, indexName); in IndexedBy()
H A Ddatashare_abs_predicates.h240 * @param indexName indicates the query condition.
242 virtual DataShareAbsPredicates *IndexedBy(const std::string &indexName) = 0;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/relational/
H A Dtable_info.h95 void AddIndexDefine(const std::string &indexName, const CompositeFields &indexDefine);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dschema_object.h74 bool IsIndexExist(const IndexName &indexName) const;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/include/
H A Dquery.h148 DB_API Query &SuggestIndex(const std::string &indexName);
H A Dquery_expression.h124 void QueryBySuggestIndex(const std::string &indexName);
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Dabs_rdb_predicates.h229 API_EXPORT AbsRdbPredicates *IndexedBy(const std::string &indexName) override;
H A Dabs_predicates.h100 API_EXPORT virtual AbsPredicates *IndexedBy(const std::string &indexName);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/relational/
H A Dtable_info.cpp337 void TableInfo::AddIndexDefine(const std::string &indexName, const CompositeFields &indexDefine) in AddIndexDefine() argument
339 indexDefines_[indexName] = indexDefine; in AddIndexDefine()
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/
H A Dmock_rdb.h95 const std::vector<ValueObject>& bindArgs, const std::string& groupBy, const std::string& indexName,
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/include/
H A Dmock_app_provision_info.h83 const std::string &indexName = "", const std::string &orderBy = "",
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_rdb_callback_test/include/
H A Drdbstore_mock.h103 const std::string &groupBy, const std::string &indexName, const std::string &orderBy,
/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/
H A Drdb_assistant.h118 const std::string &indexName,
/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/include/
H A Dclouddisk_rdbstore_mock.h119 const std::string &indexName,

Completed in 19 milliseconds

12