//===----------------------------------------------------------------------===// // DuckDB // // duckdb/main/relation/explain_relation.hpp // // //===----------------------------------------------------------------------===// #pragma once #include "duckdb/main/relation.hpp" namespace duckdb { class ExplainRelation : public Relation { public: explicit ExplainRelation(shared_ptr child, ExplainType type = ExplainType::EXPLAIN_STANDARD); shared_ptr child; vector columns; ExplainType type; public: BoundStatement Bind(Binder &binder) override; const vector &Columns() override; string ToString(idx_t depth) override; bool IsReadOnly() override { return false; } }; } // namespace duckdb