| <!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>SqlDateLiteral (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="SqlDateLiteral (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10}; |
| var tabs = {65535:["t0","所有方法"],2:["t2","实例方法"],8:["t4","具体方法"]}; |
| 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/SqlDataTypeSpec.html" title="org.apache.calcite.sql中的类"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../org/apache/calcite/sql/SqlDdl.html" title="org.apache.calcite.sql中的类"><span class="typeNameLink">下一个类</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/sql/SqlDateLiteral.html" target="_top">框架</a></li> |
| <li><a href="SqlDateLiteral.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>概要: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.apache.calcite.sql.SqlLiteral">嵌套</a> | </li> |
| <li><a href="#fields.inherited.from.class.org.apache.calcite.sql.SqlAbstractDateTimeLiteral">字段</a> | </li> |
| <li>构造器 | </li> |
| <li><a href="#method.summary">方法</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>详细资料: </li> |
| <li>字段 | </li> |
| <li>构造器 | </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</div> |
| <h2 title="类 SqlDateLiteral" class="title">类 SqlDateLiteral</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><a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">org.apache.calcite.sql.SqlNode</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/apache/calcite/sql/SqlLiteral.html" title="org.apache.calcite.sql中的类">org.apache.calcite.sql.SqlLiteral</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html" title="org.apache.calcite.sql中的类">org.apache.calcite.sql.SqlAbstractDateTimeLiteral</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.sql.SqlDateLiteral</li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>所有已实现的接口:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="java.lang中的类或接口">Cloneable</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">SqlDateLiteral</span> |
| extends <a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html" title="org.apache.calcite.sql中的类">SqlAbstractDateTimeLiteral</a></pre> |
| <div class="block">A SQL literal representing a DATE value, such as <code>DATE |
| '2004-10-22'</code>. |
| |
| <p>Create values using <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createDate-java.util.Calendar-org.apache.calcite.sql.parser.SqlParserPos-"><code>SqlLiteral.createDate(java.util.Calendar, org.apache.calcite.sql.parser.SqlParserPos)</code></a>.</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> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.calcite.sql.SqlLiteral"> |
| <!-- --> |
| </a> |
| <h3>从类继承的嵌套类/接口 org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlLiteral.html" title="org.apache.calcite.sql中的类">SqlLiteral</a></h3> |
| <code><a href="../../../../org/apache/calcite/sql/SqlLiteral.SqlSymbol.html" title="org.apache.calcite.sql中的接口">SqlLiteral.SqlSymbol</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>字段概要</h3> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.calcite.sql.SqlAbstractDateTimeLiteral"> |
| <!-- --> |
| </a> |
| <h3>从类继承的字段 org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html" title="org.apache.calcite.sql中的类">SqlAbstractDateTimeLiteral</a></h3> |
| <code><a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html#hasTimeZone">hasTimeZone</a>, <a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html#precision">precision</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.calcite.sql.SqlLiteral"> |
| <!-- --> |
| </a> |
| <h3>从类继承的字段 org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlLiteral.html" title="org.apache.calcite.sql中的类">SqlLiteral</a></h3> |
| <code><a href="../../../../org/apache/calcite/sql/SqlLiteral.html#value">value</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="fields.inherited.from.class.org.apache.calcite.sql.SqlNode"> |
| <!-- --> |
| </a> |
| <h3>从类继承的字段 org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></h3> |
| <code><a href="../../../../org/apache/calcite/sql/SqlNode.html#EMPTY_ARRAY">EMPTY_ARRAY</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#pos">pos</a></code></li> |
| </ul> |
| </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"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">实例方法</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">具体方法</a></span><span class="tabEnd"> </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><a href="../../../../org/apache/calcite/sql/SqlDateLiteral.html" title="org.apache.calcite.sql中的类">SqlDateLiteral</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlDateLiteral.html#clone-org.apache.calcite.sql.parser.SqlParserPos-">clone</a></span>(<a href="../../../../org/apache/calcite/sql/parser/SqlParserPos.html" title="org.apache.calcite.sql.parser中的类">SqlParserPos</a> pos)</code> |
| <div class="block">Clones a SqlNode with a different position.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlDateLiteral.html#createSqlType-org.apache.calcite.rel.type.RelDataTypeFactory-">createSqlType</a></span>(<a href="../../../../org/apache/calcite/rel/type/RelDataTypeFactory.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeFactory</a> typeFactory)</code> </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../org/apache/calcite/util/DateString.html" title="org.apache.calcite.util中的类">DateString</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/sql/SqlDateLiteral.html#getDate--">getDate</a></span>()</code> |
| <div class="block">Converts this literal to a <a href="../../../../org/apache/calcite/util/DateString.html" title="org.apache.calcite.util中的类"><code>DateString</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i3" 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/SqlDateLiteral.html#toFormattedString--">toFormattedString</a></span>()</code> |
| <div class="block">Returns e.g. '1969-07-21'.</div> |
| </td> |
| </tr> |
| <tr id="i4" 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/SqlDateLiteral.html#toString--">toString</a></span>()</code> |
| <div class="block">Returns e.g.</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/SqlDateLiteral.html#unparse-org.apache.calcite.sql.SqlWriter-int-int-">unparse</a></span>(<a href="../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a> writer, |
| int leftPrec, |
| int rightPrec)</code> |
| <div class="block">Writes a SQL representation of this node to a writer.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.sql.SqlAbstractDateTimeLiteral"> |
| <!-- --> |
| </a> |
| <h3>从类继承的方法 org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html" title="org.apache.calcite.sql中的类">SqlAbstractDateTimeLiteral</a></h3> |
| <code><a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html#getPrec--">getPrec</a>, <a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html#getTimestamp--">getTimestamp</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.sql.SqlLiteral"> |
| <!-- --> |
| </a> |
| <h3>从类继承的方法 org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlLiteral.html" title="org.apache.calcite.sql中的类">SqlLiteral</a></h3> |
| <code><a href="../../../../org/apache/calcite/sql/SqlLiteral.html#accept-org.apache.calcite.sql.util.SqlVisitor-">accept</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#bigDecimalValue--">bigDecimalValue</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#booleanValue--">booleanValue</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createApproxNumeric-java.lang.String-org.apache.calcite.sql.parser.SqlParserPos-">createApproxNumeric</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createBinaryString-byte:A-org.apache.calcite.sql.parser.SqlParserPos-">createBinaryString</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createBinaryString-java.lang.String-org.apache.calcite.sql.parser.SqlParserPos-">createBinaryString</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createBoolean-boolean-org.apache.calcite.sql.parser.SqlParserPos-">createBoolean</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createCharString-java.lang.String-org.apache.calcite.sql.parser.SqlParserPos-">createCharString</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createCharString-java.lang.String-java.lang.String-org.apache.calcite.sql.parser.SqlParserPos-">createCharString</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createDate-java.util.Calendar-org.apache.calcite.sql.parser.SqlParserPos-">createDate</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createDate-org.apache.calcite.util.DateString-org.apache.calcite.sql.parser.SqlParserPos-">createDate</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createExactNumeric-java.lang.String-org.apache.calcite.sql.parser.SqlParserPos-">createExactNumeric</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createInterval-int-java.lang.String-org.apache.calcite.sql.SqlIntervalQualifier-org.apache.calcite.sql.parser.SqlParserPos-">createInterval</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createNegative-org.apache.calcite.sql.SqlNumericLiteral-org.apache.calcite.sql.parser.SqlParserPos-">createNegative</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createNull-org.apache.calcite.sql.parser.SqlParserPos-">createNull</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createSample-org.apache.calcite.sql.SqlSampleSpec-org.apache.calcite.sql.parser.SqlParserPos-">createSample</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createSymbol-java.lang.Enum-org.apache.calcite.sql.parser.SqlParserPos-">createSymbol</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createTime-java.util.Calendar-int-org.apache.calcite.sql.parser.SqlParserPos-">createTime</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createTime-org.apache.calcite.util.TimeString-int-org.apache.calcite.sql.parser.SqlParserPos-">createTime</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createTimestamp-java.util.Calendar-int-org.apache.calcite.sql.parser.SqlParserPos-">createTimestamp</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createTimestamp-org.apache.calcite.util.TimestampString-int-org.apache.calcite.sql.parser.SqlParserPos-">createTimestamp</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#createUnknown-org.apache.calcite.sql.parser.SqlParserPos-">createUnknown</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#equals-java.lang.Object-">equals</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#equalsDeep-org.apache.calcite.sql.SqlNode-org.apache.calcite.util.Litmus-">equalsDeep</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#getKind--">getKind</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#getMonotonicity-org.apache.calcite.sql.validate.SqlValidatorScope-">getMonotonicity</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#getStringValue--">getStringValue</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#getTypeName--">getTypeName</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#getValue--">getValue</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#getValueAs-java.lang.Class-">getValueAs</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#hashCode--">hashCode</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#intValue-boolean-">intValue</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#longValue-boolean-">longValue</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#sampleValue-org.apache.calcite.sql.SqlNode-">sampleValue</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#signum--">signum</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#stringValue-org.apache.calcite.sql.SqlNode-">stringValue</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#symbolValue_--">symbolValue_</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#symbolValue-java.lang.Class-">symbolValue</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#toValue--">toValue</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#unchain-org.apache.calcite.sql.SqlNode-">unchain</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#unescapeUnicode-char-">unescapeUnicode</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#validate-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-">validate</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#value-org.apache.calcite.sql.SqlNode-">value</a>, <a href="../../../../org/apache/calcite/sql/SqlLiteral.html#valueMatchesType-java.lang.Object-org.apache.calcite.sql.type.SqlTypeName-">valueMatchesType</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.sql.SqlNode"> |
| <!-- --> |
| </a> |
| <h3>从类继承的方法 org.apache.calcite.sql.<a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类">SqlNode</a></h3> |
| <code><a href="../../../../org/apache/calcite/sql/SqlNode.html#clone--">clone</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#clone-E-">clone</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#cloneArray-org.apache.calcite.sql.SqlNode:A-">cloneArray</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#equalDeep-java.util.List-java.util.List-org.apache.calcite.util.Litmus-">equalDeep</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#equalDeep-org.apache.calcite.sql.SqlNode-org.apache.calcite.sql.SqlNode-org.apache.calcite.util.Litmus-">equalDeep</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#equalsDeep-org.apache.calcite.sql.SqlNode-boolean-">equalsDeep</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#findValidOptions-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-org.apache.calcite.sql.parser.SqlParserPos-java.util.Collection-">findValidOptions</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#getParserPosition--">getParserPosition</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#isA-java.util.Set-">isA</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#toSqlString-org.apache.calcite.sql.SqlDialect-">toSqlString</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#toSqlString-org.apache.calcite.sql.SqlDialect-boolean-">toSqlString</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#toSqlString-java.util.function.UnaryOperator-">toSqlString</a>, <a href="../../../../org/apache/calcite/sql/SqlNode.html#validateExpr-org.apache.calcite.sql.validate.SqlValidator-org.apache.calcite.sql.validate.SqlValidatorScope-">validateExpr</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>从类继承的方法 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#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#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"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>方法详细资料</h3> |
| <a name="getDate--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getDate</h4> |
| <pre>protected <a href="../../../../org/apache/calcite/util/DateString.html" title="org.apache.calcite.util中的类">DateString</a> getDate()</pre> |
| <div class="block">Converts this literal to a <a href="../../../../org/apache/calcite/util/DateString.html" title="org.apache.calcite.util中的类"><code>DateString</code></a>.</div> |
| </li> |
| </ul> |
| <a name="clone-org.apache.calcite.sql.parser.SqlParserPos-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clone</h4> |
| <pre>public <a href="../../../../org/apache/calcite/sql/SqlDateLiteral.html" title="org.apache.calcite.sql中的类">SqlDateLiteral</a> clone(<a href="../../../../org/apache/calcite/sql/parser/SqlParserPos.html" title="org.apache.calcite.sql.parser中的类">SqlParserPos</a> pos)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlNode.html#clone-org.apache.calcite.sql.parser.SqlParserPos-">SqlNode</a></code></span></div> |
| <div class="block">Clones a SqlNode with a different position.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlLiteral.html#clone-org.apache.calcite.sql.parser.SqlParserPos-">clone</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlLiteral.html" title="org.apache.calcite.sql中的类">SqlLiteral</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> toString()</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html#toString--">SqlAbstractDateTimeLiteral</a></code></span></div> |
| <div class="block">Returns e.g. <code>DATE '1969-07-21'</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html#toString--">toString</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html" title="org.apache.calcite.sql中的类">SqlAbstractDateTimeLiteral</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toFormattedString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toFormattedString</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="java.lang中的类或接口">String</a> toFormattedString()</pre> |
| <div class="block">Returns e.g. '1969-07-21'.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">指定者:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html#toFormattedString--">toFormattedString</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html" title="org.apache.calcite.sql中的类">SqlAbstractDateTimeLiteral</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="createSqlType-org.apache.calcite.rel.type.RelDataTypeFactory-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSqlType</h4> |
| <pre>public <a href="../../../../org/apache/calcite/rel/type/RelDataType.html" title="org.apache.calcite.rel.type中的接口">RelDataType</a> createSqlType(<a href="../../../../org/apache/calcite/rel/type/RelDataTypeFactory.html" title="org.apache.calcite.rel.type中的接口">RelDataTypeFactory</a> typeFactory)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html#createSqlType-org.apache.calcite.rel.type.RelDataTypeFactory-">createSqlType</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html" title="org.apache.calcite.sql中的类">SqlAbstractDateTimeLiteral</a></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="unparse-org.apache.calcite.sql.SqlWriter-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>unparse</h4> |
| <pre>public void unparse(<a href="../../../../org/apache/calcite/sql/SqlWriter.html" title="org.apache.calcite.sql中的接口">SqlWriter</a> writer, |
| int leftPrec, |
| int rightPrec)</pre> |
| <div class="block"><span class="descfrmTypeLabel">从类复制的说明: <code><a href="../../../../org/apache/calcite/sql/SqlNode.html#unparse-org.apache.calcite.sql.SqlWriter-int-int-">SqlNode</a></code></span></div> |
| <div class="block">Writes a SQL representation of this node to a writer. |
| |
| <p>The <code>leftPrec</code> and <code>rightPrec</code> parameters give |
| us enough context to decide whether we need to enclose the expression in |
| parentheses. For example, we need parentheses around "2 + 3" if preceded |
| by "5 *". This is because the precedence of the "*" operator is greater |
| than the precedence of the "+" operator. |
| |
| <p>The algorithm handles left- and right-associative operators by giving |
| them slightly different left- and right-precedence. |
| |
| <p>If <a href="../../../../org/apache/calcite/sql/SqlWriter.html#isAlwaysUseParentheses--"><code>SqlWriter.isAlwaysUseParentheses()</code></a> is true, we use |
| parentheses even when they are not required by the precedence rules. |
| |
| <p>For the details of this algorithm, see <a href="../../../../org/apache/calcite/sql/SqlCall.html#unparse-org.apache.calcite.sql.SqlWriter-int-int-"><code>SqlCall.unparse(org.apache.calcite.sql.SqlWriter, int, int)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">覆盖:</span></dt> |
| <dd><code><a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html#unparse-org.apache.calcite.sql.SqlWriter-int-int-">unparse</a></code> 在类中 <code><a href="../../../../org/apache/calcite/sql/SqlAbstractDateTimeLiteral.html" title="org.apache.calcite.sql中的类">SqlAbstractDateTimeLiteral</a></code></dd> |
| <dt><span class="paramLabel">参数:</span></dt> |
| <dd><code>writer</code> - Target writer</dd> |
| <dd><code>leftPrec</code> - The precedence of the <a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类"><code>SqlNode</code></a> immediately |
| preceding this node in a depth-first scan of the parse |
| tree</dd> |
| <dd><code>rightPrec</code> - The precedence of the <a href="../../../../org/apache/calcite/sql/SqlNode.html" title="org.apache.calcite.sql中的类"><code>SqlNode</code></a> immediately</dd> |
| </dl> |
| </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/SqlDataTypeSpec.html" title="org.apache.calcite.sql中的类"><span class="typeNameLink">上一个类</span></a></li> |
| <li><a href="../../../../org/apache/calcite/sql/SqlDdl.html" title="org.apache.calcite.sql中的类"><span class="typeNameLink">下一个类</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/sql/SqlDateLiteral.html" target="_top">框架</a></li> |
| <li><a href="SqlDateLiteral.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>概要: </li> |
| <li><a href="#nested.classes.inherited.from.class.org.apache.calcite.sql.SqlLiteral">嵌套</a> | </li> |
| <li><a href="#fields.inherited.from.class.org.apache.calcite.sql.SqlAbstractDateTimeLiteral">字段</a> | </li> |
| <li>构造器 | </li> |
| <li><a href="#method.summary">方法</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>详细资料: </li> |
| <li>字段 | </li> |
| <li>构造器 | </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 © 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p> |
| </body> |
| </html> |