/* * Copyright 2025-present ScyllaDB */ /* * SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.0 */ #pragma once #include "schema/schema.hh" #include "data_dictionary/data_dictionary.hh" #include "cql3/statements/index_target.hh" #include "index/secondary_index_manager.hh" #include namespace secondary_index { class vector_index: public custom_index { public: vector_index() = default; ~vector_index() override = default; std::optional describe(const index_metadata& im, const schema& base_schema) const override; bool view_should_exist() const override; void validate(const schema &schema, cql3::statements::index_prop_defs &properties, const std::vector<::shared_ptr> &targets, const gms::feature_service& fs) override; }; std::unique_ptr vector_index_factory(); }