blob: 39adc323772ff2dd4071705f696bc4b16c56c51f [file] [log] [blame]
<!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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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>&nbsp;<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">&nbsp;</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&nbsp;</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>&#8203;(boolean&nbsp;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>&#8203;(boolean&nbsp;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>&#8203;(boolean&nbsp;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>&#8203;(boolean&nbsp;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>&#8203;(<a href="SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a>&nbsp;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>&#8203;(int&nbsp;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>&#8203;(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&#8203;(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&#8203;(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&#8203;(int&nbsp;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>&#8203;(boolean&nbsp;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>&#8203;(boolean&nbsp;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>&#8203;(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&#8203;(int&nbsp;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>&#8203;(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&#8203;(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&#8203;(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&#8203;(boolean&nbsp;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>&#8203;(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&#8203;(boolean&nbsp;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>&#8203;(boolean&nbsp;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>&#8203;(<a href="SqlWriter.SubQueryStyle.html" title="enum in org.apache.calcite.sql">SqlWriter.SubQueryStyle</a>&nbsp;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>&#8203;(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&#8203;(boolean&nbsp;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>&#8203;(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&#8203;(boolean&nbsp;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>&#8203;(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&#8203;(boolean&nbsp;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>&#8203;(boolean&nbsp;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>&#8203;(<a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&#8203;(boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withDialect</span>&#8203;(<span class="arguments"><a href="SqlDialect.html" title="class in org.apache.calcite.sql">SqlDialect</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withKeywordsLowerCase</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withQuoteAllIdentifiers</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withIndentation</span>&#8203;(<span class="arguments">int&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withClauseStartsLine</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withClauseEndsLine</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withSelectListItemsOnSeparateLines</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withLineFolding</span>&#8203;(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withSelectFolding</span>&#8203;(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withFromFolding</span>&#8203;(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withWhereFolding</span>&#8203;(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withGroupByFolding</span>&#8203;(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withHavingFolding</span>&#8203;(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withWindowFolding</span>&#8203;(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withMatchFolding</span>&#8203;(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withOrderByFolding</span>&#8203;(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withOverFolding</span>&#8203;(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withValuesFolding</span>&#8203;(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withUpdateSetFolding</span>&#8203;(<span class="arguments"><a href="SqlWriterConfig.LineFolding.html" title="enum in org.apache.calcite.sql">SqlWriterConfig.LineFolding</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withSelectListExtraIndentFlag</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withWindowDeclListNewline</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withValuesListNewline</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withUpdateSetListNewline</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withWindowNewline</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withLeadingComma</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withSubQueryStyle</span>&#8203;(<span class="arguments"><a href="SqlWriter.SubQueryStyle.html" title="enum in org.apache.calcite.sql">SqlWriter.SubQueryStyle</a>&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withWhereListItemsOnSeparateLines</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withAlwaysUseParentheses</span>&#8203;(<span class="arguments">boolean&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withLineLength</span>&#8203;(<span class="arguments">int&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withFoldLength</span>&#8203;(<span class="arguments">int&nbsp;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>&nbsp;<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>&nbsp;<span class="memberName">withCaseClausesOnNewLines</span>&#8203;(<span class="arguments">boolean&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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 &copy; 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>