Search in sources :

Example 1 with ExecNodeGraphValidator

use of org.apache.flink.table.planner.plan.nodes.exec.ExecNodeGraphValidator in project flink by apache.

the class ExecNodeGraphJsonSerializer method validate.

/**
 * Check whether the given {@link ExecNodeGraph} is completely legal.
 */
private static void validate(ExecNodeGraph execGraph) {
    ExecNodeVisitor visitor = new ExecNodeGraphValidator();
    execGraph.getRootNodes().forEach(visitor::visit);
}
Also used : ExecNodeVisitor(org.apache.flink.table.planner.plan.nodes.exec.visitor.ExecNodeVisitor) ExecNodeGraphValidator(org.apache.flink.table.planner.plan.nodes.exec.ExecNodeGraphValidator)

Aggregations

ExecNodeGraphValidator (org.apache.flink.table.planner.plan.nodes.exec.ExecNodeGraphValidator)1 ExecNodeVisitor (org.apache.flink.table.planner.plan.nodes.exec.visitor.ExecNodeVisitor)1