//===----------------------------------------------------------------------===// // DuckDB // // duckdb/common/index_map.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/common/constants.hpp" #include "duckdb/common/unordered_map.hpp" #include "duckdb/common/unordered_set.hpp" namespace duckdb { struct LogicalIndexHashFunction { uint64_t operator()(const LogicalIndex &index) const { return std::hash()(index.index); } }; struct PhysicalIndexHashFunction { uint64_t operator()(const PhysicalIndex &index) const { return std::hash()(index.index); } }; template using logical_index_map_t = unordered_map; using logical_index_set_t = unordered_set; template using physical_index_map_t = unordered_map; using physical_index_set_t = unordered_set; } // namespace duckdb