#pragma once #include #include "storage/model/properties/property.hpp" /* * Query Plan Arguments Type */ using plan_args_t = std::vector; /* * QueryStripped contains: * * stripped query * * plan arguments stripped from query * * hash of stripped query */ struct QueryStripped { QueryStripped(const std::string &&query, plan_args_t &&arguments, uint64_t hash) : query(std::forward(query)), arguments(std::forward(arguments)), hash(hash) { } QueryStripped(QueryStripped &other) = delete; QueryStripped(QueryStripped &&other) = default; std::string query; plan_args_t arguments; uint64_t hash; };