#pragma once #include #include #include namespace NYql { namespace NNodes { #include class TPgDataSource: public NGenerated::TPgDataSourceStub { public: explicit TPgDataSource(const TExprNode* node) : TPgDataSourceStub(node) { } explicit TPgDataSource(const TExprNode::TPtr& node) : TPgDataSourceStub(node) { } static bool Match(const TExprNode* node) { if (!TPgDataSourceStub::Match(node)) { return false; } if (node->Child(0)->Content() != PgProviderName) { return false; } return true; } }; #include } // namespace NNodes } // namespace NYql