#pragma once #include #include namespace DB { class ASTJSONPathRange : public IAST { public: String getID(char) const override { return "ASTJSONPathRange"; } ASTPtr clone() const override { return std::make_shared(*this); } /// Ranges to lookup in json array ($[0, 1, 2, 4 to 9]) /// Range is represented as /// Single index is represented as std::vector> ranges; bool is_star = false; }; }