blob: f7156ef6d9caf7d6a3bbc7d3ccb05e32a8f116b0 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>CalciteAssert.AssertThat (Calcite 1.20.0 Test API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="CalciteAssert.AssertThat (Calcite 1.20.0 Test API)";
}
}
catch(err) {
}
//-->
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/CalciteAssert.AssertThat.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</a></li>
</ul>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!-- ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.apache.calcite.test</a></div>
<h2 title="Class CalciteAssert.AssertThat" class="title">Class CalciteAssert.AssertThat</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>org.apache.calcite.test.CalciteAssert.AssertThat</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>Enclosing class:</dt>
<dd><a href="CalciteAssert.html" title="class in org.apache.calcite.test">CalciteAssert</a></dd>
</dl>
<hr>
<pre>public static class <span class="typeNameLabel">CalciteAssert.AssertThat</span>
extends java.lang.Object</pre>
<div class="block">Result of calling <a href="CalciteAssert.html#that()"><code>CalciteAssert.that()</code></a>.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private <a href="CalciteAssert.ConnectionFactory.html" title="class in org.apache.calcite.test">CalciteAssert.ConnectionFactory</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#connectionFactory">connectionFactory</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private static <a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#EMPTY">EMPTY</a></span></code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colSecond" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private </code></td>
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.apache.calcite.test.CalciteAssert.ConnectionFactory)">AssertThat</a></span>&#8203;(<a href="CalciteAssert.ConnectionFactory.html" title="class in org.apache.calcite.test">CalciteAssert.ConnectionFactory</a>&nbsp;connectionFactory)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</table>
</li>
</ul>
</section>
<!-- ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>java.sql.Connection</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#connect()">connect</a></span>()</code></th>
<td class="colLast">
<div class="block">Use sparingly.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#connectThrows(java.lang.String)">connectThrows</a></span>&#8203;(java.lang.String&nbsp;message)</code></th>
<td class="colLast">
<div class="block">Asserts that there is an exception with the given message while
creating a connection.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#connectThrows(java.util.function.Consumer)">connectThrows</a></span>&#8203;(java.util.function.Consumer&lt;java.lang.Throwable&gt;&nbsp;exceptionChecker)</code></th>
<td class="colLast">
<div class="block">Asserts that there is an exception that matches the given predicate
while creating a connection.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doWithConnection(java.util.function.Consumer)">doWithConnection</a></span>&#8203;(java.util.function.Consumer&lt;org.apache.calcite.jdbc.CalciteConnection&gt;&nbsp;fn)</code></th>
<td class="colLast">
<div class="block">Creates a <code>CalciteConnection</code>
and executes a callback that returns no result.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doWithConnection(java.util.function.Function)">doWithConnection</a></span>&#8203;(java.util.function.Function&lt;org.apache.calcite.jdbc.CalciteConnection,&#8203;T&gt;&nbsp;fn)</code></th>
<td class="colLast">
<div class="block">Creates a <code>CalciteConnection</code>
and executes a callback.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>&lt;T&gt;&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#doWithDataContext(java.util.function.Function)">doWithDataContext</a></span>&#8203;(java.util.function.Function&lt;org.apache.calcite.DataContext,&#8203;T&gt;&nbsp;fn)</code></th>
<td class="colLast">
<div class="block">Creates a <code>DataContext</code> and executes a callback.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#enable(boolean)">enable</a></span>&#8203;(boolean&nbsp;enabled)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertMetaData.html" title="class in org.apache.calcite.test">CalciteAssert.AssertMetaData</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#metaData(java.util.function.Function)">metaData</a></span>&#8203;(java.util.function.Function&lt;java.sql.Connection,&#8203;java.sql.ResultSet&gt;&nbsp;function)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pooled()">pooled</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a version that uses a single connection, as opposed to creating
a new one each time a test method is invoked.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertQuery.html" title="class in org.apache.calcite.test">CalciteAssert.AssertQuery</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#query(java.lang.String)">query</a></span>&#8203;(java.lang.String&nbsp;sql)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(java.lang.String,java.lang.Object)">with</a></span>&#8203;(java.lang.String&nbsp;property,
java.lang.Object&nbsp;value)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(java.util.Map)">with</a></span>&#8203;(java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;map)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(org.apache.calcite.avatica.ConnectionProperty,java.lang.Object)">with</a></span>&#8203;(org.apache.calcite.avatica.ConnectionProperty&nbsp;property,
java.lang.Object&nbsp;value)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(org.apache.calcite.config.Lex)">with</a></span>&#8203;(org.apache.calcite.config.Lex&nbsp;lex)</code></th>
<td class="colLast">
<div class="block">Sets Lex property</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(org.apache.calcite.test.CalciteAssert.Config)">with</a></span>&#8203;(<a href="CalciteAssert.Config.html" title="enum in org.apache.calcite.test">CalciteAssert.Config</a>&nbsp;config)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(org.apache.calcite.test.CalciteAssert.ConnectionFactory)">with</a></span>&#8203;(<a href="CalciteAssert.ConnectionFactory.html" title="class in org.apache.calcite.test">CalciteAssert.ConnectionFactory</a>&nbsp;connectionFactory)</code></th>
<td class="colLast">
<div class="block">Creates a copy of this AssertThat, overriding the connection factory.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(org.apache.calcite.test.CalciteAssert.ConnectionPostProcessor)">with</a></span>&#8203;(<a href="CalciteAssert.ConnectionPostProcessor.html" title="interface in org.apache.calcite.test">CalciteAssert.ConnectionPostProcessor</a>&nbsp;postProcessor)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(org.apache.calcite.test.CalciteAssert.SchemaSpec...)">with</a></span>&#8203;(<a href="CalciteAssert.SchemaSpec.html" title="enum in org.apache.calcite.test">CalciteAssert.SchemaSpec</a>...&nbsp;specs)</code></th>
<td class="colLast">
<div class="block">Creates a copy of this AssertThat, adding more schemas</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withDefaultSchema(java.lang.String)">withDefaultSchema</a></span>&#8203;(java.lang.String&nbsp;schema)</code></th>
<td class="colLast">
<div class="block">Sets the default schema of the connection.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withMaterializations(java.lang.String,boolean,java.lang.String...)">withMaterializations</a></span>&#8203;(java.lang.String&nbsp;model,
boolean&nbsp;existing,
java.lang.String...&nbsp;materializations)</code></th>
<td class="colLast">
<div class="block">Adds materializations to the schema.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withMaterializations(java.lang.String,java.lang.String...)">withMaterializations</a></span>&#8203;(java.lang.String&nbsp;model,
java.lang.String...&nbsp;materializations)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withMaterializations(java.lang.String,java.util.function.Function)">withMaterializations</a></span>&#8203;(java.lang.String&nbsp;model,
java.util.function.Function&lt;org.apache.calcite.util.JsonBuilder,&#8203;java.util.List&lt;java.lang.Object&gt;&gt;&nbsp;materializations)</code></th>
<td class="colLast">
<div class="block">Adds materializations to the schema.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withModel(java.lang.String)">withModel</a></span>&#8203;(java.lang.String&nbsp;model)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withModel(java.net.URL)">withModel</a></span>&#8203;(java.net.URL&nbsp;model)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withSchema(java.lang.String,org.apache.calcite.schema.Schema)">withSchema</a></span>&#8203;(java.lang.String&nbsp;name,
org.apache.calcite.schema.Schema&nbsp;schema)</code></th>
<td class="colLast">
<div class="block">Sets the default schema to a given schema.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a id="connectionFactory">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connectionFactory</h4>
<pre>private final&nbsp;<a href="CalciteAssert.ConnectionFactory.html" title="class in org.apache.calcite.test">CalciteAssert.ConnectionFactory</a> connectionFactory</pre>
</li>
</ul>
<a id="EMPTY">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>EMPTY</h4>
<pre>private static final&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a> EMPTY</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a id="&lt;init&gt;(org.apache.calcite.test.CalciteAssert.ConnectionFactory)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>AssertThat</h4>
<pre>private&nbsp;AssertThat&#8203;(<a href="CalciteAssert.ConnectionFactory.html" title="class in org.apache.calcite.test">CalciteAssert.ConnectionFactory</a>&nbsp;connectionFactory)</pre>
</li>
</ul>
</li>
</ul>
</section>
<!-- ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a id="with(org.apache.calcite.test.CalciteAssert.Config)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>with</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;with&#8203;(<a href="CalciteAssert.Config.html" title="enum in org.apache.calcite.test">CalciteAssert.Config</a>&nbsp;config)</pre>
</li>
</ul>
<a id="with(org.apache.calcite.test.CalciteAssert.SchemaSpec...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>with</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;with&#8203;(<a href="CalciteAssert.SchemaSpec.html" title="enum in org.apache.calcite.test">CalciteAssert.SchemaSpec</a>...&nbsp;specs)</pre>
<div class="block">Creates a copy of this AssertThat, adding more schemas</div>
</li>
</ul>
<a id="with(org.apache.calcite.test.CalciteAssert.ConnectionFactory)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>with</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;with&#8203;(<a href="CalciteAssert.ConnectionFactory.html" title="class in org.apache.calcite.test">CalciteAssert.ConnectionFactory</a>&nbsp;connectionFactory)</pre>
<div class="block">Creates a copy of this AssertThat, overriding the connection factory.</div>
</li>
</ul>
<a id="with(java.util.Map)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>with</h4>
<pre class="methodSignature">public final&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;with&#8203;(java.util.Map&lt;java.lang.String,&#8203;java.lang.String&gt;&nbsp;map)</pre>
</li>
</ul>
<a id="with(java.lang.String,java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>with</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;with&#8203;(java.lang.String&nbsp;property,
java.lang.Object&nbsp;value)</pre>
</li>
</ul>
<a id="with(org.apache.calcite.avatica.ConnectionProperty,java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>with</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;with&#8203;(org.apache.calcite.avatica.ConnectionProperty&nbsp;property,
java.lang.Object&nbsp;value)</pre>
</li>
</ul>
<a id="with(org.apache.calcite.config.Lex)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>with</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;with&#8203;(org.apache.calcite.config.Lex&nbsp;lex)</pre>
<div class="block">Sets Lex property</div>
</li>
</ul>
<a id="withSchema(java.lang.String,org.apache.calcite.schema.Schema)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withSchema</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;withSchema&#8203;(java.lang.String&nbsp;name,
org.apache.calcite.schema.Schema&nbsp;schema)</pre>
<div class="block">Sets the default schema to a given schema.</div>
</li>
</ul>
<a id="withDefaultSchema(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withDefaultSchema</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;withDefaultSchema&#8203;(java.lang.String&nbsp;schema)</pre>
<div class="block">Sets the default schema of the connection. Schema name may be null.</div>
</li>
</ul>
<a id="with(org.apache.calcite.test.CalciteAssert.ConnectionPostProcessor)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>with</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;with&#8203;(<a href="CalciteAssert.ConnectionPostProcessor.html" title="interface in org.apache.calcite.test">CalciteAssert.ConnectionPostProcessor</a>&nbsp;postProcessor)</pre>
</li>
</ul>
<a id="withModel(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withModel</h4>
<pre class="methodSignature">public final&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;withModel&#8203;(java.lang.String&nbsp;model)</pre>
</li>
</ul>
<a id="withModel(java.net.URL)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withModel</h4>
<pre class="methodSignature">public final&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;withModel&#8203;(java.net.URL&nbsp;model)</pre>
</li>
</ul>
<a id="withMaterializations(java.lang.String,java.lang.String...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withMaterializations</h4>
<pre class="methodSignature">public final&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;withMaterializations&#8203;(java.lang.String&nbsp;model,
java.lang.String...&nbsp;materializations)</pre>
</li>
</ul>
<a id="withMaterializations(java.lang.String,boolean,java.lang.String...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withMaterializations</h4>
<pre class="methodSignature">public final&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;withMaterializations&#8203;(java.lang.String&nbsp;model,
boolean&nbsp;existing,
java.lang.String...&nbsp;materializations)</pre>
<div class="block">Adds materializations to the schema.</div>
</li>
</ul>
<a id="withMaterializations(java.lang.String,java.util.function.Function)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withMaterializations</h4>
<pre class="methodSignature">public final&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;withMaterializations&#8203;(java.lang.String&nbsp;model,
java.util.function.Function&lt;org.apache.calcite.util.JsonBuilder,&#8203;java.util.List&lt;java.lang.Object&gt;&gt;&nbsp;materializations)</pre>
<div class="block">Adds materializations to the schema.</div>
</li>
</ul>
<a id="query(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>query</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertQuery.html" title="class in org.apache.calcite.test">CalciteAssert.AssertQuery</a>&nbsp;query&#8203;(java.lang.String&nbsp;sql)</pre>
</li>
</ul>
<a id="connectThrows(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connectThrows</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;connectThrows&#8203;(java.lang.String&nbsp;message)</pre>
<div class="block">Asserts that there is an exception with the given message while
creating a connection.</div>
</li>
</ul>
<a id="connectThrows(java.util.function.Consumer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connectThrows</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;connectThrows&#8203;(java.util.function.Consumer&lt;java.lang.Throwable&gt;&nbsp;exceptionChecker)</pre>
<div class="block">Asserts that there is an exception that matches the given predicate
while creating a connection.</div>
</li>
</ul>
<a id="doWithConnection(java.util.function.Function)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doWithConnection</h4>
<pre class="methodSignature">public&nbsp;&lt;T&gt;&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;doWithConnection&#8203;(java.util.function.Function&lt;org.apache.calcite.jdbc.CalciteConnection,&#8203;T&gt;&nbsp;fn)
throws java.lang.Exception</pre>
<div class="block">Creates a <code>CalciteConnection</code>
and executes a callback.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="doWithConnection(java.util.function.Consumer)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doWithConnection</h4>
<pre class="methodSignature">public final&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;doWithConnection&#8203;(java.util.function.Consumer&lt;org.apache.calcite.jdbc.CalciteConnection&gt;&nbsp;fn)
throws java.lang.Exception</pre>
<div class="block">Creates a <code>CalciteConnection</code>
and executes a callback that returns no result.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="doWithDataContext(java.util.function.Function)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>doWithDataContext</h4>
<pre class="methodSignature">public&nbsp;&lt;T&gt;&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;doWithDataContext&#8203;(java.util.function.Function&lt;org.apache.calcite.DataContext,&#8203;T&gt;&nbsp;fn)
throws java.lang.Exception</pre>
<div class="block">Creates a <code>DataContext</code> and executes a callback.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd>
</dl>
</li>
</ul>
<a id="connect()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connect</h4>
<pre class="methodSignature">public&nbsp;java.sql.Connection&nbsp;connect()
throws java.sql.SQLException</pre>
<div class="block">Use sparingly. Does not close the connection.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd>
</dl>
</li>
</ul>
<a id="enable(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>enable</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;enable&#8203;(boolean&nbsp;enabled)</pre>
</li>
</ul>
<a id="pooled()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pooled</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertThat.html" title="class in org.apache.calcite.test">CalciteAssert.AssertThat</a>&nbsp;pooled()</pre>
<div class="block">Returns a version that uses a single connection, as opposed to creating
a new one each time a test method is invoked.</div>
</li>
</ul>
<a id="metaData(java.util.function.Function)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>metaData</h4>
<pre class="methodSignature">public&nbsp;<a href="CalciteAssert.AssertMetaData.html" title="class in org.apache.calcite.test">CalciteAssert.AssertMetaData</a>&nbsp;metaData&#8203;(java.util.function.Function&lt;java.sql.Connection,&#8203;java.sql.ResultSet&gt;&nbsp;function)</pre>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!-- ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/CalciteAssert.AssertThat.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses.html">All&nbsp;Classes</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>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2012&#x2013;2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</footer>
</body>
</html>