| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>SqlOperatorTest.CustomTimeFrameTypeSystem (Apache Calcite API)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: package: org.apache.calcite.test, class: SqlOperatorTest, class: CustomTimeFrameTypeSystem"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var pathtoroot = "../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <div class="about-language"><b>Apache Calcite</b></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field-summary">Field</a> | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li><a href="#field-detail">Field</a> | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li>Method</li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.apache.calcite.test</a></div> |
| <h1 title="Class SqlOperatorTest.CustomTimeFrameTypeSystem" class="title">Class SqlOperatorTest.CustomTimeFrameTypeSystem</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance"><a href="../rel/type/DelegatingTypeSystem.html" title="class in org.apache.calcite.rel.type">org.apache.calcite.rel.type.DelegatingTypeSystem</a> |
| <div class="inheritance">org.apache.calcite.test.SqlOperatorTest.CustomTimeFrameTypeSystem</div> |
| </div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="../rel/type/RelDataTypeSystem.html" title="interface in org.apache.calcite.rel.type">RelDataTypeSystem</a></code></dd> |
| </dl> |
| <dl class="notes"> |
| <dt>Enclosing class:</dt> |
| <dd><a href="SqlOperatorTest.html" title="class in org.apache.calcite.test">SqlOperatorTest</a></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public static class </span><span class="element-name type-name-label">SqlOperatorTest.CustomTimeFrameTypeSystem</span> |
| <span class="extends-implements">extends <a href="../rel/type/DelegatingTypeSystem.html" title="class in org.apache.calcite.rel.type">DelegatingTypeSystem</a></span></div> |
| <div class="block">Type system whose constructor reads from a thread-local. You must invoke |
| the constructor in the same thread, but once constructed you can use from |
| other threads. |
| |
| <p>It's a bit strange, but the best we can do to pass objects via Avatica's |
| plugin system until |
| <a href="https://issues.apache.org/jira/browse/CALCITE-5295">[CALCITE-5295] |
| Read the values of plugins (such as connect string properties) from |
| ThreadLocal fields</a> is fixed.</div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="caption"><span>Fields</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Field</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>static final <a href="../util/TryThreadLocal.html" title="class in org.apache.calcite.util">TryThreadLocal</a><<a href="../rel/type/RelDataTypeSystem.html" title="interface in org.apache.calcite.rel.type">RelDataTypeSystem</a>></code></div> |
| <div class="col-second even-row-color"><code><a href="#DELEGATE" class="member-name-link">DELEGATE</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Assign to this thread-local before you instantiate a FooTypeSystem |
| (in the same thread) and your FooTypeSystem will behave in the same |
| way.</div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.apache.calcite.rel.type.RelDataTypeSystem">Fields inherited from interface org.apache.calcite.rel.type.<a href="../rel/type/RelDataTypeSystem.html" title="interface in org.apache.calcite.rel.type">RelDataTypeSystem</a></h3> |
| <code><a href="../rel/type/RelDataTypeSystem.html#DEFAULT">DEFAULT</a></code></div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E()" class="member-name-link">CustomTimeFrameTypeSystem</a>()</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Creates a CustomTimeFrameTypeSystem, taking a snapshot of |
| <a href="#DELEGATE"><code>DELEGATE</code></a>.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.calcite.rel.type.DelegatingTypeSystem">Methods inherited from class org.apache.calcite.rel.type.<a href="../rel/type/DelegatingTypeSystem.html" title="class in org.apache.calcite.rel.type">DelegatingTypeSystem</a></h3> |
| <code><a href="../rel/type/DelegatingTypeSystem.html#deriveAvgAggType(org.apache.calcite.rel.type.RelDataTypeFactory,org.apache.calcite.rel.type.RelDataType)">deriveAvgAggType</a>, <a href="../rel/type/DelegatingTypeSystem.html#deriveCovarType(org.apache.calcite.rel.type.RelDataTypeFactory,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataType)">deriveCovarType</a>, <a href="../rel/type/DelegatingTypeSystem.html#deriveFractionalRankType(org.apache.calcite.rel.type.RelDataTypeFactory)">deriveFractionalRankType</a>, <a href="../rel/type/DelegatingTypeSystem.html#deriveRankType(org.apache.calcite.rel.type.RelDataTypeFactory)">deriveRankType</a>, <a href="../rel/type/DelegatingTypeSystem.html#deriveSumType(org.apache.calcite.rel.type.RelDataTypeFactory,org.apache.calcite.rel.type.RelDataType)">deriveSumType</a>, <a href="../rel/type/DelegatingTypeSystem.html#deriveTimeFrameSet(org.apache.calcite.rel.type.TimeFrameSet)">deriveTimeFrameSet</a>, <a href="../rel/type/DelegatingTypeSystem.html#getDefaultPrecision(org.apache.calcite.sql.type.SqlTypeName)">getDefaultPrecision</a>, <a href="../rel/type/DelegatingTypeSystem.html#getLiteral(org.apache.calcite.sql.type.SqlTypeName,boolean)">getLiteral</a>, <a href="../rel/type/DelegatingTypeSystem.html#getMaxNumericPrecision()">getMaxNumericPrecision</a>, <a href="../rel/type/DelegatingTypeSystem.html#getMaxNumericScale()">getMaxNumericScale</a>, <a href="../rel/type/DelegatingTypeSystem.html#getMaxPrecision(org.apache.calcite.sql.type.SqlTypeName)">getMaxPrecision</a>, <a href="../rel/type/DelegatingTypeSystem.html#getMaxScale(org.apache.calcite.sql.type.SqlTypeName)">getMaxScale</a>, <a href="../rel/type/DelegatingTypeSystem.html#getNumTypeRadix(org.apache.calcite.sql.type.SqlTypeName)">getNumTypeRadix</a>, <a href="../rel/type/DelegatingTypeSystem.html#isAutoincrement(org.apache.calcite.sql.type.SqlTypeName)">isAutoincrement</a>, <a href="../rel/type/DelegatingTypeSystem.html#isCaseSensitive(org.apache.calcite.sql.type.SqlTypeName)">isCaseSensitive</a>, <a href="../rel/type/DelegatingTypeSystem.html#isSchemaCaseSensitive()">isSchemaCaseSensitive</a>, <a href="../rel/type/DelegatingTypeSystem.html#shouldConvertRaggedUnionTypesToVarying()">shouldConvertRaggedUnionTypesToVarying</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.apache.calcite.rel.type.RelDataTypeSystem">Methods inherited from interface org.apache.calcite.rel.type.<a href="../rel/type/RelDataTypeSystem.html" title="interface in org.apache.calcite.rel.type">RelDataTypeSystem</a></h3> |
| <code><a href="../rel/type/RelDataTypeSystem.html#deriveDecimalDivideType(org.apache.calcite.rel.type.RelDataTypeFactory,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataType)">deriveDecimalDivideType</a>, <a href="../rel/type/RelDataTypeSystem.html#deriveDecimalModType(org.apache.calcite.rel.type.RelDataTypeFactory,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataType)">deriveDecimalModType</a>, <a href="../rel/type/RelDataTypeSystem.html#deriveDecimalMultiplyType(org.apache.calcite.rel.type.RelDataTypeFactory,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataType)">deriveDecimalMultiplyType</a>, <a href="../rel/type/RelDataTypeSystem.html#deriveDecimalPlusType(org.apache.calcite.rel.type.RelDataTypeFactory,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataType)">deriveDecimalPlusType</a>, <a href="../rel/type/RelDataTypeSystem.html#shouldUseDoubleMultiplication(org.apache.calcite.rel.type.RelDataTypeFactory,org.apache.calcite.rel.type.RelDataType,org.apache.calcite.rel.type.RelDataType)">shouldUseDoubleMultiplication</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li> |
| <section class="field-details" id="field-detail"> |
| <h2>Field Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="DELEGATE"> |
| <h3>DELEGATE</h3> |
| <div class="member-signature"><span class="modifiers">public static final</span> <span class="return-type"><a href="../util/TryThreadLocal.html" title="class in org.apache.calcite.util">TryThreadLocal</a><<a href="../rel/type/RelDataTypeSystem.html" title="interface in org.apache.calcite.rel.type">RelDataTypeSystem</a>></span> <span class="element-name">DELEGATE</span></div> |
| <div class="block">Assign to this thread-local before you instantiate a FooTypeSystem |
| (in the same thread) and your FooTypeSystem will behave in the same |
| way.</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>()"> |
| <h3>CustomTimeFrameTypeSystem</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">CustomTimeFrameTypeSystem</span>()</div> |
| <div class="block">Creates a CustomTimeFrameTypeSystem, taking a snapshot of |
| <a href="#DELEGATE"><code>DELEGATE</code></a>.</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 2012-2023 Apache Software Foundation. All Rights Reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |