src/SQLRenderer/SQLRenderer.cs
/// <summary>
/// Render the Scope code for a given plan and return the output variable names
/// </summary>
/// <param name="logicalPlan"></param>
/// <param name="finalOutputVars"></param>
/// <returns></returns>
Render the Scope code for a given plan and return the output variable names
Render the Scope code for a given plan and return the output variable names
public string RenderPlan(LogicalPlan logicalPlan)
        {
            var codeScript = new StringBuilder();
            if (logicalPlan.TerminalOperators.Count() != 1)
            {
                throw new TranspilerNotSupportedException("Multi-output query");
            }
            var terminatingOperator = logicalPlan.TerminalOperators.First();
            var queryCodeText = RenderLogicalOperator(terminatingOperator, 0);
            return queryCodeText;
        }
public string RenderPlan ( LogicalPlan logicalPlan ) { var codeScript = new StringBuilder ( ) ; if ( logicalPlan . TerminalOperators . Count ( ) != 1 ) { throw new TranspilerNotSupportedException ( " " ) ; } var terminatingOperator = logicalPlan . TerminalOperators . First ( ) ; var queryCodeText = RenderLogicalOperator ( terminatingOperator , 0 ) ; return queryCodeText ; }
Render the Scope code for a given plan and return the output variable names
Render the Scope code for a given plan and return the output variable names
None
logicalPlan
LogicalPlan
None
finalOutputVars
None