blob: beea90975fa0aff62accc354c384510647e59211 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SqlPrettyWriter (Apache Calcite calcite API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SqlPrettyWriter (Apache Calcite calcite API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":42,"i10":42,"i11":10,"i12":10,"i13":42,"i14":42,"i15":42,"i16":42,"i17":42,"i18":42,"i19":42,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":42,"i33":42,"i34":42,"i35":10,"i36":42,"i37":42,"i38":42,"i39":10,"i40":42,"i41":42,"i42":42,"i43":10,"i44":42,"i45":42,"i46":42,"i47":42,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10};
var tabs = {65535:["t0","所有方法"],1:["t1","静态方法"],2:["t2","实例方法"],8:["t4","具体方法"],32:["t6","已过时的方法"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>您的浏览器已禁用 JavaScript。</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../../index-all.html">索引</a></li>
<li><a href="../../../../../help-doc.html">帮助</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/calcite/sql/pretty/SqlFormatOptions.html" title="org.apache.calcite.sql.pretty中的类"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.FrameImpl.html" title="org.apache.calcite.sql.pretty中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/calcite/sql/pretty/SqlPrettyWriter.html" target="_top">框架</a></li>
<li><a href="SqlPrettyWriter.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>概要:&nbsp;</li>
<li><a href="#nested.class.summary">嵌套</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">字段</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">构造器</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li><a href="#field.detail">字段</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">构造器</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.calcite.sql.pretty</div>
<h2 title="类 SqlPrettyWriter" class="title">类 SqlPrettyWriter</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.sql.pretty.SqlPrettyWriter</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>所有已实现的接口:</dt>
<dd><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">SqlPrettyWriter</span>
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a>
implements <a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></pre>
<div class="block">Pretty printer for SQL statements.
<p>There are several options to control the format.
<table>
<caption>Formatting options</caption>
<tr>
<th>Option</th>
<th>Description</th>
<th>Default</th>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#clauseStartsLine--"><code>SqlWriterConfig.clauseStartsLine()</code></a> ClauseStartsLine}</td>
<td>Whether a clause (<code>FROM</code>, <code>WHERE</code>, <code>GROUP BY</code>,
<code>HAVING</code>, <code>WINDOW</code>, <code>ORDER BY</code>) starts a new line.
<code>SELECT</code> is always at the start of a line.</td>
<td>true</td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#clauseEndsLine--"><code>ClauseEndsLine</code></a></td>
<td>Whether a clause (<code>SELECT</code>, <code>FROM</code>, <code>WHERE</code>,
<code>GROUP BY</code>, <code>HAVING</code>, <code>WINDOW</code>, <code>ORDER BY</code>) is
followed by a new line.</td>
<td>false</td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#caseClausesOnNewLines--"><code>CaseClausesOnNewLines</code></a></td>
<td>Whether the WHEN, THEN and ELSE clauses of a CASE expression appear at
the start of a new line.</td>
<td>false</td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#indentation--"><code>Indentation</code></a></td>
<td>Number of spaces to indent</td>
<td>4</td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#keywordsLowerCase--"><code>KeywordsLowerCase</code></a></td>
<td>Whether to print keywords (SELECT, AS, etc.) in lower-case.</td>
<td>false</td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#alwaysUseParentheses--"><code>AlwaysUseParentheses</code></a></td>
<td><p>Whether to enclose all expressions in parentheses, even if the
operator has high enough precedence that the parentheses are not required.
<p>For example, the parentheses are required in the expression
<code>(a + b) * c</code> because the '*' operator has higher precedence than the
'+' operator, and so without the parentheses, the expression would be
equivalent to <code>a + (b * c)</code>. The fully-parenthesized expression,
<code>((a + b) * c)</code> is unambiguous even if you don't know the precedence
of every operator.</td>
<td>false</td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#quoteAllIdentifiers--"><code>QuoteAllIdentifiers</code></a></td>
<td>Whether to quote all identifiers, even those which would be correct
according to the rules of the <a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类"><code>SqlDialect</code></a> if quotation marks were
omitted.</td>
<td>true</td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#subQueryStyle--"><code>SubQueryStyle</code></a></td>
<td>Style for formatting sub-queries. Values are:
<a href="../../../../../org/apache/calcite/sql/SqlWriter.SubQueryStyle.html#HYDE"><code>Hyde</code></a>,
<a href="../../../../../org/apache/calcite/sql/SqlWriter.SubQueryStyle.html#BLACK"><code>Black</code></a>.</td>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriter.SubQueryStyle.html#HYDE"><code>Hyde</code></a></td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#lineLength--"><code>LineLength</code></a></td>
<td>The desired maximum length for lines (to look nice in editors,
printouts, etc.).</td>
<td>-1 (no maximum)</td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#foldLength--"><code>FoldLength</code></a></td>
<td>The line length at which lines are folded or chopped down
(see <code>LineFolding</code>). Only has an effect if clauses are marked
<code>CHOP</code> or
<code>FOLD</code>.</td>
<td>80</td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#lineFolding--"><code>LineFolding</code></a></td>
<td>How long lines are to be handled. Options are lines are
WIDE (do not wrap),
FOLD (wrap if long),
CHOP (chop down if long),
and TALL (wrap always).</td>
<td>WIDE</td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#selectFolding--"><code>SelectFolding</code></a></td>
<td>How the <code>SELECT</code> clause is to be folded.</td>
<td><code>LineFolding</code></td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#fromFolding--"><code>FromFolding</code></a></td>
<td>How the <code>FROM</code> clause and nested <code>JOIN</code> clauses are to be
folded.</td>
<td><code>LineFolding</code></td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#whereFolding--"><code>WhereFolding</code></a></td>
<td>How the <code>WHERE</code> clause is to be folded.</td>
<td><code>LineFolding</code></td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#groupByFolding--"><code>GroupByFolding</code></a></td>
<td>How the <code>GROUP BY</code> clause is to be folded.</td>
<td><code>LineFolding</code></td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#havingFolding--"><code>HavingFolding</code></a></td>
<td>How the <code>HAVING</code> clause is to be folded.</td>
<td><code>LineFolding</code></td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#orderByFolding--"><code>OrderByFolding</code></a></td>
<td>How the <code>ORDER BY</code> clause is to be folded.</td>
<td><code>LineFolding</code></td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#windowFolding--"><code>WindowFolding</code></a></td>
<td>How the <code>WINDOW</code> clause is to be folded.</td>
<td><code>LineFolding</code></td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#overFolding--"><code>OverFolding</code></a></td>
<td>How window declarations in the <code>WINDOW</code> clause
and in the <code>OVER</code> clause of aggregate functions are to be folded.</td>
<td><code>LineFolding</code></td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#valuesFolding--"><code>ValuesFolding</code></a></td>
<td>How lists of values in the <code>VALUES</code> clause are to be folded.</td>
<td><code>LineFolding</code></td>
</tr>
<tr>
<td><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#updateSetFolding--"><code>UpdateSetFolding</code></a></td>
<td>How assignments in the <code>SET</code> clause of an <code>UPDATE</code> statement
are to be folded.</td>
<td><code>LineFolding</code></td>
</tr>
</table>
<p>The following options exist for backwards compatibility. They are
used if <a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#lineFolding--"><code>LineFolding</code></a> and clause-specific
options such as <a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#selectFolding--"><code>SelectFolding</code></a> are not
specified:
<ul>
<li><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#selectListItemsOnSeparateLines--"><code>SelectListItemsOnSeparateLines</code></a>
replaced by <a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#selectFolding--"><code>SelectFolding</code></a>,
<a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#groupByFolding--"><code>GroupByFolding</code></a>, and
<a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#orderByFolding--"><code>OrderByFolding</code></a>;
<li><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#updateSetListNewline--"><code>UpdateSetListNewline</code></a>
replaced by <a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#updateSetFolding--"><code>UpdateSetFolding</code></a>;
<li><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#windowDeclListNewline--"><code>WindowDeclListNewline</code></a>
replaced by <a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#windowFolding--"><code>WindowFolding</code></a>;
<li><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#windowNewline--"><code>WindowNewline</code></a>
replaced by <a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#overFolding--"><code>OverFolding</code></a>;
<li><a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#valuesListNewline--"><code>ValuesListNewline</code></a>
replaced by <a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html#valuesFolding--"><code>ValuesFolding</code></a>.
</ul></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>嵌套类概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="嵌套类概要表, 列表嵌套类和解释">
<caption><span>嵌套类</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">类和说明</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.FrameImpl.html" title="org.apache.calcite.sql.pretty中的类">SqlPrettyWriter.FrameImpl</a></span></code>
<div class="block">Implementation of <a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口"><code>SqlWriter.Frame</code></a>.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.calcite.sql.SqlWriter">
<!-- -->
</a>
<h3>从接口继承的嵌套类/接口&nbsp;org.apache.calcite.sql.<a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></h3>
<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a>, <a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameType.html" title="org.apache.calcite.sql中的接口">SqlWriter.FrameType</a>, <a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameTypeEnum.html" title="org.apache.calcite.sql中的枚举">SqlWriter.FrameTypeEnum</a>, <a href="../../../../../org/apache/calcite/sql/SqlWriter.SubQueryStyle.html" title="org.apache.calcite.sql中的枚举">SqlWriter.SubQueryStyle</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>字段概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="字段概要表, 列表字段和解释">
<caption><span>字段</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">字段和说明</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.FrameImpl.html" title="org.apache.calcite.sql.pretty中的类">SqlPrettyWriter.FrameImpl</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#frame">frame</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="../../../../../org/apache/calcite/util/trace/CalciteLogger.html" title="org.apache.calcite.util.trace中的类">CalciteLogger</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#LOGGER">LOGGER</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#nextWhitespace">nextWhitespace</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#NL">NL</a></span></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.calcite.sql.SqlWriter">
<!-- -->
</a>
<h3>从接口继承的字段&nbsp;org.apache.calcite.sql.<a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></h3>
<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#COMMA">COMMA</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>构造器概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="构造器概要表, 列表构造器和解释">
<caption><span>构造器</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">构造器和说明</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#SqlPrettyWriter--">SqlPrettyWriter</a></span>()</code>
<div class="block">Creates a writer with the default configuration.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#SqlPrettyWriter-org.apache.calcite.sql.SqlDialect-">SqlPrettyWriter</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类">SqlDialect</a>&nbsp;dialect)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#SqlPrettyWriter-org.apache.calcite.sql.SqlDialect-boolean-">SqlPrettyWriter</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类">SqlDialect</a>&nbsp;dialect,
boolean&nbsp;alwaysUseParentheses)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#SqlPrettyWriter-org.apache.calcite.sql.SqlDialect-boolean-java.io.PrintWriter-">SqlPrettyWriter</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类">SqlDialect</a>&nbsp;dialect,
boolean&nbsp;alwaysUseParentheses,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a>&nbsp;pw)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#SqlPrettyWriter-org.apache.calcite.sql.SqlDialect-org.apache.calcite.sql.SqlWriterConfig-">SqlPrettyWriter</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类">SqlDialect</a>&nbsp;dialect,
<a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html" title="org.apache.calcite.sql中的接口">SqlWriterConfig</a>&nbsp;config)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#SqlPrettyWriter-org.apache.calcite.sql.SqlDialect-org.apache.calcite.sql.SqlWriterConfig-java.lang.StringBuilder-">SqlPrettyWriter</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类">SqlDialect</a>&nbsp;dialect,
<a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html" title="org.apache.calcite.sql中的接口">SqlWriterConfig</a>&nbsp;config,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="java.lang中的类或接口">StringBuilder</a>&nbsp;buf)</code>
<div class="block">Creates a writer with the given configuration and dialect,
and a given print writer (or a private print writer if it is null).</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#SqlPrettyWriter-org.apache.calcite.sql.SqlWriterConfig-">SqlPrettyWriter</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html" title="org.apache.calcite.sql中的接口">SqlWriterConfig</a>&nbsp;config)</code>
<div class="block">Creates a writer with the given configuration,
and a private builder.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#SqlPrettyWriter-org.apache.calcite.sql.SqlWriterConfig-java.lang.StringBuilder-">SqlPrettyWriter</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html" title="org.apache.calcite.sql中的接口">SqlWriterConfig</a>&nbsp;config,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="java.lang中的类或接口">StringBuilder</a>&nbsp;buf)</code>
<div class="block">Creates a writer with the given configuration
and a given buffer to write to.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>方法概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
<caption><span id="t0" class="activeTableTab"><span>所有方法</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">已过时的方法</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">方法和说明</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html" title="org.apache.calcite.sql中的接口">SqlWriterConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#config--">config</a></span>()</code>
<div class="block">Creates a <a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html" title="org.apache.calcite.sql中的接口"><code>SqlWriterConfig</code></a> with Calcite's SQL dialect.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.FrameImpl.html" title="org.apache.calcite.sql.pretty中的类">SqlPrettyWriter.FrameImpl</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#createListFrame-org.apache.calcite.sql.SqlWriter.FrameType-java.lang.String-java.lang.String-java.lang.String-">createListFrame</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameType.html" title="org.apache.calcite.sql中的接口">SqlWriter.FrameType</a>&nbsp;frameType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;keyword,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;open,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;close)</code>
<div class="block">Creates a list frame.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#describe-java.io.PrintWriter-boolean-">describe</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a>&nbsp;pw,
boolean&nbsp;omitDefaults)</code>
<div class="block">Prints the property settings of this pretty-writer to a writer.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#dynamicParam-int-">dynamicParam</a></span>(int&nbsp;index)</code>
<div class="block">Prints a dynamic parameter (e.g.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#endFunCall-org.apache.calcite.sql.SqlWriter.Frame-">endFunCall</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a>&nbsp;frame)</code>
<div class="block">Ends a list which is a call to a function.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#endList-org.apache.calcite.sql.SqlWriter.Frame-">endList</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a>&nbsp;frame)</code>
<div class="block">Ends a list.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#fetchOffset-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.SqlNode-">fetchOffset</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;fetch,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;offset)</code>
<div class="block">Prints the OFFSET/FETCH clause.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#format-org.apache.calcite.sql.SqlNode-">format</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;node)</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类">SqlDialect</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#getDialect--">getDialect</a></span>()</code>
<div class="block">Returns the dialect of SQL.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#getIndentation--">getIndentation</a></span>()</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#getLineLength--">getLineLength</a></span>()</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#identifier-java.lang.String-boolean-">identifier</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;name,
boolean&nbsp;quoted)</code>
<div class="block">Prints an identifier, quoting as necessary.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#inQuery--">inQuery</a></span>()</code>
<div class="block">Returns whether we are currently in a query context (SELECT, INSERT,
UNION, INTERSECT, EXCEPT, and the ORDER BY operator).</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#isAlwaysUseParentheses--">isAlwaysUseParentheses</a></span>()</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#isClauseStartsLine--">isClauseStartsLine</a></span>()</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#isKeywordsLowerCase--">isKeywordsLowerCase</a></span>()</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#isQuoteAllIdentifiers--">isQuoteAllIdentifiers</a></span>()</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#isSelectListExtraIndentFlag--">isSelectListExtraIndentFlag</a></span>()</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#isSelectListItemsOnSeparateLines--">isSelectListItemsOnSeparateLines</a></span>()</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#isWhereListItemsOnSeparateLines--">isWhereListItemsOnSeparateLines</a></span>()</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#keyword-java.lang.String-">keyword</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</code>
<div class="block">Prints a sequence of keywords.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#list-org.apache.calcite.sql.SqlWriter.FrameTypeEnum-java.util.function.Consumer-">list</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameTypeEnum.html" title="org.apache.calcite.sql中的枚举">SqlWriter.FrameTypeEnum</a>&nbsp;frameType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="java.util.function中的类或接口">Consumer</a>&lt;<a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a>&gt;&nbsp;action)</code>
<div class="block">Writes a list.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#list-org.apache.calcite.sql.SqlWriter.FrameTypeEnum-org.apache.calcite.sql.SqlBinaryOperator-org.apache.calcite.sql.SqlNodeList-">list</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameTypeEnum.html" title="org.apache.calcite.sql中的枚举">SqlWriter.FrameTypeEnum</a>&nbsp;frameType,
<a href="../../../../../org/apache/calcite/sql/SqlBinaryOperator.html" title="org.apache.calcite.sql中的类">SqlBinaryOperator</a>&nbsp;sepOp,
<a href="../../../../../org/apache/calcite/sql/SqlNodeList.html" title="org.apache.calcite.sql中的类">SqlNodeList</a>&nbsp;list)</code>
<div class="block">Writes a list separated by a binary operator
(<a href="../../../../../org/apache/calcite/sql/fun/SqlStdOperatorTable.html#AND"><code>AND</code></a>,
<a href="../../../../../org/apache/calcite/sql/fun/SqlStdOperatorTable.html#OR"><code>OR</code></a>, or
<a href="../../../../../org/apache/calcite/sql/SqlWriter.html#COMMA"><code>COMMA</code></a>).</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#literal-java.lang.String-">literal</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</code>
<div class="block">Prints a literal, exactly as provided.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#newlineAndIndent--">newlineAndIndent</a></span>()</code>
<div class="block">Prints a new line, and indents.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#newlineAndIndent-int-">newlineAndIndent</a></span>(int&nbsp;indent)</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#print-int-">print</a></span>(int&nbsp;x)</code>
<div class="block">Prints an integer.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#print-java.lang.String-">print</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</code>
<div class="block">Prints a string, preceded by whitespace if necessary.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#reset--">reset</a></span>()</code>
<div class="block">Resets this writer so that it can format another expression.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#resetSettings--">resetSettings</a></span>()</code>
<div class="block">Resets all properties to their default values.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#sep-java.lang.String-">sep</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;sep)</code>
<div class="block">Writes a list separator, unless the separator is "," and this is the
first occurrence in the list.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#sep-java.lang.String-boolean-">sep</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;sep,
boolean&nbsp;printFirst)</code>
<div class="block">Writes a list separator.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setAlwaysUseParentheses-boolean-">setAlwaysUseParentheses</a></span>(boolean&nbsp;alwaysUseParentheses)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setCaseClausesOnNewLines-boolean-">setCaseClausesOnNewLines</a></span>(boolean&nbsp;caseClausesOnNewLines)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setClauseStartsLine-boolean-">setClauseStartsLine</a></span>(boolean&nbsp;clauseStartsLine)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setFormatOptions-org.apache.calcite.sql.pretty.SqlFormatOptions-">setFormatOptions</a></span>(<a href="../../../../../org/apache/calcite/sql/pretty/SqlFormatOptions.html" title="org.apache.calcite.sql.pretty中的类">SqlFormatOptions</a>&nbsp;options)</code>&nbsp;</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setIndentation-int-">setIndentation</a></span>(int&nbsp;indentation)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setKeywordsLowerCase-boolean-">setKeywordsLowerCase</a></span>(boolean&nbsp;keywordsLowerCase)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setLineLength-int-">setLineLength</a></span>(int&nbsp;lineLength)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setNeedWhitespace-boolean-">setNeedWhitespace</a></span>(boolean&nbsp;needWhitespace)</code>
<div class="block">Sets whether whitespace is needed before the next token.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setQuoteAllIdentifiers-boolean-">setQuoteAllIdentifiers</a></span>(boolean&nbsp;quoteAllIdentifiers)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setSelectListExtraIndentFlag-boolean-">setSelectListExtraIndentFlag</a></span>(boolean&nbsp;selectListExtraIndentFlag)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setSelectListItemsOnSeparateLines-boolean-">setSelectListItemsOnSeparateLines</a></span>(boolean&nbsp;b)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setSettings-java.util.Properties-">setSettings</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="java.util中的类或接口">Properties</a>&nbsp;properties)</code>
<div class="block">Sets settings from a properties object.</div>
</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setSubQueryStyle-org.apache.calcite.sql.SqlWriter.SubQueryStyle-">setSubQueryStyle</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlWriter.SubQueryStyle.html" title="org.apache.calcite.sql中的枚举">SqlWriter.SubQueryStyle</a>&nbsp;subQueryStyle)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setWhereListItemsOnSeparateLines-boolean-">setWhereListItemsOnSeparateLines</a></span>(boolean&nbsp;whereListItemsOnSeparateLines)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setWindowDeclListNewline-boolean-">setWindowDeclListNewline</a></span>(boolean&nbsp;windowDeclListNewline)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#setWindowNewline-boolean-">setWindowNewline</a></span>(boolean&nbsp;windowNewline)</code>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#startFunCall-java.lang.String-">startFunCall</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;funName)</code>
<div class="block">Starts a list which is a call to a function.</div>
</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#startList-org.apache.calcite.sql.SqlWriter.FrameTypeEnum-">startList</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameTypeEnum.html" title="org.apache.calcite.sql中的枚举">SqlWriter.FrameTypeEnum</a>&nbsp;frameType)</code>
<div class="block">Starts a list with no opening string.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#startList-org.apache.calcite.sql.SqlWriter.FrameType-java.lang.String-java.lang.String-">startList</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameType.html" title="org.apache.calcite.sql中的接口">SqlWriter.FrameType</a>&nbsp;frameType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;open,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;close)</code>
<div class="block">Starts a list.</div>
</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#startList-org.apache.calcite.sql.SqlWriter.FrameType-java.lang.String-java.lang.String-java.lang.String-">startList</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameType.html" title="org.apache.calcite.sql中的接口">SqlWriter.FrameType</a>&nbsp;frameType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;keyword,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;open,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;close)</code>
<div class="block">Starts a list.</div>
</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#startList-java.lang.String-java.lang.String-">startList</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;open,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;close)</code>
<div class="block">Starts a list.</div>
</td>
</tr>
<tr id="i53" class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#tooLong-java.lang.String-">tooLong</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</code>&nbsp;</td>
</tr>
<tr id="i54" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#topN-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.SqlNode-">topN</a></span>(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;fetch,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;offset)</code>
<div class="block">Prints the TOP(n) clause.</div>
</td>
</tr>
<tr id="i55" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/calcite/sql/util/SqlString.html" title="org.apache.calcite.sql.util中的类">SqlString</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#toSqlString--">toSqlString</a></span>()</code>
<div class="block">Returns the contents of this writer as a 'certified kocher' SQL string.</div>
</td>
</tr>
<tr id="i56" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#toString--">toString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i57" class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#whiteSpace--">whiteSpace</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>从类继承的方法&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="java.lang中的类或接口">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="java.lang中的类或接口">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="java.lang中的类或接口">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="java.lang中的类或接口">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="java.lang中的类或接口">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="java.lang中的类或接口">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="java.lang中的类或接口">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="java.lang中的类或接口">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="java.lang中的类或接口">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>字段详细资料</h3>
<a name="LOGGER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>LOGGER</h4>
<pre>protected static final&nbsp;<a href="../../../../../org/apache/calcite/util/trace/CalciteLogger.html" title="org.apache.calcite.util.trace中的类">CalciteLogger</a> LOGGER</pre>
</li>
</ul>
<a name="NL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NL</h4>
<pre>protected static final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> NL</pre>
</li>
</ul>
<a name="frame">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>frame</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.FrameImpl.html" title="org.apache.calcite.sql.pretty中的类">SqlPrettyWriter.FrameImpl</a> frame</pre>
</li>
</ul>
<a name="nextWhitespace">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>nextWhitespace</h4>
<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> nextWhitespace</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>构造器详细资料</h3>
<a name="SqlPrettyWriter-org.apache.calcite.sql.SqlWriterConfig-java.lang.StringBuilder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SqlPrettyWriter</h4>
<pre>public&nbsp;SqlPrettyWriter(<a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nonnull.html?is-external=true" title="javax.annotation中的类或接口">@Nonnull</a>
<a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html" title="org.apache.calcite.sql中的接口">SqlWriterConfig</a>&nbsp;config,
<a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nonnull.html?is-external=true" title="javax.annotation中的类或接口">@Nonnull</a>
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="java.lang中的类或接口">StringBuilder</a>&nbsp;buf)</pre>
<div class="block">Creates a writer with the given configuration
and a given buffer to write to.</div>
</li>
</ul>
<a name="SqlPrettyWriter-org.apache.calcite.sql.SqlDialect-org.apache.calcite.sql.SqlWriterConfig-java.lang.StringBuilder-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SqlPrettyWriter</h4>
<pre>public&nbsp;SqlPrettyWriter(<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类">SqlDialect</a>&nbsp;dialect,
<a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html" title="org.apache.calcite.sql中的接口">SqlWriterConfig</a>&nbsp;config,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="java.lang中的类或接口">StringBuilder</a>&nbsp;buf)</pre>
<div class="block">Creates a writer with the given configuration and dialect,
and a given print writer (or a private print writer if it is null).</div>
</li>
</ul>
<a name="SqlPrettyWriter-org.apache.calcite.sql.SqlDialect-org.apache.calcite.sql.SqlWriterConfig-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SqlPrettyWriter</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;SqlPrettyWriter(<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类">SqlDialect</a>&nbsp;dialect,
<a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html" title="org.apache.calcite.sql中的接口">SqlWriterConfig</a>&nbsp;config)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Creates a writer with the given configuration
and a private print writer.</div>
</li>
</ul>
<a name="SqlPrettyWriter-org.apache.calcite.sql.SqlDialect-boolean-java.io.PrintWriter-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SqlPrettyWriter</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;SqlPrettyWriter(<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类">SqlDialect</a>&nbsp;dialect,
boolean&nbsp;alwaysUseParentheses,
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a>&nbsp;pw)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="SqlPrettyWriter-org.apache.calcite.sql.SqlDialect-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SqlPrettyWriter</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;SqlPrettyWriter(<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类">SqlDialect</a>&nbsp;dialect,
boolean&nbsp;alwaysUseParentheses)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="SqlPrettyWriter-org.apache.calcite.sql.SqlDialect-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SqlPrettyWriter</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;SqlPrettyWriter(<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类">SqlDialect</a>&nbsp;dialect)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block">Creates a writer with a given dialect, the default configuration
and a private print writer.</div>
</li>
</ul>
<a name="SqlPrettyWriter-org.apache.calcite.sql.SqlWriterConfig-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SqlPrettyWriter</h4>
<pre>public&nbsp;SqlPrettyWriter(<a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nonnull.html?is-external=true" title="javax.annotation中的类或接口">@Nonnull</a>
<a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html" title="org.apache.calcite.sql中的接口">SqlWriterConfig</a>&nbsp;config)</pre>
<div class="block">Creates a writer with the given configuration,
and a private builder.</div>
</li>
</ul>
<a name="SqlPrettyWriter--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SqlPrettyWriter</h4>
<pre>public&nbsp;SqlPrettyWriter()</pre>
<div class="block">Creates a writer with the default configuration.</div>
<dl>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.html#config--"><code>config()</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>方法详细资料</h3>
<a name="config--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>config</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html" title="org.apache.calcite.sql中的接口">SqlWriterConfig</a>&nbsp;config()</pre>
<div class="block">Creates a <a href="../../../../../org/apache/calcite/sql/SqlWriterConfig.html" title="org.apache.calcite.sql中的接口"><code>SqlWriterConfig</code></a> with Calcite's SQL dialect.</div>
</li>
</ul>
<a name="setCaseClausesOnNewLines-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCaseClausesOnNewLines</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setCaseClausesOnNewLines(boolean&nbsp;caseClausesOnNewLines)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="setSubQueryStyle-org.apache.calcite.sql.SqlWriter.SubQueryStyle-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSubQueryStyle</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setSubQueryStyle(<a href="../../../../../org/apache/calcite/sql/SqlWriter.SubQueryStyle.html" title="org.apache.calcite.sql中的枚举">SqlWriter.SubQueryStyle</a>&nbsp;subQueryStyle)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="setWindowNewline-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWindowNewline</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setWindowNewline(boolean&nbsp;windowNewline)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="setWindowDeclListNewline-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWindowDeclListNewline</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setWindowDeclListNewline(boolean&nbsp;windowDeclListNewline)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="getIndentation--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getIndentation</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;int&nbsp;getIndentation()</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#getIndentation--">SqlWriter</a></code></span></div>
<div class="block">Returns the offset for each level of indentation. Default 4.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#getIndentation--">getIndentation</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="isAlwaysUseParentheses--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAlwaysUseParentheses</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;boolean&nbsp;isAlwaysUseParentheses()</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#isAlwaysUseParentheses--">SqlWriter</a></code></span></div>
<div class="block">Returns whether to enclose all expressions in parentheses, even if the
operator has high enough precedence that the parentheses are not
required.
<p>For example, the parentheses are required in the expression <code>(a +
b) * c</code> because the '*' operator has higher precedence than the '+'
operator, and so without the parentheses, the expression would be
equivalent to <code>a + (b * c)</code>. The fully-parenthesized
expression, <code>((a + b) * c)</code> is unambiguous even if you don't
know the precedence of every operator.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#isAlwaysUseParentheses--">isAlwaysUseParentheses</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="inQuery--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>inQuery</h4>
<pre>public&nbsp;boolean&nbsp;inQuery()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#inQuery--">SqlWriter</a></code></span></div>
<div class="block">Returns whether we are currently in a query context (SELECT, INSERT,
UNION, INTERSECT, EXCEPT, and the ORDER BY operator).</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#inQuery--">inQuery</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="isQuoteAllIdentifiers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isQuoteAllIdentifiers</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;boolean&nbsp;isQuoteAllIdentifiers()</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#isQuoteAllIdentifiers--">SqlWriter</a></code></span></div>
<div class="block">Returns whether this writer should quote all identifiers, even those
that do not contain mixed-case identifiers or punctuation.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#isQuoteAllIdentifiers--">isQuoteAllIdentifiers</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>whether to quote all identifiers</dd>
</dl>
</li>
</ul>
<a name="isClauseStartsLine--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isClauseStartsLine</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;boolean&nbsp;isClauseStartsLine()</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#isClauseStartsLine--">SqlWriter</a></code></span></div>
<div class="block">Returns whether this writer should start each clause (e.g. GROUP BY) on
a new line.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#isClauseStartsLine--">isClauseStartsLine</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>whether to start each clause on a new line</dd>
</dl>
</li>
</ul>
<a name="isSelectListItemsOnSeparateLines--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSelectListItemsOnSeparateLines</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;boolean&nbsp;isSelectListItemsOnSeparateLines()</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#isSelectListItemsOnSeparateLines--">SqlWriter</a></code></span></div>
<div class="block">Returns whether the items in the SELECT clause should each be on a
separate line.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#isSelectListItemsOnSeparateLines--">isSelectListItemsOnSeparateLines</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>whether to put each SELECT clause item on a new line</dd>
</dl>
</li>
</ul>
<a name="isWhereListItemsOnSeparateLines--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isWhereListItemsOnSeparateLines</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;boolean&nbsp;isWhereListItemsOnSeparateLines()</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="isSelectListExtraIndentFlag--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSelectListExtraIndentFlag</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;boolean&nbsp;isSelectListExtraIndentFlag()</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="isKeywordsLowerCase--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isKeywordsLowerCase</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;boolean&nbsp;isKeywordsLowerCase()</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#isKeywordsLowerCase--">SqlWriter</a></code></span></div>
<div class="block">Returns whether to output all keywords (e.g. SELECT, GROUP BY) in lower
case.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#isKeywordsLowerCase--">isKeywordsLowerCase</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>whether to output SQL keywords in lower case</dd>
</dl>
</li>
</ul>
<a name="getLineLength--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLineLength</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;int&nbsp;getLineLength()</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="resetSettings--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetSettings</h4>
<pre>public&nbsp;void&nbsp;resetSettings()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#resetSettings--">SqlWriter</a></code></span></div>
<div class="block">Resets all properties to their default values.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#resetSettings--">resetSettings</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="reset--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reset</h4>
<pre>public&nbsp;void&nbsp;reset()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#reset--">SqlWriter</a></code></span></div>
<div class="block">Resets this writer so that it can format another expression. Does not
affect formatting preferences (see <a href="../../../../../org/apache/calcite/sql/SqlWriter.html#resetSettings--"><code>SqlWriter.resetSettings()</code></a></div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#reset--">reset</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="setIndentation-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setIndentation</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setIndentation(int&nbsp;indentation)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="describe-java.io.PrintWriter-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>describe</h4>
<pre>public&nbsp;void&nbsp;describe(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/PrintWriter.html?is-external=true" title="java.io中的类或接口">PrintWriter</a>&nbsp;pw,
boolean&nbsp;omitDefaults)</pre>
<div class="block">Prints the property settings of this pretty-writer to a writer.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>pw</code> - Writer</dd>
<dd><code>omitDefaults</code> - Whether to omit properties whose value is the same as
the default</dd>
</dl>
</li>
</ul>
<a name="setSettings-java.util.Properties-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSettings</h4>
<pre>public&nbsp;void&nbsp;setSettings(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html?is-external=true" title="java.util中的类或接口">Properties</a>&nbsp;properties)</pre>
<div class="block">Sets settings from a properties object.</div>
</li>
</ul>
<a name="setClauseStartsLine-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setClauseStartsLine</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setClauseStartsLine(boolean&nbsp;clauseStartsLine)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="setSelectListItemsOnSeparateLines-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSelectListItemsOnSeparateLines</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setSelectListItemsOnSeparateLines(boolean&nbsp;b)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="setSelectListExtraIndentFlag-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSelectListExtraIndentFlag</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setSelectListExtraIndentFlag(boolean&nbsp;selectListExtraIndentFlag)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="setKeywordsLowerCase-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setKeywordsLowerCase</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setKeywordsLowerCase(boolean&nbsp;keywordsLowerCase)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="setWhereListItemsOnSeparateLines-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setWhereListItemsOnSeparateLines</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setWhereListItemsOnSeparateLines(boolean&nbsp;whereListItemsOnSeparateLines)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="setAlwaysUseParentheses-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAlwaysUseParentheses</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setAlwaysUseParentheses(boolean&nbsp;alwaysUseParentheses)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="newlineAndIndent--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newlineAndIndent</h4>
<pre>public&nbsp;void&nbsp;newlineAndIndent()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#newlineAndIndent--">SqlWriter</a></code></span></div>
<div class="block">Prints a new line, and indents.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#newlineAndIndent--">newlineAndIndent</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="newlineAndIndent-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newlineAndIndent</h4>
<pre>public&nbsp;void&nbsp;newlineAndIndent(int&nbsp;indent)</pre>
</li>
</ul>
<a name="setQuoteAllIdentifiers-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setQuoteAllIdentifiers</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setQuoteAllIdentifiers(boolean&nbsp;quoteAllIdentifiers)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="createListFrame-org.apache.calcite.sql.SqlWriter.FrameType-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createListFrame</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.FrameImpl.html" title="org.apache.calcite.sql.pretty中的类">SqlPrettyWriter.FrameImpl</a>&nbsp;createListFrame(<a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameType.html" title="org.apache.calcite.sql中的接口">SqlWriter.FrameType</a>&nbsp;frameType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;keyword,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;open,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;close)</pre>
<div class="block">Creates a list frame.
<p>Derived classes should override this method to specify the indentation
of the list.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>frameType</code> - What type of list</dd>
<dd><code>keyword</code> - The keyword to be printed at the start of the list</dd>
<dd><code>open</code> - The string to print at the start of the list</dd>
<dd><code>close</code> - The string to print at the end of the list</dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>A frame</dd>
</dl>
</li>
</ul>
<a name="startList-org.apache.calcite.sql.SqlWriter.FrameType-java.lang.String-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startList</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a>&nbsp;startList(<a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameType.html" title="org.apache.calcite.sql中的接口">SqlWriter.FrameType</a>&nbsp;frameType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;keyword,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;open,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;close)</pre>
<div class="block">Starts a list.</div>
<dl>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>frameType</code> - Type of list. For example, a SELECT list will be
governed according to SELECT-list formatting preferences.</dd>
<dd><code>open</code> - String to print at the start of the list; typically "(" or
the empty string.</dd>
<dd><code>close</code> - String to print at the end of the list.</dd>
</dl>
</li>
</ul>
<a name="endList-org.apache.calcite.sql.SqlWriter.Frame-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>endList</h4>
<pre>public&nbsp;void&nbsp;endList(<a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a>&nbsp;frame)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#endList-org.apache.calcite.sql.SqlWriter.Frame-">SqlWriter</a></code></span></div>
<div class="block">Ends a list.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#endList-org.apache.calcite.sql.SqlWriter.Frame-">endList</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>frame</code> - The frame which was created by <a href="../../../../../org/apache/calcite/sql/SqlWriter.html#startList-java.lang.String-java.lang.String-"><code>SqlWriter.startList(java.lang.String, java.lang.String)</code></a>.</dd>
</dl>
</li>
</ul>
<a name="format-org.apache.calcite.sql.SqlNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>format</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;format(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;node)</pre>
</li>
</ul>
<a name="toString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;toString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">覆盖:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="java.lang中的类或接口">toString</a></code>&nbsp;在类中&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="java.lang中的类或接口">Object</a></code></dd>
</dl>
</li>
</ul>
<a name="toSqlString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toSqlString</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/util/SqlString.html" title="org.apache.calcite.sql.util中的类">SqlString</a>&nbsp;toSqlString()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#toSqlString--">SqlWriter</a></code></span></div>
<div class="block">Returns the contents of this writer as a 'certified kocher' SQL string.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#toSqlString--">toSqlString</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>SQL string</dd>
</dl>
</li>
</ul>
<a name="getDialect--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDialect</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlDialect.html" title="org.apache.calcite.sql中的类">SqlDialect</a>&nbsp;getDialect()</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#getDialect--">SqlWriter</a></code></span></div>
<div class="block">Returns the dialect of SQL.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#getDialect--">getDialect</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="returnLabel">返回:</span></dt>
<dd>SQL dialect</dd>
</dl>
</li>
</ul>
<a name="literal-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>literal</h4>
<pre>public&nbsp;void&nbsp;literal(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#literal-java.lang.String-">SqlWriter</a></code></span></div>
<div class="block">Prints a literal, exactly as provided. Does not attempt to indent or
convert to upper or lower case. Does not add quotation marks. Adds
preceding whitespace if necessary.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#literal-java.lang.String-">literal</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="keyword-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>keyword</h4>
<pre>public&nbsp;void&nbsp;keyword(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#keyword-java.lang.String-">SqlWriter</a></code></span></div>
<div class="block">Prints a sequence of keywords. Must not start or end with space, but may
contain a space. For example, <code>keyword("SELECT")</code>, <code>
keyword("CHARACTER SET")</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#keyword-java.lang.String-">keyword</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="whiteSpace--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>whiteSpace</h4>
<pre>protected&nbsp;void&nbsp;whiteSpace()</pre>
</li>
</ul>
<a name="tooLong-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tooLong</h4>
<pre>protected&nbsp;boolean&nbsp;tooLong(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</pre>
</li>
</ul>
<a name="print-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>print</h4>
<pre>public&nbsp;void&nbsp;print(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;s)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#print-java.lang.String-">SqlWriter</a></code></span></div>
<div class="block">Prints a string, preceded by whitespace if necessary.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#print-java.lang.String-">print</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="print-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>print</h4>
<pre>public&nbsp;void&nbsp;print(int&nbsp;x)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#print-int-">SqlWriter</a></code></span></div>
<div class="block">Prints an integer.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#print-int-">print</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>x</code> - Integer</dd>
</dl>
</li>
</ul>
<a name="identifier-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>identifier</h4>
<pre>public&nbsp;void&nbsp;identifier(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;name,
boolean&nbsp;quoted)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#identifier-java.lang.String-boolean-">SqlWriter</a></code></span></div>
<div class="block">Prints an identifier, quoting as necessary.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#identifier-java.lang.String-boolean-">identifier</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>name</code> - The identifier name</dd>
<dd><code>quoted</code> - Whether this identifier was quoted in the original sql statement,
this may not be the only factor to decide whether this identifier
should be quoted</dd>
</dl>
</li>
</ul>
<a name="dynamicParam-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dynamicParam</h4>
<pre>public&nbsp;void&nbsp;dynamicParam(int&nbsp;index)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#dynamicParam-int-">SqlWriter</a></code></span></div>
<div class="block">Prints a dynamic parameter (e.g. <code>?</code> for default JDBC)</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#dynamicParam-int-">dynamicParam</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="fetchOffset-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.SqlNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fetchOffset</h4>
<pre>public&nbsp;void&nbsp;fetchOffset(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;fetch,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;offset)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#fetchOffset-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.SqlNode-">SqlWriter</a></code></span></div>
<div class="block">Prints the OFFSET/FETCH clause.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#fetchOffset-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.SqlNode-">fetchOffset</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="topN-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.SqlNode-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>topN</h4>
<pre>public&nbsp;void&nbsp;topN(<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;fetch,
<a href="../../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a>&nbsp;offset)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#topN-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.SqlNode-">SqlWriter</a></code></span></div>
<div class="block">Prints the TOP(n) clause.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#topN-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.SqlNode-">topN</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#fetchOffset-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.SqlNode-"><code>SqlWriter.fetchOffset(org.apache.calcite.sql.SqlNode, org.apache.calcite.sql.SqlNode)</code></a></dd>
</dl>
</li>
</ul>
<a name="startFunCall-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startFunCall</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a>&nbsp;startFunCall(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;funName)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#startFunCall-java.lang.String-">SqlWriter</a></code></span></div>
<div class="block">Starts a list which is a call to a function.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#startFunCall-java.lang.String-">startFunCall</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#endFunCall-org.apache.calcite.sql.SqlWriter.Frame-"><code>SqlWriter.endFunCall(Frame)</code></a></dd>
</dl>
</li>
</ul>
<a name="endFunCall-org.apache.calcite.sql.SqlWriter.Frame-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>endFunCall</h4>
<pre>public&nbsp;void&nbsp;endFunCall(<a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a>&nbsp;frame)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#endFunCall-org.apache.calcite.sql.SqlWriter.Frame-">SqlWriter</a></code></span></div>
<div class="block">Ends a list which is a call to a function.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#endFunCall-org.apache.calcite.sql.SqlWriter.Frame-">endFunCall</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>frame</code> - Frame</dd>
<dt><span class="seeLabel">另请参阅:</span></dt>
<dd><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#startFunCall-java.lang.String-"><code>SqlWriter.startFunCall(String)</code></a></dd>
</dl>
</li>
</ul>
<a name="startList-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startList</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a>&nbsp;startList(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;open,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;close)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#startList-java.lang.String-java.lang.String-">SqlWriter</a></code></span></div>
<div class="block">Starts a list.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#startList-java.lang.String-java.lang.String-">startList</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="startList-org.apache.calcite.sql.SqlWriter.FrameTypeEnum-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startList</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a>&nbsp;startList(<a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameTypeEnum.html" title="org.apache.calcite.sql中的枚举">SqlWriter.FrameTypeEnum</a>&nbsp;frameType)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#startList-org.apache.calcite.sql.SqlWriter.FrameTypeEnum-">SqlWriter</a></code></span></div>
<div class="block">Starts a list with no opening string.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#startList-org.apache.calcite.sql.SqlWriter.FrameTypeEnum-">startList</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>frameType</code> - Type of list. For example, a SELECT list will be
governed according to SELECT-list formatting preferences.</dd>
</dl>
</li>
</ul>
<a name="startList-org.apache.calcite.sql.SqlWriter.FrameType-java.lang.String-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startList</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlWriter.Frame.html" title="org.apache.calcite.sql中的接口">SqlWriter.Frame</a>&nbsp;startList(<a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameType.html" title="org.apache.calcite.sql中的接口">SqlWriter.FrameType</a>&nbsp;frameType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;open,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;close)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#startList-org.apache.calcite.sql.SqlWriter.FrameType-java.lang.String-java.lang.String-">SqlWriter</a></code></span></div>
<div class="block">Starts a list.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#startList-org.apache.calcite.sql.SqlWriter.FrameType-java.lang.String-java.lang.String-">startList</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>frameType</code> - Type of list. For example, a SELECT list will be
governed according to SELECT-list formatting preferences.</dd>
<dd><code>open</code> - String to start the list; typically "(" or the empty
string.</dd>
<dd><code>close</code> - String to close the list</dd>
</dl>
</li>
</ul>
<a name="list-org.apache.calcite.sql.SqlWriter.FrameTypeEnum-java.util.function.Consumer-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>list</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a>&nbsp;list(<a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameTypeEnum.html" title="org.apache.calcite.sql中的枚举">SqlWriter.FrameTypeEnum</a>&nbsp;frameType,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="java.util.function中的类或接口">Consumer</a>&lt;<a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a>&gt;&nbsp;action)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#list-org.apache.calcite.sql.SqlWriter.FrameTypeEnum-java.util.function.Consumer-">SqlWriter</a></code></span></div>
<div class="block">Writes a list.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#list-org.apache.calcite.sql.SqlWriter.FrameTypeEnum-java.util.function.Consumer-">list</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="list-org.apache.calcite.sql.SqlWriter.FrameTypeEnum-org.apache.calcite.sql.SqlBinaryOperator-org.apache.calcite.sql.SqlNodeList-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>list</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a>&nbsp;list(<a href="../../../../../org/apache/calcite/sql/SqlWriter.FrameTypeEnum.html" title="org.apache.calcite.sql中的枚举">SqlWriter.FrameTypeEnum</a>&nbsp;frameType,
<a href="../../../../../org/apache/calcite/sql/SqlBinaryOperator.html" title="org.apache.calcite.sql中的类">SqlBinaryOperator</a>&nbsp;sepOp,
<a href="../../../../../org/apache/calcite/sql/SqlNodeList.html" title="org.apache.calcite.sql中的类">SqlNodeList</a>&nbsp;list)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#list-org.apache.calcite.sql.SqlWriter.FrameTypeEnum-org.apache.calcite.sql.SqlBinaryOperator-org.apache.calcite.sql.SqlNodeList-">SqlWriter</a></code></span></div>
<div class="block">Writes a list separated by a binary operator
(<a href="../../../../../org/apache/calcite/sql/fun/SqlStdOperatorTable.html#AND"><code>AND</code></a>,
<a href="../../../../../org/apache/calcite/sql/fun/SqlStdOperatorTable.html#OR"><code>OR</code></a>, or
<a href="../../../../../org/apache/calcite/sql/SqlWriter.html#COMMA"><code>COMMA</code></a>).</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#list-org.apache.calcite.sql.SqlWriter.FrameTypeEnum-org.apache.calcite.sql.SqlBinaryOperator-org.apache.calcite.sql.SqlNodeList-">list</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="sep-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sep</h4>
<pre>public&nbsp;void&nbsp;sep(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;sep)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#sep-java.lang.String-">SqlWriter</a></code></span></div>
<div class="block">Writes a list separator, unless the separator is "," and this is the
first occurrence in the list.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#sep-java.lang.String-">sep</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>sep</code> - List separator, typically ",".</dd>
</dl>
</li>
</ul>
<a name="sep-java.lang.String-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>sep</h4>
<pre>public&nbsp;void&nbsp;sep(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a>&nbsp;sep,
boolean&nbsp;printFirst)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#sep-java.lang.String-boolean-">SqlWriter</a></code></span></div>
<div class="block">Writes a list separator.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#sep-java.lang.String-boolean-">sep</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
<dt><span class="paramLabel">参数:</span></dt>
<dd><code>sep</code> - List separator, typically ","</dd>
<dd><code>printFirst</code> - Whether to print the first occurrence of the separator</dd>
</dl>
</li>
</ul>
<a name="setNeedWhitespace-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNeedWhitespace</h4>
<pre>public&nbsp;void&nbsp;setNeedWhitespace(boolean&nbsp;needWhitespace)</pre>
<div class="block"><span class="descfrmTypeLabel">从接口复制的说明:&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#setNeedWhitespace-boolean-">SqlWriter</a></code></span></div>
<div class="block">Sets whether whitespace is needed before the next token.</div>
<dl>
<dt><span class="overrideSpecifyLabel">指定者:</span></dt>
<dd><code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html#setNeedWhitespace-boolean-">setNeedWhitespace</a></code>&nbsp;在接口中&nbsp;<code><a href="../../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a></code></dd>
</dl>
</li>
</ul>
<a name="setLineLength-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLineLength</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="java.lang中的类或接口">@Deprecated</a>
public&nbsp;void&nbsp;setLineLength(int&nbsp;lineLength)</pre>
<div class="block"><span class="deprecatedLabel">已过时。</span>&nbsp;</div>
</li>
</ul>
<a name="setFormatOptions-org.apache.calcite.sql.pretty.SqlFormatOptions-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setFormatOptions</h4>
<pre>public&nbsp;void&nbsp;setFormatOptions(<a href="../../../../../org/apache/calcite/sql/pretty/SqlFormatOptions.html" title="org.apache.calcite.sql.pretty中的类">SqlFormatOptions</a>&nbsp;options)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="跳过导航链接">跳过导航链接</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="导航">
<li><a href="../../../../../overview-summary.html">概览</a></li>
<li><a href="package-summary.html">程序包</a></li>
<li class="navBarCell1Rev"></li>
<li><a href="package-tree.html"></a></li>
<li><a href="../../../../../deprecated-list.html">已过时</a></li>
<li><a href="../../../../../index-all.html">索引</a></li>
<li><a href="../../../../../help-doc.html">帮助</a></li>
</ul>
<div class="aboutLanguage"><b>Apache Calcite</b></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/calcite/sql/pretty/SqlFormatOptions.html" title="org.apache.calcite.sql.pretty中的类"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../../org/apache/calcite/sql/pretty/SqlPrettyWriter.FrameImpl.html" title="org.apache.calcite.sql.pretty中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/calcite/sql/pretty/SqlPrettyWriter.html" target="_top">框架</a></li>
<li><a href="SqlPrettyWriter.html" target="_top">无框架</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">所有类</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>概要:&nbsp;</li>
<li><a href="#nested.class.summary">嵌套</a>&nbsp;|&nbsp;</li>
<li><a href="#field.summary">字段</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">构造器</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">方法</a></li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li><a href="#field.detail">字段</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">构造器</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">方法</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &copy; 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p>
</body>
</html>