src/SQLRenderer/SQLRenderer.cs
/// <summary>
/// Called by subclass to render main portion of the code
/// </summary>
/// <param name="logicalPlan"></param>
/// <returns></returns>
Called by subclass to render main portion of the code
Called by subclass to render main portion of the code
private string RenderLogicalOperator(LogicalOperator op, int depth)
        {
            switch (op)
            {
                case DataSourceOperator opDs:
                    return RenderDataSource(opDs, depth);
                case ProjectionOperator opProj:
                    return RenderProjection(opProj, depth);
                case SelectionOperator opSel:
                    return RenderSelection(opSel, depth);
                case JoinOperator opSel:
                    return RenderJoin(opSel, depth);
                case SetOperator opSet:
                    return RenderSet(opSet, depth);
                default:
                    throw new TranspilerInternalErrorException($"Unexpected operator type: {op.GetType().Name}");
            }
        }
private string RenderLogicalOperator ( LogicalOperator op , int depth ) { switch ( op ) { case DataSourceOperator opDs : return RenderDataSource ( opDs , depth ) ; case ProjectionOperator opProj : return RenderProjection ( opProj , depth ) ; case SelectionOperator opSel : return RenderSelection ( opSel , depth ) ; case JoinOperator opSel : return RenderJoin ( opSel , depth ) ; case SetOperator opSet : return RenderSet ( opSet , depth ) ; default : throw new TranspilerInternalErrorException ( $" Unexpected operator type:  { op . GetType ( ) . Name } " ) ; } }
Called by subclass to render main portion of the code
Called by subclass to render main portion of the code
None
op
LogicalOperator
depth
int
logicalPlan
None