Remove unused method and clear up #includes

This commit is contained in:
Ante Pušić 2024-02-21 09:34:48 +01:00
parent 960857af41
commit 7574d3e2a8
3 changed files with 2 additions and 7 deletions

View File

@ -306,6 +306,4 @@ std::vector<std::pair<std::string, LabelId>> TextIndex::ListIndices() const {
return ret; return ret;
} }
std::uint64_t TextIndex::ApproximateVertexCount(const std::string &index_name) const { return 10; }
} // namespace memgraph::storage } // namespace memgraph::storage

View File

@ -83,8 +83,6 @@ class TextIndex {
void Rollback(); void Rollback();
std::vector<std::pair<std::string, LabelId>> ListIndices() const; std::vector<std::pair<std::string, LabelId>> ListIndices() const;
std::uint64_t ApproximateVertexCount(const std::string &index_name) const;
}; };
} // namespace memgraph::storage } // namespace memgraph::storage

View File

@ -15,8 +15,6 @@
#include <tuple> #include <tuple>
#include <utility> #include <utility>
#include <fmt/format.h>
#include "query/exceptions.hpp" #include "query/exceptions.hpp"
#include "storage/v2/disk/storage.hpp" #include "storage/v2/disk/storage.hpp"
#include "storage/v2/edge_accessor.hpp" #include "storage/v2/edge_accessor.hpp"
@ -28,12 +26,13 @@
#include "storage/v2/storage.hpp" #include "storage/v2/storage.hpp"
#include "storage/v2/vertex_info_cache.hpp" #include "storage/v2/vertex_info_cache.hpp"
#include "storage/v2/vertex_info_helpers.hpp" #include "storage/v2/vertex_info_helpers.hpp"
#include "text_search.hpp"
#include "utils/atomic_memory_block.hpp" #include "utils/atomic_memory_block.hpp"
#include "utils/logging.hpp" #include "utils/logging.hpp"
#include "utils/memory_tracker.hpp" #include "utils/memory_tracker.hpp"
#include "utils/variant_helpers.hpp" #include "utils/variant_helpers.hpp"
#include <fmt/format.h>
namespace memgraph::storage { namespace memgraph::storage {
namespace detail { namespace detail {