| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>SqlWriterConfig (Apache Calcite calcite API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="SqlWriterConfig (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":6,"i58":6,"i59":6,"i60":6,"i61":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.calcite.sql</a></div> |
| <h2 title="Interface SqlWriterConfig" class="title">Interface SqlWriterConfig</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public interface <span class="typeNameLabel">SqlWriterConfig</span></pre> |
| <div class="block">Configuration for <a href="SqlWriter.html" title="interface in org.apache.calcite.sql"><code>SqlWriter</code></a> and <a href="pretty/SqlPrettyWriter.html" title="class in org.apache.calcite.sql.pretty"><code>SqlPrettyWriter</code></a>.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Interface</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">Policy for how to do deal with long lines.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#alwaysUseParentheses()">alwaysUseParentheses</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether expressions should always be included in parentheses.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#caseClausesOnNewLines()">caseClausesOnNewLines</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether the WHEN, THEN and ELSE clauses of a CASE expression |
| appear at the start of a new line.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clauseEndsLine()">clauseEndsLine</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether a clause (FROM, WHERE, GROUP BY, HAVING, WINDOW, |
| ORDER BY) is followed by a new line.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clauseStartsLine()">clauseStartsLine</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether a clause (FROM, WHERE, GROUP BY, HAVING, WINDOW, |
| ORDER BY) starts a new line.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dialect()">dialect</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the dialect.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#foldLength()">foldLength</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line length at which items are chopped or folded (for clauses |
| that have chosen <a href="SqlWriterConfig.LineFolding.html#CHOP"><code>SqlWriterConfig.LineFolding.CHOP</code></a> or <a href="SqlWriterConfig.LineFolding.html#FOLD"><code>SqlWriterConfig.LineFolding.FOLD</code></a>).</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#fromFolding()">fromFolding</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line-folding policy for the FROM clause (and JOIN).</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#groupByFolding()">groupByFolding</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line-folding policy for the GROUP BY clause.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#havingFolding()">havingFolding</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line-folding policy for the HAVING clause.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#indentation()">indentation</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the number of spaces indentation.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#keywordsLowerCase()">keywordsLowerCase</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether to print keywords (SELECT, AS, etc.) in lower-case.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#leadingComma()">leadingComma</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether commas in SELECT, GROUP BY and ORDER clauses should |
| appear at the start of the line.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lineFolding()">lineFolding</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line-folding policy for lists in the SELECT, GROUP BY and |
| ORDER clauses, for items in the SET clause of UPDATE, and for items in |
| VALUES.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lineLength()">lineLength</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the maximum line length.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#matchFolding()">matchFolding</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line-folding policy for the MATCH_RECOGNIZE clause.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#orderByFolding()">orderByFolding</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line-folding policy for the ORDER BY clause.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#overFolding()">overFolding</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line-folding policy for the OVER clause or a window |
| declaration.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#quoteAllIdentifiers()">quoteAllIdentifiers</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether to quote all identifiers, even those which would be |
| correct according to the rules of the <a href="SqlDialect.html" title="class in org.apache.calcite.sql"><code>SqlDialect</code></a> if quotation |
| marks were omitted.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectFolding()">selectFolding</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line-folding policy for the SELECT clause.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectListExtraIndentFlag()">selectListExtraIndentFlag</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether to use a fix for SELECT list indentations.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectListItemsOnSeparateLines()">selectListItemsOnSeparateLines</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether each item in a SELECT list, GROUP BY list, or ORDER BY |
| list is on its own line.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriter.SubQueryStyle.html" title="enum in org.apache.calcite.sql">SqlWriter.SubQueryStyle</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#subQueryStyle()">subQueryStyle</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the sub-query style.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateSetFolding()">updateSetFolding</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line-folding policy for the SET clause of an UPDATE statement.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateSetListNewline()">updateSetListNewline</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether each assignment in the SET clause of an UPDATE or MERGE |
| statement should be on its own line.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#valuesFolding()">valuesFolding</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line-folding policy for the VALUES expression.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#valuesListNewline()">valuesListNewline</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether each row in a VALUES clause should be on its own |
| line.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#whereFolding()">whereFolding</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line-folding policy for the WHERE clause.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#whereListItemsOnSeparateLines()">whereListItemsOnSeparateLines</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether to print a newline before each AND or OR (whichever is |
| higher level) in WHERE clauses.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#windowDeclListNewline()">windowDeclListNewline</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether each declaration in a WINDOW clause should be on its own |
| line.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#windowFolding()">windowFolding</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the line-folding policy for the WINDOW clause.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#windowNewline()">windowNewline</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns whether a WINDOW clause should start its own line.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withAlwaysUseParentheses(boolean)">withAlwaysUseParentheses</a></span>​(boolean alwaysUseParentheses)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#alwaysUseParentheses()"><code>alwaysUseParentheses()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withCaseClausesOnNewLines(boolean)">withCaseClausesOnNewLines</a></span>​(boolean caseClausesOnNewLines)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#caseClausesOnNewLines()"><code>caseClausesOnNewLines()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withClauseEndsLine(boolean)">withClauseEndsLine</a></span>​(boolean clauseEndsLine)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#clauseEndsLine()"><code>clauseEndsLine()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withClauseStartsLine(boolean)">withClauseStartsLine</a></span>​(boolean clauseStartsLine)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#clauseStartsLine()"><code>clauseStartsLine()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withDialect(org.apache.calcite.sql.SqlDialect)">withDialect</a></span>​(<a href="SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a> dialect)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#dialect()"><code>dialect()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withFoldLength(int)">withFoldLength</a></span>​(int lineLength)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#foldLength()"><code>foldLength()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withFromFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withFromFolding</a></span>​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#fromFolding()"><code>fromFolding()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withGroupByFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withGroupByFolding</a></span>​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#groupByFolding()"><code>groupByFolding()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withHavingFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withHavingFolding</a></span>​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#havingFolding()"><code>havingFolding()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withIndentation(int)">withIndentation</a></span>​(int indentation)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#indentation()"><code>indentation()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withKeywordsLowerCase(boolean)">withKeywordsLowerCase</a></span>​(boolean keywordsLowerCase)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#keywordsLowerCase()"><code>keywordsLowerCase()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withLeadingComma(boolean)">withLeadingComma</a></span>​(boolean leadingComma)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#leadingComma()"><code>leadingComma()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withLineFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withLineFolding</a></span>​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#lineFolding()"><code>lineFolding()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withLineLength(int)">withLineLength</a></span>​(int lineLength)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#lineLength()"><code>lineLength()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withMatchFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withMatchFolding</a></span>​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#matchFolding()"><code>matchFolding()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withOrderByFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withOrderByFolding</a></span>​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#orderByFolding()"><code>orderByFolding()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withOverFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withOverFolding</a></span>​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#overFolding()"><code>overFolding()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withQuoteAllIdentifiers(boolean)">withQuoteAllIdentifiers</a></span>​(boolean quoteAllIdentifiers)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#quoteAllIdentifiers()"><code>quoteAllIdentifiers()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withSelectFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withSelectFolding</a></span>​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#selectFolding()"><code>selectFolding()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withSelectListExtraIndentFlag(boolean)">withSelectListExtraIndentFlag</a></span>​(boolean selectListExtraIndentFlag)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#selectListExtraIndentFlag()"><code>selectListExtraIndentFlag()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withSelectListItemsOnSeparateLines(boolean)">withSelectListItemsOnSeparateLines</a></span>​(boolean selectListItemsOnSeparateLines)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#selectListItemsOnSeparateLines()"><code>selectListItemsOnSeparateLines()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withSubQueryStyle(org.apache.calcite.sql.SqlWriter.SubQueryStyle)">withSubQueryStyle</a></span>​(<a href="SqlWriter.SubQueryStyle.html" title="enum in org.apache.calcite.sql">SqlWriter.SubQueryStyle</a> subQueryStyle)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#subQueryStyle()"><code>subQueryStyle()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withUpdateSetFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withUpdateSetFolding</a></span>​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#updateSetFolding()"><code>updateSetFolding()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withUpdateSetListNewline(boolean)">withUpdateSetListNewline</a></span>​(boolean updateSetListNewline)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#updateSetListNewline()"><code>updateSetListNewline()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i55" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withValuesFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withValuesFolding</a></span>​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#valuesFolding()"><code>valuesFolding()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withValuesListNewline(boolean)">withValuesListNewline</a></span>​(boolean valuesListNewline)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#valuesListNewline()"><code>valuesListNewline()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i57" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withWhereFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withWhereFolding</a></span>​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#whereFolding()"><code>whereFolding()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i58" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withWhereListItemsOnSeparateLines(boolean)">withWhereListItemsOnSeparateLines</a></span>​(boolean whereListItemsOnSeparateLines)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#whereListItemsOnSeparateLines()"><code>whereListItemsOnSeparateLines()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i59" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withWindowDeclListNewline(boolean)">withWindowDeclListNewline</a></span>​(boolean windowDeclListNewline)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#windowDeclListNewline()"><code>windowDeclListNewline()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i60" class="altColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withWindowFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withWindowFolding</a></span>​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#windowFolding()"><code>windowFolding()</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i61" class="rowColor"> |
| <td class="colFirst"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withWindowNewline(boolean)">withWindowNewline</a></span>​(boolean windowNewline)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets <a href="#windowNewline()"><code>windowNewline()</code></a>.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="dialect()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dialect</h4> |
| <pre class="methodSignature"><a href="SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a> dialect()</pre> |
| <div class="block">Returns the dialect.</div> |
| </li> |
| </ul> |
| <a id="withDialect(org.apache.calcite.sql.SqlDialect)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withDialect</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withDialect​(<a href="SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a> dialect)</pre> |
| <div class="block">Sets <a href="#dialect()"><code>dialect()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="keywordsLowerCase()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>keywordsLowerCase</h4> |
| <pre class="methodSignature">boolean keywordsLowerCase()</pre> |
| <div class="block">Returns whether to print keywords (SELECT, AS, etc.) in lower-case. |
| Default is false: keywords are printed in upper-case.</div> |
| </li> |
| </ul> |
| <a id="withKeywordsLowerCase(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withKeywordsLowerCase</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withKeywordsLowerCase​(boolean keywordsLowerCase)</pre> |
| <div class="block">Sets <a href="#keywordsLowerCase()"><code>keywordsLowerCase()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="quoteAllIdentifiers()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>quoteAllIdentifiers</h4> |
| <pre class="methodSignature">boolean quoteAllIdentifiers()</pre> |
| <div class="block">Returns whether to quote all identifiers, even those which would be |
| correct according to the rules of the <a href="SqlDialect.html" title="class in org.apache.calcite.sql"><code>SqlDialect</code></a> if quotation |
| marks were omitted. Default is true.</div> |
| </li> |
| </ul> |
| <a id="withQuoteAllIdentifiers(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withQuoteAllIdentifiers</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withQuoteAllIdentifiers​(boolean quoteAllIdentifiers)</pre> |
| <div class="block">Sets <a href="#quoteAllIdentifiers()"><code>quoteAllIdentifiers()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="indentation()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>indentation</h4> |
| <pre class="methodSignature">int indentation()</pre> |
| <div class="block">Returns the number of spaces indentation. Default is 4.</div> |
| </li> |
| </ul> |
| <a id="withIndentation(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withIndentation</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withIndentation​(int indentation)</pre> |
| <div class="block">Sets <a href="#indentation()"><code>indentation()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="clauseStartsLine()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clauseStartsLine</h4> |
| <pre class="methodSignature">boolean clauseStartsLine()</pre> |
| <div class="block">Returns whether a clause (FROM, WHERE, GROUP BY, HAVING, WINDOW, |
| ORDER BY) starts a new line. Default is true. SELECT is always at the |
| start of a line.</div> |
| </li> |
| </ul> |
| <a id="withClauseStartsLine(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withClauseStartsLine</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withClauseStartsLine​(boolean clauseStartsLine)</pre> |
| <div class="block">Sets <a href="#clauseStartsLine()"><code>clauseStartsLine()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="clauseEndsLine()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clauseEndsLine</h4> |
| <pre class="methodSignature">boolean clauseEndsLine()</pre> |
| <div class="block">Returns whether a clause (FROM, WHERE, GROUP BY, HAVING, WINDOW, |
| ORDER BY) is followed by a new line. Default is false.</div> |
| </li> |
| </ul> |
| <a id="withClauseEndsLine(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withClauseEndsLine</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withClauseEndsLine​(boolean clauseEndsLine)</pre> |
| <div class="block">Sets <a href="#clauseEndsLine()"><code>clauseEndsLine()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="selectListItemsOnSeparateLines()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>selectListItemsOnSeparateLines</h4> |
| <pre class="methodSignature">boolean selectListItemsOnSeparateLines()</pre> |
| <div class="block">Returns whether each item in a SELECT list, GROUP BY list, or ORDER BY |
| list is on its own line. |
| |
| <p>Default is false; |
| this property is superseded by <a href="#selectFolding()"><code>selectFolding()</code></a>, |
| <a href="#groupByFolding()"><code>groupByFolding()</code></a>, <a href="#orderByFolding()"><code>orderByFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="withSelectListItemsOnSeparateLines(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withSelectListItemsOnSeparateLines</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withSelectListItemsOnSeparateLines​(boolean selectListItemsOnSeparateLines)</pre> |
| <div class="block">Sets <a href="#selectListItemsOnSeparateLines()"><code>selectListItemsOnSeparateLines()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="lineFolding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lineFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding()</pre> |
| <div class="block">Returns the line-folding policy for lists in the SELECT, GROUP BY and |
| ORDER clauses, for items in the SET clause of UPDATE, and for items in |
| VALUES.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#foldLength()"><code>If not set, the values of |
| , |
| , |
| , |
| are used.</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="withLineFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withLineFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withLineFolding​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</pre> |
| <div class="block">Sets <a href="#lineFolding()"><code>lineFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="selectFolding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>selectFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> selectFolding()</pre> |
| <div class="block">Returns the line-folding policy for the SELECT clause. |
| If not set, the value of <a href="#lineFolding()"><code>lineFolding()</code></a> is used.</div> |
| </li> |
| </ul> |
| <a id="withSelectFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withSelectFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withSelectFolding​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</pre> |
| <div class="block">Sets <a href="#selectFolding()"><code>selectFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="fromFolding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>fromFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> fromFolding()</pre> |
| <div class="block">Returns the line-folding policy for the FROM clause (and JOIN). |
| If not set, the value of <a href="#lineFolding()"><code>lineFolding()</code></a> is used.</div> |
| </li> |
| </ul> |
| <a id="withFromFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withFromFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withFromFolding​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</pre> |
| <div class="block">Sets <a href="#fromFolding()"><code>fromFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="whereFolding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>whereFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> whereFolding()</pre> |
| <div class="block">Returns the line-folding policy for the WHERE clause. |
| If not set, the value of <a href="#lineFolding()"><code>lineFolding()</code></a> is used.</div> |
| </li> |
| </ul> |
| <a id="withWhereFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withWhereFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withWhereFolding​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</pre> |
| <div class="block">Sets <a href="#whereFolding()"><code>whereFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="groupByFolding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>groupByFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> groupByFolding()</pre> |
| <div class="block">Returns the line-folding policy for the GROUP BY clause. |
| If not set, the value of <a href="#lineFolding()"><code>lineFolding()</code></a> is used.</div> |
| </li> |
| </ul> |
| <a id="withGroupByFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withGroupByFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withGroupByFolding​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</pre> |
| <div class="block">Sets <a href="#groupByFolding()"><code>groupByFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="havingFolding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>havingFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> havingFolding()</pre> |
| <div class="block">Returns the line-folding policy for the HAVING clause. |
| If not set, the value of <a href="#lineFolding()"><code>lineFolding()</code></a> is used.</div> |
| </li> |
| </ul> |
| <a id="withHavingFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withHavingFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withHavingFolding​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</pre> |
| <div class="block">Sets <a href="#havingFolding()"><code>havingFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="windowFolding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>windowFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> windowFolding()</pre> |
| <div class="block">Returns the line-folding policy for the WINDOW clause. |
| If not set, the value of <a href="#lineFolding()"><code>lineFolding()</code></a> is used.</div> |
| </li> |
| </ul> |
| <a id="withWindowFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withWindowFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withWindowFolding​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</pre> |
| <div class="block">Sets <a href="#windowFolding()"><code>windowFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="matchFolding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>matchFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> matchFolding()</pre> |
| <div class="block">Returns the line-folding policy for the MATCH_RECOGNIZE clause. |
| If not set, the value of <a href="#lineFolding()"><code>lineFolding()</code></a> is used.</div> |
| </li> |
| </ul> |
| <a id="withMatchFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withMatchFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withMatchFolding​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</pre> |
| <div class="block">Sets <a href="#matchFolding()"><code>matchFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="orderByFolding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>orderByFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> orderByFolding()</pre> |
| <div class="block">Returns the line-folding policy for the ORDER BY clause. |
| If not set, the value of <a href="#lineFolding()"><code>lineFolding()</code></a> is used.</div> |
| </li> |
| </ul> |
| <a id="withOrderByFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withOrderByFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withOrderByFolding​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</pre> |
| <div class="block">Sets <a href="#orderByFolding()"><code>orderByFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="overFolding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>overFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> overFolding()</pre> |
| <div class="block">Returns the line-folding policy for the OVER clause or a window |
| declaration. If not set, the value of <a href="#lineFolding()"><code>lineFolding()</code></a> is used.</div> |
| </li> |
| </ul> |
| <a id="withOverFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withOverFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withOverFolding​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</pre> |
| <div class="block">Sets <a href="#overFolding()"><code>overFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="valuesFolding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>valuesFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> valuesFolding()</pre> |
| <div class="block">Returns the line-folding policy for the VALUES expression. |
| If not set, the value of <a href="#lineFolding()"><code>lineFolding()</code></a> is used.</div> |
| </li> |
| </ul> |
| <a id="withValuesFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withValuesFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withValuesFolding​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</pre> |
| <div class="block">Sets <a href="#valuesFolding()"><code>valuesFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="updateSetFolding()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateSetFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> updateSetFolding()</pre> |
| <div class="block">Returns the line-folding policy for the SET clause of an UPDATE statement. |
| If not set, the value of <a href="#lineFolding()"><code>lineFolding()</code></a> is used.</div> |
| </li> |
| </ul> |
| <a id="withUpdateSetFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withUpdateSetFolding</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withUpdateSetFolding​(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</pre> |
| <div class="block">Sets <a href="#updateSetFolding()"><code>updateSetFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="selectListExtraIndentFlag()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>selectListExtraIndentFlag</h4> |
| <pre class="methodSignature">boolean selectListExtraIndentFlag()</pre> |
| <div class="block">Returns whether to use a fix for SELECT list indentations. |
| |
| <ul> |
| <li>If set to "false": |
| |
| <blockquote><pre> |
| SELECT |
| A as A, |
| B as B, |
| C as C, |
| D |
| </pre></blockquote> |
| |
| <li>If set to "true" (the default): |
| |
| <blockquote><pre> |
| SELECT |
| A as A, |
| B as B, |
| C as C, |
| D |
| </pre></blockquote> |
| </ul></div> |
| </li> |
| </ul> |
| <a id="withSelectListExtraIndentFlag(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withSelectListExtraIndentFlag</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withSelectListExtraIndentFlag​(boolean selectListExtraIndentFlag)</pre> |
| <div class="block">Sets <a href="#selectListExtraIndentFlag()"><code>selectListExtraIndentFlag()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="windowDeclListNewline()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>windowDeclListNewline</h4> |
| <pre class="methodSignature">boolean windowDeclListNewline()</pre> |
| <div class="block">Returns whether each declaration in a WINDOW clause should be on its own |
| line. |
| |
| <p>Default is true; |
| this property is superseded by <a href="#windowFolding()"><code>windowFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="withWindowDeclListNewline(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withWindowDeclListNewline</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withWindowDeclListNewline​(boolean windowDeclListNewline)</pre> |
| <div class="block">Sets <a href="#windowDeclListNewline()"><code>windowDeclListNewline()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="valuesListNewline()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>valuesListNewline</h4> |
| <pre class="methodSignature">boolean valuesListNewline()</pre> |
| <div class="block">Returns whether each row in a VALUES clause should be on its own |
| line. |
| |
| <p>Default is true; |
| this property is superseded by <a href="#valuesFolding()"><code>valuesFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="withValuesListNewline(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withValuesListNewline</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withValuesListNewline​(boolean valuesListNewline)</pre> |
| <div class="block">Sets <a href="#valuesListNewline()"><code>valuesListNewline()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="updateSetListNewline()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>updateSetListNewline</h4> |
| <pre class="methodSignature">boolean updateSetListNewline()</pre> |
| <div class="block">Returns whether each assignment in the SET clause of an UPDATE or MERGE |
| statement should be on its own line. |
| |
| <p>Default is true; |
| this property is superseded by <a href="#updateSetFolding()"><code>updateSetFolding()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="withUpdateSetListNewline(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withUpdateSetListNewline</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withUpdateSetListNewline​(boolean updateSetListNewline)</pre> |
| <div class="block">Sets <a href="#updateSetListNewline()"><code>updateSetListNewline()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="windowNewline()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>windowNewline</h4> |
| <pre class="methodSignature">boolean windowNewline()</pre> |
| <div class="block">Returns whether a WINDOW clause should start its own line.</div> |
| </li> |
| </ul> |
| <a id="withWindowNewline(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withWindowNewline</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withWindowNewline​(boolean windowNewline)</pre> |
| <div class="block">Sets <a href="#windowNewline()"><code>windowNewline()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="leadingComma()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>leadingComma</h4> |
| <pre class="methodSignature">boolean leadingComma()</pre> |
| <div class="block">Returns whether commas in SELECT, GROUP BY and ORDER clauses should |
| appear at the start of the line. Default is false.</div> |
| </li> |
| </ul> |
| <a id="withLeadingComma(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withLeadingComma</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withLeadingComma​(boolean leadingComma)</pre> |
| <div class="block">Sets <a href="#leadingComma()"><code>leadingComma()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="subQueryStyle()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>subQueryStyle</h4> |
| <pre class="methodSignature"><a href="SqlWriter.SubQueryStyle.html" title="enum in org.apache.calcite.sql">SqlWriter.SubQueryStyle</a> subQueryStyle()</pre> |
| <div class="block">Returns the sub-query style. |
| Default is <a href="SqlWriter.SubQueryStyle.html#HYDE"><code>SqlWriter.SubQueryStyle.HYDE</code></a>.</div> |
| </li> |
| </ul> |
| <a id="withSubQueryStyle(org.apache.calcite.sql.SqlWriter.SubQueryStyle)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withSubQueryStyle</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withSubQueryStyle​(<a href="SqlWriter.SubQueryStyle.html" title="enum in org.apache.calcite.sql">SqlWriter.SubQueryStyle</a> subQueryStyle)</pre> |
| <div class="block">Sets <a href="#subQueryStyle()"><code>subQueryStyle()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="whereListItemsOnSeparateLines()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>whereListItemsOnSeparateLines</h4> |
| <pre class="methodSignature">boolean whereListItemsOnSeparateLines()</pre> |
| <div class="block">Returns whether to print a newline before each AND or OR (whichever is |
| higher level) in WHERE clauses. |
| |
| <p>NOTE: Ignored when alwaysUseParentheses is set to true.</div> |
| </li> |
| </ul> |
| <a id="withWhereListItemsOnSeparateLines(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withWhereListItemsOnSeparateLines</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withWhereListItemsOnSeparateLines​(boolean whereListItemsOnSeparateLines)</pre> |
| <div class="block">Sets <a href="#whereListItemsOnSeparateLines()"><code>whereListItemsOnSeparateLines()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="alwaysUseParentheses()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>alwaysUseParentheses</h4> |
| <pre class="methodSignature">boolean alwaysUseParentheses()</pre> |
| <div class="block">Returns whether expressions should always be included in parentheses. |
| Default is false.</div> |
| </li> |
| </ul> |
| <a id="withAlwaysUseParentheses(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withAlwaysUseParentheses</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withAlwaysUseParentheses​(boolean alwaysUseParentheses)</pre> |
| <div class="block">Sets <a href="#alwaysUseParentheses()"><code>alwaysUseParentheses()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="lineLength()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>lineLength</h4> |
| <pre class="methodSignature">int lineLength()</pre> |
| <div class="block">Returns the maximum line length. Default is zero, which means there is |
| no maximum.</div> |
| </li> |
| </ul> |
| <a id="withLineLength(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withLineLength</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withLineLength​(int lineLength)</pre> |
| <div class="block">Sets <a href="#lineLength()"><code>lineLength()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="foldLength()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>foldLength</h4> |
| <pre class="methodSignature">int foldLength()</pre> |
| <div class="block">Returns the line length at which items are chopped or folded (for clauses |
| that have chosen <a href="SqlWriterConfig.LineFolding.html#CHOP"><code>SqlWriterConfig.LineFolding.CHOP</code></a> or <a href="SqlWriterConfig.LineFolding.html#FOLD"><code>SqlWriterConfig.LineFolding.FOLD</code></a>). |
| Default is 80.</div> |
| </li> |
| </ul> |
| <a id="withFoldLength(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>withFoldLength</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withFoldLength​(int lineLength)</pre> |
| <div class="block">Sets <a href="#foldLength()"><code>foldLength()</code></a>.</div> |
| </li> |
| </ul> |
| <a id="caseClausesOnNewLines()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>caseClausesOnNewLines</h4> |
| <pre class="methodSignature">boolean caseClausesOnNewLines()</pre> |
| <div class="block">Returns whether the WHEN, THEN and ELSE clauses of a CASE expression |
| appear at the start of a new line. The default is false.</div> |
| </li> |
| </ul> |
| <a id="withCaseClausesOnNewLines(boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>withCaseClausesOnNewLines</h4> |
| <pre class="methodSignature"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a> withCaseClausesOnNewLines​(boolean caseClausesOnNewLines)</pre> |
| <div class="block">Sets <a href="#caseClausesOnNewLines()"><code>caseClausesOnNewLines()</code></a>.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p> |
| </footer> |
| </body> |
| </html> |