blob: a3f8590406ac3bf2af5171980096d1ac8c500ad4 [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>Drillbit (Drill : 1.20.3 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="Drillbit (Drill : 1.20.3 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":9,"i9":10,"i10":10,"i11":10,"i12":10,"i13":9,"i14":9,"i15":9,"i16":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</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 class="navBarCell1Rev">Class</li>
<li><a href="class-use/Drillbit.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">
<li><a href="../../../../../org/apache/drill/exec/server/BootStrapContext.html" title="class in org.apache.drill.exec.server"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/drill/exec/server/DrillbitContext.html" title="class in org.apache.drill.exec.server"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/drill/exec/server/Drillbit.html" target="_top">Frames</a></li>
<li><a href="Drillbit.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>
<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 name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.drill.exec.server</div>
<h2 title="Class Drillbit" class="title">Class Drillbit</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="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.drill.exec.server.Drillbit</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">Drillbit</span>
extends <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>
implements <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></pre>
<div class="block">Starts, tracks and stops all the required services for a Drillbit daemon to work.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <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></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#SYSTEM_OPTIONS_NAME">SYSTEM_OPTIONS_NAME</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#Drillbit-org.apache.drill.common.config.DrillConfig-org.apache.drill.common.map.CaseInsensitiveMap-org.apache.drill.exec.server.RemoteServiceSet-">Drillbit</a></span>(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../../org/apache/drill/common/map/CaseInsensitiveMap.html" title="class in org.apache.drill.common.map">CaseInsensitiveMap</a>&lt;<a href="../../../../../org/apache/drill/exec/server/options/OptionDefinition.html" title="class in org.apache.drill.exec.server.options">OptionDefinition</a>&gt;&nbsp;definitions,
<a href="../../../../../org/apache/drill/exec/server/RemoteServiceSet.html" title="class in org.apache.drill.exec.server">RemoteServiceSet</a>&nbsp;serviceSet)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#Drillbit-org.apache.drill.common.config.DrillConfig-org.apache.drill.common.map.CaseInsensitiveMap-org.apache.drill.exec.server.RemoteServiceSet-org.apache.drill.common.scanner.persistence.ScanResult-">Drillbit</a></span>(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../../org/apache/drill/common/map/CaseInsensitiveMap.html" title="class in org.apache.drill.common.map">CaseInsensitiveMap</a>&lt;<a href="../../../../../org/apache/drill/exec/server/options/OptionDefinition.html" title="class in org.apache.drill.exec.server.options">OptionDefinition</a>&gt;&nbsp;definitions,
<a href="../../../../../org/apache/drill/exec/server/RemoteServiceSet.html" title="class in org.apache.drill.exec.server">RemoteServiceSet</a>&nbsp;serviceSet,
<a href="../../../../../org/apache/drill/common/scanner/persistence/ScanResult.html" title="class in org.apache.drill.common.scanner.persistence">ScanResult</a>&nbsp;classpathScan)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#Drillbit-org.apache.drill.common.config.DrillConfig-org.apache.drill.exec.server.RemoteServiceSet-">Drillbit</a></span>(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../../org/apache/drill/exec/server/RemoteServiceSet.html" title="class in org.apache.drill.exec.server">RemoteServiceSet</a>&nbsp;serviceSet)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#Drillbit-org.apache.drill.common.config.DrillConfig-org.apache.drill.exec.server.RemoteServiceSet-org.apache.drill.common.scanner.persistence.ScanResult-">Drillbit</a></span>(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../../org/apache/drill/exec/server/RemoteServiceSet.html" title="class in org.apache.drill.exec.server">RemoteServiceSet</a>&nbsp;serviceSet,
<a href="../../../../../org/apache/drill/common/scanner/persistence/ScanResult.html" title="class in org.apache.drill.common.scanner.persistence">ScanResult</a>&nbsp;classpathScan)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#close--">close</a></span>()</code>
<div class="block">The drillbit is moved into Quiescent state and the drillbit waits for grace
period amount of time.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/server/DrillbitContext.html" title="class in org.apache.drill.exec.server">DrillbitContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#getContext--">getContext</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>org.apache.drill.exec.server.Drillbit.GracefulShutdownThread</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#getGracefulShutdownThread--">getGracefulShutdownThread</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/work/WorkManager.html" title="class in org.apache.drill.exec.work">WorkManager</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#getManager--">getManager</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/coord/ClusterCoordinator.RegistrationHandle.html" title="interface in org.apache.drill.exec.coord">ClusterCoordinator.RegistrationHandle</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#getRegistrationHandle--">getRegistrationHandle</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#getUserPort--">getUserPort</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/server/rest/WebServer.html" title="class in org.apache.drill.exec.server.rest">WebServer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#getWebServer--">getWebServer</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#getWebServerPort--">getWebServerPort</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#main-java.lang.String:A-">main</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;cli)</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#run--">run</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#setForcefulShutdown-boolean-">setForcefulShutdown</a></span>(boolean&nbsp;forcefulShutdown)</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#setQuiescentMode-boolean-">setQuiescentMode</a></span>(boolean&nbsp;quiescentMode)</code>&nbsp;</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#shutdown--">shutdown</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/drill/exec/server/Drillbit.html" title="class in org.apache.drill.exec.server">Drillbit</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#start-org.apache.drill.common.config.DrillConfig-">start</a></span>(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config)</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/drill/exec/server/Drillbit.html" title="class in org.apache.drill.exec.server">Drillbit</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#start-org.apache.drill.common.config.DrillConfig-org.apache.drill.common.map.CaseInsensitiveMap-org.apache.drill.exec.server.RemoteServiceSet-">start</a></span>(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../../org/apache/drill/common/map/CaseInsensitiveMap.html" title="class in org.apache.drill.common.map">CaseInsensitiveMap</a>&lt;<a href="../../../../../org/apache/drill/exec/server/options/OptionDefinition.html" title="class in org.apache.drill.exec.server.options">OptionDefinition</a>&gt;&nbsp;validators,
<a href="../../../../../org/apache/drill/exec/server/RemoteServiceSet.html" title="class in org.apache.drill.exec.server">RemoteServiceSet</a>&nbsp;remoteServiceSet)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/drill/exec/server/Drillbit.html" title="class in org.apache.drill.exec.server">Drillbit</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#start-org.apache.drill.common.config.DrillConfig-org.apache.drill.exec.server.RemoteServiceSet-">start</a></span>(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../../org/apache/drill/exec/server/RemoteServiceSet.html" title="class in org.apache.drill.exec.server">RemoteServiceSet</a>&nbsp;remoteServiceSet)</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../org/apache/drill/exec/server/Drillbit.html" title="class in org.apache.drill.exec.server">Drillbit</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/server/Drillbit.html#start-org.apache.drill.exec.server.StartupOptions-">start</a></span>(<a href="../../../../../org/apache/drill/exec/server/StartupOptions.html" title="class in org.apache.drill.exec.server">StartupOptions</a>&nbsp;options)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<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></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in 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="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="SYSTEM_OPTIONS_NAME">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SYSTEM_OPTIONS_NAME</h4>
<pre>public static final&nbsp;<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> SYSTEM_OPTIONS_NAME</pre>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../constant-values.html#org.apache.drill.exec.server.Drillbit.SYSTEM_OPTIONS_NAME">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Drillbit-org.apache.drill.common.config.DrillConfig-org.apache.drill.exec.server.RemoteServiceSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Drillbit</h4>
<pre>public&nbsp;Drillbit(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../../org/apache/drill/exec/server/RemoteServiceSet.html" title="class in org.apache.drill.exec.server">RemoteServiceSet</a>&nbsp;serviceSet)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="Drillbit-org.apache.drill.common.config.DrillConfig-org.apache.drill.common.map.CaseInsensitiveMap-org.apache.drill.exec.server.RemoteServiceSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Drillbit</h4>
<pre>public&nbsp;Drillbit(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../../org/apache/drill/common/map/CaseInsensitiveMap.html" title="class in org.apache.drill.common.map">CaseInsensitiveMap</a>&lt;<a href="../../../../../org/apache/drill/exec/server/options/OptionDefinition.html" title="class in org.apache.drill.exec.server.options">OptionDefinition</a>&gt;&nbsp;definitions,
<a href="../../../../../org/apache/drill/exec/server/RemoteServiceSet.html" title="class in org.apache.drill.exec.server">RemoteServiceSet</a>&nbsp;serviceSet)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="Drillbit-org.apache.drill.common.config.DrillConfig-org.apache.drill.exec.server.RemoteServiceSet-org.apache.drill.common.scanner.persistence.ScanResult-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>Drillbit</h4>
<pre>public&nbsp;Drillbit(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../../org/apache/drill/exec/server/RemoteServiceSet.html" title="class in org.apache.drill.exec.server">RemoteServiceSet</a>&nbsp;serviceSet,
<a href="../../../../../org/apache/drill/common/scanner/persistence/ScanResult.html" title="class in org.apache.drill.common.scanner.persistence">ScanResult</a>&nbsp;classpathScan)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="Drillbit-org.apache.drill.common.config.DrillConfig-org.apache.drill.common.map.CaseInsensitiveMap-org.apache.drill.exec.server.RemoteServiceSet-org.apache.drill.common.scanner.persistence.ScanResult-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Drillbit</h4>
<pre>public&nbsp;Drillbit(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../../org/apache/drill/common/map/CaseInsensitiveMap.html" title="class in org.apache.drill.common.map">CaseInsensitiveMap</a>&lt;<a href="../../../../../org/apache/drill/exec/server/options/OptionDefinition.html" title="class in org.apache.drill.exec.server.options">OptionDefinition</a>&gt;&nbsp;definitions,
<a href="../../../../../org/apache/drill/exec/server/RemoteServiceSet.html" title="class in org.apache.drill.exec.server">RemoteServiceSet</a>&nbsp;serviceSet,
<a href="../../../../../org/apache/drill/common/scanner/persistence/ScanResult.html" title="class in org.apache.drill.common.scanner.persistence">ScanResult</a>&nbsp;classpathScan)
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setQuiescentMode-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setQuiescentMode</h4>
<pre>public&nbsp;void&nbsp;setQuiescentMode(boolean&nbsp;quiescentMode)</pre>
</li>
</ul>
<a name="setForcefulShutdown-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setForcefulShutdown</h4>
<pre>public&nbsp;void&nbsp;setForcefulShutdown(boolean&nbsp;forcefulShutdown)</pre>
</li>
</ul>
<a name="getRegistrationHandle--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRegistrationHandle</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/coord/ClusterCoordinator.RegistrationHandle.html" title="interface in org.apache.drill.exec.coord">ClusterCoordinator.RegistrationHandle</a>&nbsp;getRegistrationHandle()</pre>
</li>
</ul>
<a name="getUserPort--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserPort</h4>
<pre>public&nbsp;int&nbsp;getUserPort()</pre>
</li>
</ul>
<a name="getWebServerPort--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWebServerPort</h4>
<pre>public&nbsp;int&nbsp;getWebServerPort()</pre>
</li>
</ul>
<a name="getManager--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getManager</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/work/WorkManager.html" title="class in org.apache.drill.exec.work">WorkManager</a>&nbsp;getManager()</pre>
</li>
</ul>
<a name="getWebServer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWebServer</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/server/rest/WebServer.html" title="class in org.apache.drill.exec.server.rest">WebServer</a>&nbsp;getWebServer()</pre>
</li>
</ul>
<a name="run--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>run</h4>
<pre>public&nbsp;void&nbsp;run()
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</a></code></dd>
</dl>
</li>
</ul>
<a name="shutdown--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shutdown</h4>
<pre>public&nbsp;void&nbsp;shutdown()</pre>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()</pre>
<div class="block">The drillbit is moved into Quiescent state and the drillbit waits for grace
period amount of time. Then drillbit moves into draining state and waits
for all the queries and fragments to complete.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true#close--" title="class or interface in java.lang">close</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></code></dd>
</dl>
</li>
</ul>
<a name="getContext--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/server/DrillbitContext.html" title="class in org.apache.drill.exec.server">DrillbitContext</a>&nbsp;getContext()</pre>
</li>
</ul>
<a name="getGracefulShutdownThread--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGracefulShutdownThread</h4>
<pre>public&nbsp;org.apache.drill.exec.server.Drillbit.GracefulShutdownThread&nbsp;getGracefulShutdownThread()</pre>
</li>
</ul>
<a name="main-java.lang.String:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>main</h4>
<pre>public static&nbsp;void&nbsp;main(<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;cli)
throws <a href="../../../../../org/apache/drill/exec/exception/DrillbitStartupException.html" title="class in org.apache.drill.exec.exception">DrillbitStartupException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/exception/DrillbitStartupException.html" title="class in org.apache.drill.exec.exception">DrillbitStartupException</a></code></dd>
</dl>
</li>
</ul>
<a name="start-org.apache.drill.exec.server.StartupOptions-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/drill/exec/server/Drillbit.html" title="class in org.apache.drill.exec.server">Drillbit</a>&nbsp;start(<a href="../../../../../org/apache/drill/exec/server/StartupOptions.html" title="class in org.apache.drill.exec.server">StartupOptions</a>&nbsp;options)
throws <a href="../../../../../org/apache/drill/exec/exception/DrillbitStartupException.html" title="class in org.apache.drill.exec.exception">DrillbitStartupException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/exception/DrillbitStartupException.html" title="class in org.apache.drill.exec.exception">DrillbitStartupException</a></code></dd>
</dl>
</li>
</ul>
<a name="start-org.apache.drill.common.config.DrillConfig-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/drill/exec/server/Drillbit.html" title="class in org.apache.drill.exec.server">Drillbit</a>&nbsp;start(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config)
throws <a href="../../../../../org/apache/drill/exec/exception/DrillbitStartupException.html" title="class in org.apache.drill.exec.exception">DrillbitStartupException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/exception/DrillbitStartupException.html" title="class in org.apache.drill.exec.exception">DrillbitStartupException</a></code></dd>
</dl>
</li>
</ul>
<a name="start-org.apache.drill.common.config.DrillConfig-org.apache.drill.exec.server.RemoteServiceSet-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>start</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/drill/exec/server/Drillbit.html" title="class in org.apache.drill.exec.server">Drillbit</a>&nbsp;start(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../../org/apache/drill/exec/server/RemoteServiceSet.html" title="class in org.apache.drill.exec.server">RemoteServiceSet</a>&nbsp;remoteServiceSet)
throws <a href="../../../../../org/apache/drill/exec/exception/DrillbitStartupException.html" title="class in org.apache.drill.exec.exception">DrillbitStartupException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/exception/DrillbitStartupException.html" title="class in org.apache.drill.exec.exception">DrillbitStartupException</a></code></dd>
</dl>
</li>
</ul>
<a name="start-org.apache.drill.common.config.DrillConfig-org.apache.drill.common.map.CaseInsensitiveMap-org.apache.drill.exec.server.RemoteServiceSet-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>start</h4>
<pre>public static&nbsp;<a href="../../../../../org/apache/drill/exec/server/Drillbit.html" title="class in org.apache.drill.exec.server">Drillbit</a>&nbsp;start(<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../../org/apache/drill/common/map/CaseInsensitiveMap.html" title="class in org.apache.drill.common.map">CaseInsensitiveMap</a>&lt;<a href="../../../../../org/apache/drill/exec/server/options/OptionDefinition.html" title="class in org.apache.drill.exec.server.options">OptionDefinition</a>&gt;&nbsp;validators,
<a href="../../../../../org/apache/drill/exec/server/RemoteServiceSet.html" title="class in org.apache.drill.exec.server">RemoteServiceSet</a>&nbsp;remoteServiceSet)
throws <a href="../../../../../org/apache/drill/exec/exception/DrillbitStartupException.html" title="class in org.apache.drill.exec.exception">DrillbitStartupException</a></pre>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/exception/DrillbitStartupException.html" title="class in org.apache.drill.exec.exception">DrillbitStartupException</a></code></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="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 class="navBarCell1Rev">Class</li>
<li><a href="class-use/Drillbit.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">
<li><a href="../../../../../org/apache/drill/exec/server/BootStrapContext.html" title="class in org.apache.drill.exec.server"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/drill/exec/server/DrillbitContext.html" title="class in org.apache.drill.exec.server"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/drill/exec/server/Drillbit.html" target="_top">Frames</a></li>
<li><a href="Drillbit.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>
<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 name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 1970 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>