| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>SqlWriterConfig (Apache Calcite API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <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.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <div class="about-language"><b>Apache Calcite</b></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">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#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <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="sub-nav-list"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.calcite.sql</a></div> |
| <h1 title="Interface SqlWriterConfig" class="title">Interface SqlWriterConfig</h1> |
| </div> |
| <section class="class-description" id="class-description"> |
| <hr> |
| <div class="type-signature"><span class="annotations">@Immutable |
| </span><span class="modifiers">public interface </span><span class="element-name type-name-label">SqlWriterConfig</span></div> |
| <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="summary-list"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <li> |
| <section class="nested-class-summary" id="nested-class-summary"> |
| <h2>Nested Class Summary</h2> |
| <div class="caption"><span>Nested Classes</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Interface</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>static enum </code></div> |
| <div class="col-second even-row-color"><code><a href="SqlWriterConfig.LineFolding.html" class="type-name-link" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Policy for how to do deal with long lines.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab1" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab1', 3)" class="table-tab">Static Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab3" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab3', 3)" class="table-tab">Abstract Methods</button><button id="method-summary-table-tab5" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab5', 3)" class="table-tab">Default Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#alwaysUseParentheses()" class="member-name-link">alwaysUseParentheses</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether expressions should always be included in parentheses.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#caseClausesOnNewLines()" class="member-name-link">caseClausesOnNewLines</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether the WHEN, THEN and ELSE clauses of a CASE expression |
| appear at the start of a new line.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#clauseEndsLine()" class="member-name-link">clauseEndsLine</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether a clause (FROM, WHERE, GROUP BY, HAVING, WINDOW, |
| ORDER BY) is followed by a new line.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#clauseStartsLine()" class="member-name-link">clauseStartsLine</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether a clause (FROM, WHERE, GROUP BY, HAVING, WINDOW, |
| ORDER BY) starts a new line.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>@Nullable <a href="SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#dialect()" class="member-name-link">dialect</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the dialect.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#foldLength()" class="member-name-link">foldLength</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <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> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#fromFolding()" class="member-name-link">fromFolding</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns the line-folding policy for the FROM clause (and JOIN).</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#groupByFolding()" class="member-name-link">groupByFolding</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the line-folding policy for the GROUP BY clause.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#havingFolding()" class="member-name-link">havingFolding</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the line-folding policy for the HAVING clause.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#indentation()" class="member-name-link">indentation</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns the number of spaces indentation.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#keywordsLowerCase()" class="member-name-link">keywordsLowerCase</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether to print keywords (SELECT, AS, etc.) in lower-case.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#leadingComma()" class="member-name-link">leadingComma</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether commas in SELECT, GROUP BY and ORDER clauses should |
| appear at the start of the line.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#lineFolding()" class="member-name-link">lineFolding</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default int</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#lineLength()" class="member-name-link">lineLength</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns the maximum line length.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#matchFolding()" class="member-name-link">matchFolding</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the line-folding policy for the MATCH_RECOGNIZE clause.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab1"><code>static <a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab1"><code><a href="#of()" class="member-name-link">of</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab1"> |
| <div class="block">Create a default SqlWriterConfig object.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#orderByFolding()" class="member-name-link">orderByFolding</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the line-folding policy for the ORDER BY clause.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#overFolding()" class="member-name-link">overFolding</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the line-folding policy for the OVER clause or a window |
| declaration.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#quoteAllIdentifiers()" class="member-name-link">quoteAllIdentifiers</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <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> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#selectFolding()" class="member-name-link">selectFolding</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the line-folding policy for the SELECT clause.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#selectListExtraIndentFlag()" class="member-name-link">selectListExtraIndentFlag</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether to use a fix for SELECT list indentations.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#selectListItemsOnSeparateLines()" class="member-name-link">selectListItemsOnSeparateLines</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether each item in a SELECT list, GROUP BY list, or ORDER BY |
| list is on its own line.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default <a href="SqlWriter.SubQueryStyle.html" title="enum in org.apache.calcite.sql">SqlWriter.SubQueryStyle</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#subQueryStyle()" class="member-name-link">subQueryStyle</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns the sub-query style.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#updateSetFolding()" class="member-name-link">updateSetFolding</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the line-folding policy for the SET clause of an UPDATE statement.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#updateSetListNewline()" class="member-name-link">updateSetListNewline</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether each assignment in the SET clause of an UPDATE or MERGE |
| statement should be on its own line.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#valuesFolding()" class="member-name-link">valuesFolding</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the line-folding policy for the VALUES expression.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#valuesListNewline()" class="member-name-link">valuesListNewline</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether each row in a VALUES clause should be on its own |
| line.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#whereFolding()" class="member-name-link">whereFolding</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the line-folding policy for the WHERE clause.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#whereListItemsOnSeparateLines()" class="member-name-link">whereListItemsOnSeparateLines</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether to print a newline before each AND or OR (whichever is |
| higher level) in WHERE clauses.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#windowDeclListNewline()" class="member-name-link">windowDeclListNewline</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether each declaration in a WINDOW clause should be on its own |
| line.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code>@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#windowFolding()" class="member-name-link">windowFolding</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Returns the line-folding policy for the WINDOW clause.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code>default boolean</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"><code><a href="#windowNewline()" class="member-name-link">windowNewline</a>()</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab5"> |
| <div class="block">Returns whether a WINDOW clause should start its own line.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withAlwaysUseParentheses(boolean)" class="member-name-link">withAlwaysUseParentheses</a><wbr>(boolean alwaysUseParentheses)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#alwaysUseParentheses()"><code>alwaysUseParentheses()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withCaseClausesOnNewLines(boolean)" class="member-name-link">withCaseClausesOnNewLines</a><wbr>(boolean caseClausesOnNewLines)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#caseClausesOnNewLines()"><code>caseClausesOnNewLines()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withClauseEndsLine(boolean)" class="member-name-link">withClauseEndsLine</a><wbr>(boolean clauseEndsLine)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#clauseEndsLine()"><code>clauseEndsLine()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withClauseStartsLine(boolean)" class="member-name-link">withClauseStartsLine</a><wbr>(boolean clauseStartsLine)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#clauseStartsLine()"><code>clauseStartsLine()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withDialect(org.apache.calcite.sql.SqlDialect)" class="member-name-link">withDialect</a><wbr>(@Nullable <a href="SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a> dialect)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#dialect()"><code>dialect()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withFoldLength(int)" class="member-name-link">withFoldLength</a><wbr>(int lineLength)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#foldLength()"><code>foldLength()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withFromFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)" class="member-name-link">withFromFolding</a><wbr>(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#fromFolding()"><code>fromFolding()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withGroupByFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)" class="member-name-link">withGroupByFolding</a><wbr>(@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#groupByFolding()"><code>groupByFolding()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withHavingFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)" class="member-name-link">withHavingFolding</a><wbr>(@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#havingFolding()"><code>havingFolding()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withIndentation(int)" class="member-name-link">withIndentation</a><wbr>(int indentation)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#indentation()"><code>indentation()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withKeywordsLowerCase(boolean)" class="member-name-link">withKeywordsLowerCase</a><wbr>(boolean keywordsLowerCase)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#keywordsLowerCase()"><code>keywordsLowerCase()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withLeadingComma(boolean)" class="member-name-link">withLeadingComma</a><wbr>(boolean leadingComma)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#leadingComma()"><code>leadingComma()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withLineFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)" class="member-name-link">withLineFolding</a><wbr>(@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#lineFolding()"><code>lineFolding()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withLineLength(int)" class="member-name-link">withLineLength</a><wbr>(int lineLength)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#lineLength()"><code>lineLength()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withMatchFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)" class="member-name-link">withMatchFolding</a><wbr>(@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#matchFolding()"><code>matchFolding()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withOrderByFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)" class="member-name-link">withOrderByFolding</a><wbr>(@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#orderByFolding()"><code>orderByFolding()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withOverFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)" class="member-name-link">withOverFolding</a><wbr>(@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#overFolding()"><code>overFolding()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withQuoteAllIdentifiers(boolean)" class="member-name-link">withQuoteAllIdentifiers</a><wbr>(boolean quoteAllIdentifiers)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#quoteAllIdentifiers()"><code>quoteAllIdentifiers()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withSelectFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)" class="member-name-link">withSelectFolding</a><wbr>(@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#selectFolding()"><code>selectFolding()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withSelectListExtraIndentFlag(boolean)" class="member-name-link">withSelectListExtraIndentFlag</a><wbr>(boolean selectListExtraIndentFlag)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#selectListExtraIndentFlag()"><code>selectListExtraIndentFlag()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withSelectListItemsOnSeparateLines(boolean)" class="member-name-link">withSelectListItemsOnSeparateLines</a><wbr>(boolean selectListItemsOnSeparateLines)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#selectListItemsOnSeparateLines()"><code>selectListItemsOnSeparateLines()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withSubQueryStyle(org.apache.calcite.sql.SqlWriter.SubQueryStyle)" class="member-name-link">withSubQueryStyle</a><wbr>(<a href="SqlWriter.SubQueryStyle.html" title="enum in org.apache.calcite.sql">SqlWriter.SubQueryStyle</a> subQueryStyle)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#subQueryStyle()"><code>subQueryStyle()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withUpdateSetFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)" class="member-name-link">withUpdateSetFolding</a><wbr>(@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#updateSetFolding()"><code>updateSetFolding()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withUpdateSetListNewline(boolean)" class="member-name-link">withUpdateSetListNewline</a><wbr>(boolean updateSetListNewline)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#updateSetListNewline()"><code>updateSetListNewline()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withValuesFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)" class="member-name-link">withValuesFolding</a><wbr>(@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#valuesFolding()"><code>valuesFolding()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withValuesListNewline(boolean)" class="member-name-link">withValuesListNewline</a><wbr>(boolean valuesListNewline)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#valuesListNewline()"><code>valuesListNewline()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withWhereFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)" class="member-name-link">withWhereFolding</a><wbr>(@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#whereFolding()"><code>whereFolding()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withWhereListItemsOnSeparateLines(boolean)" class="member-name-link">withWhereListItemsOnSeparateLines</a><wbr>(boolean whereListItemsOnSeparateLines)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#whereListItemsOnSeparateLines()"><code>whereListItemsOnSeparateLines()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withWindowDeclListNewline(boolean)" class="member-name-link">withWindowDeclListNewline</a><wbr>(boolean windowDeclListNewline)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#windowDeclListNewline()"><code>windowDeclListNewline()</code></a>.</div> |
| </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withWindowFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)" class="member-name-link">withWindowFolding</a><wbr>(@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a> lineFolding)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#windowFolding()"><code>windowFolding()</code></a>.</div> |
| </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"><code><a href="#withWindowNewline(boolean)" class="member-name-link">withWindowNewline</a><wbr>(boolean windowNewline)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab3"> |
| <div class="block">Sets <a href="#windowNewline()"><code>windowNewline()</code></a>.</div> |
| </div> |
| </div> |
| </div> |
| </div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="dialect()"> |
| <h3>dialect</h3> |
| <div class="member-signature"><span class="return-type">@Nullable <a href="SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a></span> <span class="element-name">dialect</span>()</div> |
| <div class="block">Returns the dialect.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="withDialect(org.apache.calcite.sql.SqlDialect)"> |
| <h3>withDialect</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withDialect</span><wbr><span class="parameters">(@Nullable <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> |
| <section class="detail" id="keywordsLowerCase()"> |
| <h3>keywordsLowerCase</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">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> |
| <section class="detail" id="withKeywordsLowerCase(boolean)"> |
| <h3>withKeywordsLowerCase</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withKeywordsLowerCase</span><wbr><span class="parameters">(boolean keywordsLowerCase)</span></div> |
| <div class="block">Sets <a href="#keywordsLowerCase()"><code>keywordsLowerCase()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="quoteAllIdentifiers()"> |
| <h3>quoteAllIdentifiers</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">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> |
| <section class="detail" id="withQuoteAllIdentifiers(boolean)"> |
| <h3>withQuoteAllIdentifiers</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withQuoteAllIdentifiers</span><wbr><span class="parameters">(boolean quoteAllIdentifiers)</span></div> |
| <div class="block">Sets <a href="#quoteAllIdentifiers()"><code>quoteAllIdentifiers()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="indentation()"> |
| <h3>indentation</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">int</span> <span class="element-name">indentation</span>()</div> |
| <div class="block">Returns the number of spaces indentation. Default is 4.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="withIndentation(int)"> |
| <h3>withIndentation</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withIndentation</span><wbr><span class="parameters">(int indentation)</span></div> |
| <div class="block">Sets <a href="#indentation()"><code>indentation()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="clauseStartsLine()"> |
| <h3>clauseStartsLine</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">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> |
| <section class="detail" id="withClauseStartsLine(boolean)"> |
| <h3>withClauseStartsLine</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withClauseStartsLine</span><wbr><span class="parameters">(boolean clauseStartsLine)</span></div> |
| <div class="block">Sets <a href="#clauseStartsLine()"><code>clauseStartsLine()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="clauseEndsLine()"> |
| <h3>clauseEndsLine</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">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> |
| <section class="detail" id="withClauseEndsLine(boolean)"> |
| <h3>withClauseEndsLine</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withClauseEndsLine</span><wbr><span class="parameters">(boolean clauseEndsLine)</span></div> |
| <div class="block">Sets <a href="#clauseEndsLine()"><code>clauseEndsLine()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="selectListItemsOnSeparateLines()"> |
| <h3>selectListItemsOnSeparateLines</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">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> |
| <section class="detail" id="withSelectListItemsOnSeparateLines(boolean)"> |
| <h3>withSelectListItemsOnSeparateLines</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withSelectListItemsOnSeparateLines</span><wbr><span class="parameters">(boolean selectListItemsOnSeparateLines)</span></div> |
| <div class="block">Sets <a href="#selectListItemsOnSeparateLines()"><code>selectListItemsOnSeparateLines()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="lineFolding()"> |
| <h3>lineFolding</h3> |
| <div class="member-signature"><span class="return-type">@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="element-name">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 class="notes"> |
| <dt>See Also:</dt> |
| <dd> |
| <ul class="see-list-long"> |
| <li><a href="#foldLength()"><code><p>If not set, the values of |
| #selectListItemsOnSeparateLines(), |
| #valuesListNewline(), |
| #updateSetListNewline(), |
| #windowDeclListNewline() are used.</code></a></li> |
| </ul> |
| </dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="withLineFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <h3>withLineFolding</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withLineFolding</span><wbr><span class="parameters">(@Nullable <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> |
| <section class="detail" id="selectFolding()"> |
| <h3>selectFolding</h3> |
| <div class="member-signature"><span class="return-type">@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="element-name">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> |
| <section class="detail" id="withSelectFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <h3>withSelectFolding</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withSelectFolding</span><wbr><span class="parameters">(@Nullable <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> |
| <section class="detail" id="fromFolding()"> |
| <h3>fromFolding</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="element-name">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> |
| <section class="detail" id="withFromFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <h3>withFromFolding</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withFromFolding</span><wbr><span class="parameters">(<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> |
| <section class="detail" id="whereFolding()"> |
| <h3>whereFolding</h3> |
| <div class="member-signature"><span class="return-type">@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="element-name">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> |
| <section class="detail" id="withWhereFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <h3>withWhereFolding</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withWhereFolding</span><wbr><span class="parameters">(@Nullable <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> |
| <section class="detail" id="groupByFolding()"> |
| <h3>groupByFolding</h3> |
| <div class="member-signature"><span class="return-type">@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="element-name">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> |
| <section class="detail" id="withGroupByFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <h3>withGroupByFolding</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withGroupByFolding</span><wbr><span class="parameters">(@Nullable <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> |
| <section class="detail" id="havingFolding()"> |
| <h3>havingFolding</h3> |
| <div class="member-signature"><span class="return-type">@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="element-name">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> |
| <section class="detail" id="withHavingFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <h3>withHavingFolding</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withHavingFolding</span><wbr><span class="parameters">(@Nullable <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> |
| <section class="detail" id="windowFolding()"> |
| <h3>windowFolding</h3> |
| <div class="member-signature"><span class="return-type">@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="element-name">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> |
| <section class="detail" id="withWindowFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <h3>withWindowFolding</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withWindowFolding</span><wbr><span class="parameters">(@Nullable <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> |
| <section class="detail" id="matchFolding()"> |
| <h3>matchFolding</h3> |
| <div class="member-signature"><span class="return-type">@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="element-name">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> |
| <section class="detail" id="withMatchFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <h3>withMatchFolding</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withMatchFolding</span><wbr><span class="parameters">(@Nullable <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> |
| <section class="detail" id="orderByFolding()"> |
| <h3>orderByFolding</h3> |
| <div class="member-signature"><span class="return-type">@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="element-name">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> |
| <section class="detail" id="withOrderByFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <h3>withOrderByFolding</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withOrderByFolding</span><wbr><span class="parameters">(@Nullable <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> |
| <section class="detail" id="overFolding()"> |
| <h3>overFolding</h3> |
| <div class="member-signature"><span class="return-type">@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="element-name">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> |
| <section class="detail" id="withOverFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <h3>withOverFolding</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withOverFolding</span><wbr><span class="parameters">(@Nullable <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> |
| <section class="detail" id="valuesFolding()"> |
| <h3>valuesFolding</h3> |
| <div class="member-signature"><span class="return-type">@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="element-name">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> |
| <section class="detail" id="withValuesFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <h3>withValuesFolding</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withValuesFolding</span><wbr><span class="parameters">(@Nullable <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> |
| <section class="detail" id="updateSetFolding()"> |
| <h3>updateSetFolding</h3> |
| <div class="member-signature"><span class="return-type">@Nullable <a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a></span> <span class="element-name">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> |
| <section class="detail" id="withUpdateSetFolding(org.apache.calcite.sql.SqlWriterConfig.LineFolding)"> |
| <h3>withUpdateSetFolding</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withUpdateSetFolding</span><wbr><span class="parameters">(@Nullable <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> |
| <section class="detail" id="selectListExtraIndentFlag()"> |
| <h3>selectListExtraIndentFlag</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">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> |
| <section class="detail" id="withSelectListExtraIndentFlag(boolean)"> |
| <h3>withSelectListExtraIndentFlag</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withSelectListExtraIndentFlag</span><wbr><span class="parameters">(boolean selectListExtraIndentFlag)</span></div> |
| <div class="block">Sets <a href="#selectListExtraIndentFlag()"><code>selectListExtraIndentFlag()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="windowDeclListNewline()"> |
| <h3>windowDeclListNewline</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">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> |
| <section class="detail" id="withWindowDeclListNewline(boolean)"> |
| <h3>withWindowDeclListNewline</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withWindowDeclListNewline</span><wbr><span class="parameters">(boolean windowDeclListNewline)</span></div> |
| <div class="block">Sets <a href="#windowDeclListNewline()"><code>windowDeclListNewline()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="valuesListNewline()"> |
| <h3>valuesListNewline</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">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> |
| <section class="detail" id="withValuesListNewline(boolean)"> |
| <h3>withValuesListNewline</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withValuesListNewline</span><wbr><span class="parameters">(boolean valuesListNewline)</span></div> |
| <div class="block">Sets <a href="#valuesListNewline()"><code>valuesListNewline()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="updateSetListNewline()"> |
| <h3>updateSetListNewline</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">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> |
| <section class="detail" id="withUpdateSetListNewline(boolean)"> |
| <h3>withUpdateSetListNewline</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withUpdateSetListNewline</span><wbr><span class="parameters">(boolean updateSetListNewline)</span></div> |
| <div class="block">Sets <a href="#updateSetListNewline()"><code>updateSetListNewline()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="windowNewline()"> |
| <h3>windowNewline</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">windowNewline</span>()</div> |
| <div class="block">Returns whether a WINDOW clause should start its own line.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="withWindowNewline(boolean)"> |
| <h3>withWindowNewline</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withWindowNewline</span><wbr><span class="parameters">(boolean windowNewline)</span></div> |
| <div class="block">Sets <a href="#windowNewline()"><code>windowNewline()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="leadingComma()"> |
| <h3>leadingComma</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">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> |
| <section class="detail" id="withLeadingComma(boolean)"> |
| <h3>withLeadingComma</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withLeadingComma</span><wbr><span class="parameters">(boolean leadingComma)</span></div> |
| <div class="block">Sets <a href="#leadingComma()"><code>leadingComma()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="subQueryStyle()"> |
| <h3>subQueryStyle</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type"><a href="SqlWriter.SubQueryStyle.html" title="enum in org.apache.calcite.sql">SqlWriter.SubQueryStyle</a></span> <span class="element-name">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> |
| <section class="detail" id="withSubQueryStyle(org.apache.calcite.sql.SqlWriter.SubQueryStyle)"> |
| <h3>withSubQueryStyle</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withSubQueryStyle</span><wbr><span class="parameters">(<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> |
| <section class="detail" id="whereListItemsOnSeparateLines()"> |
| <h3>whereListItemsOnSeparateLines</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">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> |
| <section class="detail" id="withWhereListItemsOnSeparateLines(boolean)"> |
| <h3>withWhereListItemsOnSeparateLines</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withWhereListItemsOnSeparateLines</span><wbr><span class="parameters">(boolean whereListItemsOnSeparateLines)</span></div> |
| <div class="block">Sets <a href="#whereListItemsOnSeparateLines()"><code>whereListItemsOnSeparateLines()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="alwaysUseParentheses()"> |
| <h3>alwaysUseParentheses</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">alwaysUseParentheses</span>()</div> |
| <div class="block">Returns whether expressions should always be included in parentheses. |
| Default is false.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="withAlwaysUseParentheses(boolean)"> |
| <h3>withAlwaysUseParentheses</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withAlwaysUseParentheses</span><wbr><span class="parameters">(boolean alwaysUseParentheses)</span></div> |
| <div class="block">Sets <a href="#alwaysUseParentheses()"><code>alwaysUseParentheses()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="lineLength()"> |
| <h3>lineLength</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">int</span> <span class="element-name">lineLength</span>()</div> |
| <div class="block">Returns the maximum line length. Default is zero, which means there is |
| no maximum.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="withLineLength(int)"> |
| <h3>withLineLength</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withLineLength</span><wbr><span class="parameters">(int lineLength)</span></div> |
| <div class="block">Sets <a href="#lineLength()"><code>lineLength()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="foldLength()"> |
| <h3>foldLength</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">int</span> <span class="element-name">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> |
| <section class="detail" id="withFoldLength(int)"> |
| <h3>withFoldLength</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withFoldLength</span><wbr><span class="parameters">(int lineLength)</span></div> |
| <div class="block">Sets <a href="#foldLength()"><code>foldLength()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="caseClausesOnNewLines()"> |
| <h3>caseClausesOnNewLines</h3> |
| <div class="member-signature"><span class="annotations">@Default |
| </span><span class="modifiers">default</span> <span class="return-type">boolean</span> <span class="element-name">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> |
| <section class="detail" id="withCaseClausesOnNewLines(boolean)"> |
| <h3>withCaseClausesOnNewLines</h3> |
| <div class="member-signature"><span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">withCaseClausesOnNewLines</span><wbr><span class="parameters">(boolean caseClausesOnNewLines)</span></div> |
| <div class="block">Sets <a href="#caseClausesOnNewLines()"><code>caseClausesOnNewLines()</code></a>.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="of()"> |
| <h3>of</h3> |
| <div class="member-signature"><span class="modifiers">static</span> <span class="return-type"><a href="SqlWriterConfig.html" title="interface in org.apache.calcite.sql">SqlWriterConfig</a></span> <span class="element-name">of</span>()</div> |
| <div class="block">Create a default SqlWriterConfig object.</div> |
| <dl class="notes"> |
| <dt>Returns:</dt> |
| <dd>The config.</dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 2012-2023 Apache Software Foundation. All Rights Reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |