blob: 488d58255362e946772fec7e63d05452f4bb0891 [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>Context (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="Context (Apache Calcite calcite API)";
}
}
catch(err) {
}
//-->
</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/plan/CommonRelSubExprRule.html" title="org.apache.calcite.plan中的类"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../org/apache/calcite/plan/Contexts.html" title="org.apache.calcite.plan中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/calcite/plan/Context.html" target="_top">框架</a></li>
<li><a href="Context.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>嵌套&nbsp;|&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li>方法</li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li>方法</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.plan</div>
<h2 title="接口 Context" class="title">接口 Context</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>所有超级接口:</dt>
<dd><a href="../../../../org/apache/calcite/schema/Wrapper.html" title="org.apache.calcite.schema中的接口">Wrapper</a></dd>
</dl>
<dl>
<dt>所有已知实现类:</dt>
<dd><a href="../../../../org/apache/calcite/sql/fun/SqlAbstractGroupFunction.html" title="org.apache.calcite.sql.fun中的类">SqlAbstractGroupFunction</a>, <a href="../../../../org/apache/calcite/sql/SqlAggFunction.html" title="org.apache.calcite.sql中的类">SqlAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlAnyValueAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlAnyValueAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlAvgAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlAvgAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlBitOpAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlBitOpAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlCountAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlCountAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlCovarAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlCovarAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlFirstLastValueAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlFirstLastValueAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlHistogramAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlHistogramAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlJsonArrayAggAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlJsonArrayAggAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlJsonObjectAggAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlJsonObjectAggAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlLeadLagAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlLeadLagAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlMinMaxAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlMinMaxAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlNthValueAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlNthValueAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlNtileAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlNtileAggFunction</a>, <a href="../../../../org/apache/calcite/sql/SqlRankFunction.html" title="org.apache.calcite.sql中的类">SqlRankFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlRegrCountAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlRegrCountAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlSingleValueAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlSingleValueAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlSumAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlSumAggFunction</a>, <a href="../../../../org/apache/calcite/sql/fun/SqlSumEmptyIsZeroAggFunction.html" title="org.apache.calcite.sql.fun中的类">SqlSumEmptyIsZeroAggFunction</a>, <a href="../../../../org/apache/calcite/sql/validate/SqlUserDefinedAggFunction.html" title="org.apache.calcite.sql.validate中的类">SqlUserDefinedAggFunction</a></dd>
</dl>
<hr>
<br>
<pre>public interface <span class="typeNameLabel">Context</span>
extends <a href="../../../../org/apache/calcite/schema/Wrapper.html" title="org.apache.calcite.schema中的接口">Wrapper</a></pre>
<div class="block">Provides library users a way to store data within the planner session and
access it within rules. Frameworks can implement their own implementation
of Context and pass that as part of the FrameworkConfig.
<p>Simply implement the <a href="../../../../org/apache/calcite/schema/Wrapper.html#unwrap-java.lang.Class-"><code>Wrapper.unwrap(java.lang.Class&lt;C&gt;)</code></a> method to return any sub-objects
that you wish to provide.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>方法概要</h3>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.calcite.schema.Wrapper">
<!-- -->
</a>
<h3>从接口继承的方法&nbsp;org.apache.calcite.schema.<a href="../../../../org/apache/calcite/schema/Wrapper.html" title="org.apache.calcite.schema中的接口">Wrapper</a></h3>
<code><a href="../../../../org/apache/calcite/schema/Wrapper.html#unwrap-java.lang.Class-">unwrap</a></code></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/plan/CommonRelSubExprRule.html" title="org.apache.calcite.plan中的类"><span class="typeNameLink">上一个类</span></a></li>
<li><a href="../../../../org/apache/calcite/plan/Contexts.html" title="org.apache.calcite.plan中的类"><span class="typeNameLink">下一个类</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/calcite/plan/Context.html" target="_top">框架</a></li>
<li><a href="Context.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>嵌套&nbsp;|&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li>方法</li>
</ul>
<ul class="subNavList">
<li>详细资料:&nbsp;</li>
<li>字段&nbsp;|&nbsp;</li>
<li>构造器&nbsp;|&nbsp;</li>
<li>方法</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>