| <!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"> |
| <meta name="description" content="declaration: package: org.apache.calcite.sql, interface: SqlWriterConfig"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../script-dir/jquery-3.4.1.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-ui.js"></script> |
| </head> |
| <body class="class-declaration"> |
| <script type="text/javascript">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 = "../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flexBox"> |
| <header role="banner" class="flexHeader"> |
| <nav role="navigation"> |
| <!-- ========= 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"> |
| <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> |
| <div class="navListSearch"><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="skipNav"><a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| </nav> |
| </header> |
| <div class="flexContent"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.calcite.sql</a></div> |
| <h1 title="Interface SqlWriterConfig" class="title">Interface SqlWriterConfig</h1> |
| </div> |
| <div class="contentContainer"> |
| <section class="description"> |
| <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> |
| </section> |
| <section class="summary"> |
| <ul class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <li class="blockList"> |
| <section class="nestedClassSummary"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h2>Nested Class Summary</h2> |
| <div class="memberSummary"> |
| <table> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <thead> |
| <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> |
| </thead> |
| <tbody> |
| <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> |
| </tbody> |
| </table> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li class="blockList"> |
| <section class="methodSummary"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h2>Method Summary</h2> |
| <div class="memberSummary"> |
| <div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t3" class="tableTab" onclick="show(4);">Abstract Methods</button></div> |
| <div id="memberSummary_tabpanel" role="tabpanel"> |
| <table aria-labelledby="t0"> |
| <thead> |
| <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> |
| </thead> |
| <tbody> |
| <tr class="altColor" id="i0"> |
| <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 class="rowColor" id="i1"> |
| <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 class="altColor" id="i2"> |
| <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 class="rowColor" id="i3"> |
| <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 class="altColor" id="i4"> |
| <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 class="rowColor" id="i5"> |
| <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 class="altColor" id="i6"> |
| <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 class="rowColor" id="i7"> |
| <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 class="altColor" id="i8"> |
| <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 class="rowColor" id="i9"> |
| <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 class="altColor" id="i10"> |
| <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 class="rowColor" id="i11"> |
| <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 class="altColor" id="i12"> |
| <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 class="rowColor" id="i13"> |
| <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 class="altColor" id="i14"> |
| <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 class="rowColor" id="i15"> |
| <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 class="altColor" id="i16"> |
| <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 class="rowColor" id="i17"> |
| <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 class="altColor" id="i18"> |
| <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 class="rowColor" id="i19"> |
| <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 class="altColor" id="i20"> |
| <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 class="rowColor" id="i21"> |
| <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 class="altColor" id="i22"> |
| <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 class="rowColor" id="i23"> |
| <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 class="altColor" id="i24"> |
| <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 class="rowColor" id="i25"> |
| <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 class="altColor" id="i26"> |
| <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 class="rowColor" id="i27"> |
| <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 class="altColor" id="i28"> |
| <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 class="rowColor" id="i29"> |
| <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 class="altColor" id="i30"> |
| <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 class="rowColor" id="i31"> |
| <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 class="altColor" id="i32"> |
| <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 class="rowColor" id="i33"> |
| <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 class="altColor" id="i34"> |
| <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 class="rowColor" id="i35"> |
| <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 class="altColor" id="i36"> |
| <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 class="rowColor" id="i37"> |
| <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 class="altColor" id="i38"> |
| <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 class="rowColor" id="i39"> |
| <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 class="altColor" id="i40"> |
| <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 class="rowColor" id="i41"> |
| <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 class="altColor" id="i42"> |
| <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 class="rowColor" id="i43"> |
| <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 class="altColor" id="i44"> |
| <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 class="rowColor" id="i45"> |
| <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 class="altColor" id="i46"> |
| <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 class="rowColor" id="i47"> |
| <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 class="altColor" id="i48"> |
| <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 class="rowColor" id="i49"> |
| <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 class="altColor" id="i50"> |
| <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 class="rowColor" id="i51"> |
| <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 class="altColor" id="i52"> |
| <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 class="rowColor" id="i53"> |
| <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 class="altColor" id="i54"> |
| <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 class="rowColor" id="i55"> |
| <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 class="altColor" id="i56"> |
| <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 class="rowColor" id="i57"> |
| <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 class="altColor" id="i58"> |
| <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 class="rowColor" id="i59"> |
| <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 class="altColor" id="i60"> |
| <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 class="rowColor" id="i61"> |
| <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> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li class="blockList"> |
| <section class="methodDetails"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h2>Method Details</h2> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="dialect()">dialect</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a></span> <span class="memberName">dialect</span>()</div> |
| <div class="block">Returns the dialect.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withDialect(org.apache.calcite.sql.SqlDialect)">withDialect</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withDialect</span>​(<span class="arguments"><a href="SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a> dialect)</span></div> |
| <div class="block">Sets <a href="#dialect()"><code>dialect()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="keywordsLowerCase()">keywordsLowerCase</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">keywordsLowerCase</span>()</div> |
| <div class="block">Returns whether to print keywords (SELECT, AS, etc.) in lower-case. |
| Default is false: keywords are printed in upper-case.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withKeywordsLowerCase(boolean)">withKeywordsLowerCase</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withKeywordsLowerCase</span>​(<span class="arguments">boolean keywordsLowerCase)</span></div> |
| <div class="block">Sets <a href="#keywordsLowerCase()"><code>keywordsLowerCase()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="quoteAllIdentifiers()">quoteAllIdentifiers</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">quoteAllIdentifiers</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withQuoteAllIdentifiers(boolean)">withQuoteAllIdentifiers</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withQuoteAllIdentifiers</span>​(<span class="arguments">boolean quoteAllIdentifiers)</span></div> |
| <div class="block">Sets <a href="#quoteAllIdentifiers()"><code>quoteAllIdentifiers()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="indentation()">indentation</a></h3> |
| <div class="memberSignature"><span class="returnType">int</span> <span class="memberName">indentation</span>()</div> |
| <div class="block">Returns the number of spaces indentation. Default is 4.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withIndentation(int)">withIndentation</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withIndentation</span>​(<span class="arguments">int indentation)</span></div> |
| <div class="block">Sets <a href="#indentation()"><code>indentation()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="clauseStartsLine()">clauseStartsLine</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">clauseStartsLine</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withClauseStartsLine(boolean)">withClauseStartsLine</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withClauseStartsLine</span>​(<span class="arguments">boolean clauseStartsLine)</span></div> |
| <div class="block">Sets <a href="#clauseStartsLine()"><code>clauseStartsLine()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="clauseEndsLine()">clauseEndsLine</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">clauseEndsLine</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withClauseEndsLine(boolean)">withClauseEndsLine</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withClauseEndsLine</span>​(<span class="arguments">boolean clauseEndsLine)</span></div> |
| <div class="block">Sets <a href="#clauseEndsLine()"><code>clauseEndsLine()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="selectListItemsOnSeparateLines()">selectListItemsOnSeparateLines</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">selectListItemsOnSeparateLines</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withSelectListItemsOnSeparateLines(boolean)">withSelectListItemsOnSeparateLines</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withSelectListItemsOnSeparateLines</span>​(<span class="arguments">boolean selectListItemsOnSeparateLines)</span></div> |
| <div class="block">Sets <a href="#selectListItemsOnSeparateLines()"><code>selectListItemsOnSeparateLines()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="lineFolding()">lineFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="memberName">lineFolding</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withLineFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withLineFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withLineFolding</span>​(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</span></div> |
| <div class="block">Sets <a href="#lineFolding()"><code>lineFolding()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="selectFolding()">selectFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="memberName">selectFolding</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withSelectFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withSelectFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withSelectFolding</span>​(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</span></div> |
| <div class="block">Sets <a href="#selectFolding()"><code>selectFolding()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="fromFolding()">fromFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="memberName">fromFolding</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withFromFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withFromFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withFromFolding</span>​(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</span></div> |
| <div class="block">Sets <a href="#fromFolding()"><code>fromFolding()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="whereFolding()">whereFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="memberName">whereFolding</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withWhereFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withWhereFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withWhereFolding</span>​(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</span></div> |
| <div class="block">Sets <a href="#whereFolding()"><code>whereFolding()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="groupByFolding()">groupByFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="memberName">groupByFolding</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withGroupByFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withGroupByFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withGroupByFolding</span>​(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</span></div> |
| <div class="block">Sets <a href="#groupByFolding()"><code>groupByFolding()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="havingFolding()">havingFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="memberName">havingFolding</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withHavingFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withHavingFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withHavingFolding</span>​(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</span></div> |
| <div class="block">Sets <a href="#havingFolding()"><code>havingFolding()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="windowFolding()">windowFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="memberName">windowFolding</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withWindowFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withWindowFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withWindowFolding</span>​(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</span></div> |
| <div class="block">Sets <a href="#windowFolding()"><code>windowFolding()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="matchFolding()">matchFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="memberName">matchFolding</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withMatchFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withMatchFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withMatchFolding</span>​(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</span></div> |
| <div class="block">Sets <a href="#matchFolding()"><code>matchFolding()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="orderByFolding()">orderByFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="memberName">orderByFolding</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withOrderByFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withOrderByFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withOrderByFolding</span>​(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</span></div> |
| <div class="block">Sets <a href="#orderByFolding()"><code>orderByFolding()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="overFolding()">overFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="memberName">overFolding</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withOverFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withOverFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withOverFolding</span>​(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</span></div> |
| <div class="block">Sets <a href="#overFolding()"><code>overFolding()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="valuesFolding()">valuesFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="memberName">valuesFolding</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withValuesFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withValuesFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withValuesFolding</span>​(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</span></div> |
| <div class="block">Sets <a href="#valuesFolding()"><code>valuesFolding()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="updateSetFolding()">updateSetFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="memberName">updateSetFolding</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withUpdateSetFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)">withUpdateSetFolding</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withUpdateSetFolding</span>​(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</span></div> |
| <div class="block">Sets <a href="#updateSetFolding()"><code>updateSetFolding()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="selectListExtraIndentFlag()">selectListExtraIndentFlag</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">selectListExtraIndentFlag</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withSelectListExtraIndentFlag(boolean)">withSelectListExtraIndentFlag</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withSelectListExtraIndentFlag</span>​(<span class="arguments">boolean selectListExtraIndentFlag)</span></div> |
| <div class="block">Sets <a href="#selectListExtraIndentFlag()"><code>selectListExtraIndentFlag()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="windowDeclListNewline()">windowDeclListNewline</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">windowDeclListNewline</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withWindowDeclListNewline(boolean)">withWindowDeclListNewline</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withWindowDeclListNewline</span>​(<span class="arguments">boolean windowDeclListNewline)</span></div> |
| <div class="block">Sets <a href="#windowDeclListNewline()"><code>windowDeclListNewline()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="valuesListNewline()">valuesListNewline</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">valuesListNewline</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withValuesListNewline(boolean)">withValuesListNewline</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withValuesListNewline</span>​(<span class="arguments">boolean valuesListNewline)</span></div> |
| <div class="block">Sets <a href="#valuesListNewline()"><code>valuesListNewline()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="updateSetListNewline()">updateSetListNewline</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">updateSetListNewline</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withUpdateSetListNewline(boolean)">withUpdateSetListNewline</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withUpdateSetListNewline</span>​(<span class="arguments">boolean updateSetListNewline)</span></div> |
| <div class="block">Sets <a href="#updateSetListNewline()"><code>updateSetListNewline()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="windowNewline()">windowNewline</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">windowNewline</span>()</div> |
| <div class="block">Returns whether a WINDOW clause should start its own line.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withWindowNewline(boolean)">withWindowNewline</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withWindowNewline</span>​(<span class="arguments">boolean windowNewline)</span></div> |
| <div class="block">Sets <a href="#windowNewline()"><code>windowNewline()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="leadingComma()">leadingComma</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">leadingComma</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withLeadingComma(boolean)">withLeadingComma</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withLeadingComma</span>​(<span class="arguments">boolean leadingComma)</span></div> |
| <div class="block">Sets <a href="#leadingComma()"><code>leadingComma()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="subQueryStyle()">subQueryStyle</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriter.SubQueryStyle.html" title="enum in org.apache.calcite.sql">SqlWriter.SubQueryStyle</a></span> <span class="memberName">subQueryStyle</span>()</div> |
| <div class="block">Returns the sub-query style. |
| Default is <a href="SqlWriter.SubQueryStyle.html#HYDE"><code>SqlWriter.SubQueryStyle.HYDE</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withSubQueryStyle(org.apache.calcite.sql.SqlWriter.SubQueryStyle)">withSubQueryStyle</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withSubQueryStyle</span>​(<span class="arguments"><a href="SqlWriter.SubQueryStyle.html" title="enum in org.apache.calcite.sql">SqlWriter.SubQueryStyle</a> subQueryStyle)</span></div> |
| <div class="block">Sets <a href="#subQueryStyle()"><code>subQueryStyle()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="whereListItemsOnSeparateLines()">whereListItemsOnSeparateLines</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">whereListItemsOnSeparateLines</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withWhereListItemsOnSeparateLines(boolean)">withWhereListItemsOnSeparateLines</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withWhereListItemsOnSeparateLines</span>​(<span class="arguments">boolean whereListItemsOnSeparateLines)</span></div> |
| <div class="block">Sets <a href="#whereListItemsOnSeparateLines()"><code>whereListItemsOnSeparateLines()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="alwaysUseParentheses()">alwaysUseParentheses</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">alwaysUseParentheses</span>()</div> |
| <div class="block">Returns whether expressions should always be included in parentheses. |
| Default is false.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withAlwaysUseParentheses(boolean)">withAlwaysUseParentheses</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withAlwaysUseParentheses</span>​(<span class="arguments">boolean alwaysUseParentheses)</span></div> |
| <div class="block">Sets <a href="#alwaysUseParentheses()"><code>alwaysUseParentheses()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="lineLength()">lineLength</a></h3> |
| <div class="memberSignature"><span class="returnType">int</span> <span class="memberName">lineLength</span>()</div> |
| <div class="block">Returns the maximum line length. Default is zero, which means there is |
| no maximum.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withLineLength(int)">withLineLength</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withLineLength</span>​(<span class="arguments">int lineLength)</span></div> |
| <div class="block">Sets <a href="#lineLength()"><code>lineLength()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="foldLength()">foldLength</a></h3> |
| <div class="memberSignature"><span class="returnType">int</span> <span class="memberName">foldLength</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withFoldLength(int)">withFoldLength</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withFoldLength</span>​(<span class="arguments">int lineLength)</span></div> |
| <div class="block">Sets <a href="#foldLength()"><code>foldLength()</code></a>.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="caseClausesOnNewLines()">caseClausesOnNewLines</a></h3> |
| <div class="memberSignature"><span class="returnType">boolean</span> <span class="memberName">caseClausesOnNewLines</span>()</div> |
| <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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withCaseClausesOnNewLines(boolean)">withCaseClausesOnNewLines</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="memberName">withCaseClausesOnNewLines</span>​(<span class="arguments">boolean caseClausesOnNewLines)</span></div> |
| <div class="block">Sets <a href="#caseClausesOnNewLines()"><code>caseClausesOnNewLines()</code></a>.</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <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"> |
| <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> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |