Deveel.Data.Sql.Query.QueryPlanNodeVisitor.VisitBranch C# (CSharp) Method

VisitBranch() protected method

protected VisitBranch ( BranchQueryPlanNode node ) : IQueryPlanNode
node BranchQueryPlanNode
return IQueryPlanNode
        protected virtual IQueryPlanNode VisitBranch(BranchQueryPlanNode node)
        {
            if (node is CompositeNode)
                return VisitComposite((CompositeNode) node);
            if (node is JoinNode)
                return VisitJoin((JoinNode) node);
            //if (node is EquiJoinNode)
            //	return VisitEquiJoin((EquiJoinNode) node);
            if (node is NaturalJoinNode)
                return VisitNaturalJoin((NaturalJoinNode) node);
            if (node is LogicalUnionNode)
                return VisitLogicalUnion((LogicalUnionNode) node);
            if (node is NonCorrelatedAnyAllNode)
                return VisitNonCorrelatedAnyAll((NonCorrelatedAnyAllNode) node);

            throw new NotSupportedException();
        }