blob: 3598e4b76e6610758ca1b1d3ade718226d46e72e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
#include "yql_ytflow_expr_nodes.h"
namespace NYql::NNodes {
TYtflowDSource::TYtflowDSource(const TExprNode* node)
: TYtflowDSourceStub(node)
{
}
TYtflowDSource::TYtflowDSource(const TExprNode::TPtr& node)
: TYtflowDSourceStub(node)
{
}
bool TYtflowDSource::Match(const TExprNode* node) {
if (!TYtflowDSourceStub::Match(node)) {
return false;
}
if (node->Child(TYtflowDSource::idx_Category)->Content() != YtflowProviderName) {
return false;
}
return true;
}
TYtflowDSink::TYtflowDSink(const TExprNode* node)
: TYtflowDSinkStub(node)
{
}
TYtflowDSink::TYtflowDSink(const TExprNode::TPtr& node)
: TYtflowDSinkStub(node)
{
}
bool TYtflowDSink::Match(const TExprNode* node) {
if (!TYtflowDSinkStub::Match(node)) {
return false;
}
if (node->Child(TYtflowDSink::idx_Category)->Content() != YtflowProviderName) {
return false;
}
return true;
}
} // namespace NYql::NNodes
|