blob: 5d3f07d563d65a6aff92b2d3d6eff65c5cb70944 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.apache.drill.test.ClusterFixtureBuilder (Drill : 1.20.0 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="Uses of Class org.apache.drill.test.ClusterFixtureBuilder (Drill : 1.20.0 API)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../../overview-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">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/drill/test/class-use/ClusterFixtureBuilder.html" target="_top">Frames</a></li>
<li><a href="ClusterFixtureBuilder.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</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>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class org.apache.drill.test.ClusterFixtureBuilder" class="title">Uses of Class<br>org.apache.drill.test.ClusterFixtureBuilder</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#org.apache.drill.test">org.apache.drill.test</a></td>
<td class="colLast">
<div class="block">
Provides a variety of test framework tools to simplify Drill unit
tests and ad-hoc tests created while developing features.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="org.apache.drill.test">
<!-- -->
</a>
<h3>Uses of <a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a> in <a href="../../../../../org/apache/drill/test/package-summary.html">org.apache.drill.test</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/drill/test/package-summary.html">org.apache.drill.test</a> that return <a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixture.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixture.html#bareBuilder-org.apache.drill.test.BaseDirTestWatcher-">bareBuilder</a></span>(<a href="../../../../../org/apache/drill/test/BaseDirTestWatcher.html" title="class in org.apache.drill.test">BaseDirTestWatcher</a>&nbsp;dirTestWatcher)</code>
<div class="block">Return a cluster builder without any of the usual defaults.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixture.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixture.html#builder-org.apache.drill.test.BaseDirTestWatcher-">builder</a></span>(<a href="../../../../../org/apache/drill/test/BaseDirTestWatcher.html" title="class in org.apache.drill.test">BaseDirTestWatcher</a>&nbsp;dirTestWatcher)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#clusterSize-int-">clusterSize</a></span>(int&nbsp;n)</code>
<div class="block">The number of Drillbits to start in the cluster.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#configClientProperty-java.lang.String-java.lang.Object-">configClientProperty</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Add an additional property for the client connection URL.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#configNonStringProperty-java.lang.String-java.lang.Object-">configNonStringProperty</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Non-string <a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#configProperty-java.lang.String-java.lang.Object-"><code>configProperty(java.lang.String, java.lang.Object)</code></a></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#configProperty-java.lang.String-java.lang.Object-">configProperty</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Add an additional boot-time property for the embedded Drillbit.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#configResource-java.lang.String-">configResource</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;configResource)</code>
<div class="block">Use the given configuration file, stored as a resource, to start the
embedded Drillbit.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#maxParallelization-int-">maxParallelization</a></span>(int&nbsp;n)</code>
<div class="block">Set the maximum parallelization (max width per node).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#putDefinition-org.apache.drill.exec.server.options.OptionDefinition-">putDefinition</a></span>(<a href="../../../../../org/apache/drill/exec/server/options/OptionDefinition.html" title="class in org.apache.drill.exec.server.options">OptionDefinition</a>&nbsp;definition)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#saveProfiles--">saveProfiles</a></span>()</code>
<div class="block">Enable saving of query profiles.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#sessionOption-java.lang.String-java.lang.Object-">sessionOption</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Provide a session option to be set once the Drillbit
is started.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#setOptionDefault-java.lang.String-java.lang.Object-">setOptionDefault</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#systemOption-java.lang.String-java.lang.Object-">systemOption</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>
<div class="block">Provide a system option to be set once the Drillbit
is started.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#withBits-java.lang.String...-">withBits</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;bitNames)</code>
<div class="block">Define a cluster by providing names to the Drillbits.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#withLocalZk--">withLocalZk</a></span>()</code>
<div class="block">By default the embedded Drillbits use an in-memory cluster coordinator.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#withLocalZk-int-">withLocalZk</a></span>(int&nbsp;count)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#withRemoteZk-java.lang.String-">withRemoteZk</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;connStr)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></code></td>
<td class="colLast"><span class="typeNameLabel">ClusterFixtureBuilder.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html#withZk-org.apache.drill.exec.ZookeeperHelper-">withZk</a></span>(<a href="../../../../../org/apache/drill/exec/ZookeeperHelper.html" title="class in org.apache.drill.exec">ZookeeperHelper</a>&nbsp;zk)</code>
<div class="block">Run the cluster using a Zookeeper started externally.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../../org/apache/drill/test/package-summary.html">org.apache.drill.test</a> with parameters of type <a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>protected static void</code></td>
<td class="colLast"><span class="typeNameLabel">ClusterTest.</span><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/test/ClusterTest.html#startCluster-org.apache.drill.test.ClusterFixtureBuilder-">startCluster</a></span>(<a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">ClusterFixtureBuilder</a>&nbsp;builder)</code>&nbsp;</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="../package-summary.html">Package</a></li>
<li><a href="../../../../../org/apache/drill/test/ClusterFixtureBuilder.html" title="class in org.apache.drill.test">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../../../../../overview-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">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/drill/test/class-use/ClusterFixtureBuilder.html" target="_top">Frames</a></li>
<li><a href="ClusterFixtureBuilder.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.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>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>