blob: f1968fcf78861bd39c939fbaf6b9e70d384202f4 [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>FragmentContextImpl (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="FragmentContextImpl (Drill : 1.20.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":42,"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,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/FragmentContextImpl.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/ops/FragmentContext.ExecutorState.html" title="interface in org.apache.drill.exec.ops"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/drill/exec/ops/FragmentContextInterface.html" title="interface in org.apache.drill.exec.ops"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/drill/exec/ops/FragmentContextImpl.html" target="_top">Frames</a></li>
<li><a href="FragmentContextImpl.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>Field&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>Field&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.ops</div>
<h2 title="Class FragmentContextImpl" class="title">Class FragmentContextImpl</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><a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html" title="class in org.apache.drill.exec.ops">org.apache.drill.exec.ops.BaseFragmentContext</a></li>
<li>
<ul class="inheritance">
<li>org.apache.drill.exec.ops.FragmentContextImpl</li>
</ul>
</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>, <a href="../../../../../org/apache/drill/exec/ops/ExchangeFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExchangeFragmentContext</a>, <a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a>, <a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a>, <a href="../../../../../org/apache/drill/exec/ops/RootFragmentContext.html" title="interface in org.apache.drill.exec.ops">RootFragmentContext</a>, <a href="../../../../../org/apache/drill/exec/ops/UdfUtilities.html" title="interface in org.apache.drill.exec.ops">UdfUtilities</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="typeNameLabel">FragmentContextImpl</span>
extends <a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html" title="class in org.apache.drill.exec.ops">BaseFragmentContext</a>
implements <a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></pre>
<div class="block">This is the core Context which implements all the Context interfaces:
<ul>
<li><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops"><code>FragmentContext</code></a>: A context provided to non-exchange
operators.</li>
<li><a href="../../../../../org/apache/drill/exec/ops/ExchangeFragmentContext.html" title="interface in org.apache.drill.exec.ops"><code>ExchangeFragmentContext</code></a>: A context provided to exchange
operators.</li>
<li><a href="../../../../../org/apache/drill/exec/ops/RootFragmentContext.html" title="interface in org.apache.drill.exec.ops"><code>RootFragmentContext</code></a>: A context provided to fragment roots.</li>
<li><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops"><code>ExecutorFragmentContext</code></a>: A context used by the Drillbit.</li>
</ul>
The interfaces above expose resources to varying degrees. They are ordered
from most restrictive (<a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops"><code>FragmentContext</code></a>) to least restrictive
(<a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops"><code>ExecutorFragmentContext</code></a>).
</p>
<p>
Since <a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html" title="class in org.apache.drill.exec.ops"><code>FragmentContextImpl</code></a> implements all of the interfaces listed
above, the facade pattern is used in order to cast a
<a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html" title="class in org.apache.drill.exec.ops"><code>FragmentContextImpl</code></a> object to the desired interface where-ever it is
needed. The facade pattern is powerful since it allows us to easily create
minimal context objects to be used in unit tests. Without the use of
interfaces and the facade pattern we would have to create a complete
<a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html" title="class in org.apache.drill.exec.ops"><code>FragmentContextImpl</code></a> object to unit test any part of the code that
depends on a context.
</p>
<p>
<b>General guideline:</b> Use the most narrow interface for the task. For
example, "internal" operators don't need visibility to the networking
functionality. Using the narrow interface allows unit testing without using
mocking libraries. Often, the surrounding structure already has exposed the
most narrow interface. If there are opportunities to clean up older code, we
can do so as needed to make testing easier.
</p></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested.class.summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.drill.exec.ops.FragmentContext">
<!-- -->
</a>
<h3>Nested classes/interfaces inherited from interface&nbsp;org.apache.drill.exec.ops.<a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></h3>
<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.ExecutorState.html" title="interface in org.apache.drill.exec.ops">FragmentContext.ExecutorState</a></code></li>
</ul>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.drill.exec.ops.UdfUtilities">
<!-- -->
</a>
<h3>Fields inherited from interface&nbsp;org.apache.drill.exec.ops.<a href="../../../../../org/apache/drill/exec/ops/UdfUtilities.html" title="interface in org.apache.drill.exec.ops">UdfUtilities</a></h3>
<code><a href="../../../../../org/apache/drill/exec/ops/UdfUtilities.html#INJECTABLE_GETTER_METHODS">INJECTABLE_GETTER_METHODS</a></code></li>
</ul>
</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/ops/FragmentContextImpl.html#FragmentContextImpl-org.apache.drill.exec.server.DrillbitContext-org.apache.drill.exec.proto.BitControl.PlanFragment-org.apache.drill.exec.expr.fn.FunctionImplementationRegistry-">FragmentContextImpl</a></span>(<a href="../../../../../org/apache/drill/exec/server/DrillbitContext.html" title="class in org.apache.drill.exec.server">DrillbitContext</a>&nbsp;dbContext,
<a href="../../../../../org/apache/drill/exec/proto/BitControl.PlanFragment.html" title="class in org.apache.drill.exec.proto">BitControl.PlanFragment</a>&nbsp;fragment,
<a href="../../../../../org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.html" title="class in org.apache.drill.exec.expr.fn">FunctionImplementationRegistry</a>&nbsp;funcRegistry)</code>
<div class="block">Create a FragmentContext instance for non-root fragment.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#FragmentContextImpl-org.apache.drill.exec.server.DrillbitContext-org.apache.drill.exec.proto.BitControl.PlanFragment-org.apache.drill.exec.ops.QueryContext-org.apache.drill.exec.rpc.UserClientConnection-org.apache.drill.exec.expr.fn.FunctionImplementationRegistry-">FragmentContextImpl</a></span>(<a href="../../../../../org/apache/drill/exec/server/DrillbitContext.html" title="class in org.apache.drill.exec.server">DrillbitContext</a>&nbsp;dbContext,
<a href="../../../../../org/apache/drill/exec/proto/BitControl.PlanFragment.html" title="class in org.apache.drill.exec.proto">BitControl.PlanFragment</a>&nbsp;fragment,
<a href="../../../../../org/apache/drill/exec/ops/QueryContext.html" title="class in org.apache.drill.exec.ops">QueryContext</a>&nbsp;queryContext,
<a href="../../../../../org/apache/drill/exec/rpc/UserClientConnection.html" title="interface in org.apache.drill.exec.rpc">UserClientConnection</a>&nbsp;connection,
<a href="../../../../../org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.html" title="class in org.apache.drill.exec.expr.fn">FunctionImplementationRegistry</a>&nbsp;funcRegistry)</code>
<div class="block">Create a FragmentContext instance for root fragment.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#FragmentContextImpl-org.apache.drill.exec.server.DrillbitContext-org.apache.drill.exec.proto.BitControl.PlanFragment-org.apache.drill.exec.rpc.UserClientConnection-org.apache.drill.exec.expr.fn.FunctionImplementationRegistry-">FragmentContextImpl</a></span>(<a href="../../../../../org/apache/drill/exec/server/DrillbitContext.html" title="class in org.apache.drill.exec.server">DrillbitContext</a>&nbsp;dbContext,
<a href="../../../../../org/apache/drill/exec/proto/BitControl.PlanFragment.html" title="class in org.apache.drill.exec.proto">BitControl.PlanFragment</a>&nbsp;fragment,
<a href="../../../../../org/apache/drill/exec/rpc/UserClientConnection.html" title="interface in org.apache.drill.exec.rpc">UserClientConnection</a>&nbsp;connection,
<a href="../../../../../org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.html" title="class in org.apache.drill.exec.expr.fn">FunctionImplementationRegistry</a>&nbsp;funcRegistry)</code>
<div class="block">TODO: Remove this constructor when removing the SimpleRootExec (DRILL-2097).</div>
</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="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><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated 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/ops/FragmentContextImpl.html#addRuntimeFilter-org.apache.drill.exec.work.filter.RuntimeFilterWritable-">addRuntimeFilter</a></span>(<a href="../../../../../org/apache/drill/exec/work/filter/RuntimeFilterWritable.html" title="class in org.apache.drill.exec.work.filter">RuntimeFilterWritable</a>&nbsp;runtimeFilter)</code>
<div class="block">Add a RuntimeFilter when the RuntimeFilter receiver belongs to the same MinorFragment.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#close--">close</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#fail-java.lang.Throwable-">fail</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</code>&nbsp;</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/alias/AliasRegistryProvider.html" title="class in org.apache.drill.exec.alias">AliasRegistryProvider</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getAliasRegistryProvider--">getAliasRegistryProvider</a></span>()</code>
<div class="block">Get an instance of alias registry provider for obtaining aliases.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getAllocator--">getAllocator</a></span>()</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../org/apache/drill/exec/proto/CoordinationProtos.DrillbitEndpoint.html" title="class in org.apache.drill.exec.proto">CoordinationProtos.DrillbitEndpoint</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getBits--">getBits</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/drill/exec/ops/BufferManager.html" title="interface in org.apache.drill.exec.ops">BufferManager</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getBufferManager--">getBufferManager</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/work/batch/IncomingBuffers.html" title="class in org.apache.drill.exec.work.batch">IncomingBuffers</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getBuffers--">getBuffers</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/coord/ClusterCoordinator.html" title="class in org.apache.drill.exec.coord">ClusterCoordinator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getClusterCoordinator--">getClusterCoordinator</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/compile/CodeCompiler.html" title="class in org.apache.drill.exec.compile">CodeCompiler</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getCompiler--">getCompiler</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getConfig--">getConfig</a></span>()</code>
<div class="block">Returns the Drill configuration for this run.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/expr/holders/ValueHolder.html" title="interface in org.apache.drill.exec.expr.holders">ValueHolder</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getConstantValueHolder-java.lang.String-org.apache.drill.common.types.TypeProtos.MinorType-org.apache.drill.shaded.guava.com.google.common.base.Function-">getConstantValueHolder</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;value,
<a href="../../../../../org/apache/drill/common/types/TypeProtos.MinorType.html" title="enum in org.apache.drill.common.types">TypeProtos.MinorType</a>&nbsp;type,
org.apache.drill.shaded.guava.com.google.common.base.Function&lt;<a href="../../../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a>,<a href="../../../../../org/apache/drill/exec/expr/holders/ValueHolder.html" title="interface in org.apache.drill.exec.expr.holders">ValueHolder</a>&gt;&nbsp;holderInitializer)</code>
<div class="block">Works with value holders cache which holds constant value and its wrapper by type.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/ops/ContextInformation.html" title="class in org.apache.drill.exec.ops">ContextInformation</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getContextInformation--">getContextInformation</a></span>()</code>
<div class="block">Get the context information such as:
- query start time
- root fragment timezone
- query userName
- system userName
- default schema name in current session at the time of query.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/rpc/control/Controller.html" title="interface in org.apache.drill.exec.rpc.control">Controller</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getController--">getController</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/ops/AccountingDataTunnel.html" title="class in org.apache.drill.exec.ops">AccountingDataTunnel</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getDataTunnel-org.apache.drill.exec.proto.CoordinationProtos.DrillbitEndpoint-">getDataTunnel</a></span>(<a href="../../../../../org/apache/drill/exec/proto/CoordinationProtos.DrillbitEndpoint.html" title="class in org.apache.drill.exec.proto">CoordinationProtos.DrillbitEndpoint</a>&nbsp;endpoint)</code>&nbsp;</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/proto/CoordinationProtos.DrillbitEndpoint.html" title="class in org.apache.drill.exec.proto">CoordinationProtos.DrillbitEndpoint</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getEndpoint--">getEndpoint</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/testing/ExecutionControls.html" title="class in org.apache.drill.exec.testing">ExecutionControls</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getExecutionControls--">getExecutionControls</a></span>()</code>
<div class="block">Return the set of execution controls used to inject faults into running
code for testing.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getExecutor--">getExecutor</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.ExecutorState.html" title="interface in org.apache.drill.exec.ops">FragmentContext.ExecutorState</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getExecutorState--">getExecutorState</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/proto/CoordinationProtos.DrillbitEndpoint.html" title="class in org.apache.drill.exec.proto">CoordinationProtos.DrillbitEndpoint</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getForemanEndpoint--">getForemanEndpoint</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><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/ops/FragmentContextImpl.html#getFragIdString--">getFragIdString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>org.apache.calcite.schema.SchemaPlus</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getFullRootSchema--">getFullRootSchema</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/proto/ExecProtos.FragmentHandle.html" title="class in org.apache.drill.exec.proto">ExecProtos.FragmentHandle</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getHandle--">getHandle</a></span>()</code>
<div class="block">The FragmentHandle for this Fragment</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/metastore/MetastoreRegistry.html" title="class in org.apache.drill.metastore">MetastoreRegistry</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getMetastoreRegistry--">getMetastoreRegistry</a></span>()</code>
<div class="block">Get instance of Metastore registry to obtain Metastore instance if needed.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getNewChildAllocator-java.lang.String-int-long-long-">getNewChildAllocator</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;operatorName,
int&nbsp;operatorId,
long&nbsp;initialReservation,
long&nbsp;maximumReservation)</code>&nbsp;</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/physical/impl/OperatorCreatorRegistry.html" title="class in org.apache.drill.exec.physical.impl">OperatorCreatorRegistry</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getOperatorCreatorRegistry--">getOperatorCreatorRegistry</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/server/options/OptionManager.html" title="interface in org.apache.drill.exec.server.options">OptionManager</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getOptions--">getOptions</a></span>()</code>
<div class="block">Returns a read-only version of the session options.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/store/PartitionExplorer.html" title="interface in org.apache.drill.exec.store">PartitionExplorer</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getPartitionExplorer--">getPartitionExplorer</a></span>()</code>
<div class="block">A partition explorer allows UDFs to view the sub-partitions below a
particular partition.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/planner/PhysicalPlanReader.html" title="class in org.apache.drill.exec.planner">PhysicalPlanReader</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getPlanReader--">getPlanReader</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/server/QueryProfileStoreContext.html" title="class in org.apache.drill.exec.server">QueryProfileStoreContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getProfileStoreContext--">getProfileStoreContext</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/proto/UserBitShared.QueryId.html" title="class in org.apache.drill.exec.proto">UserBitShared.QueryId</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getQueryId--">getQueryId</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code><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/ops/FragmentContextImpl.html#getQueryIdString--">getQueryIdString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code><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/ops/FragmentContextImpl.html#getQueryUserName--">getQueryUserName</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getRootAllocator--">getRootAllocator</a></span>()</code>
<div class="block">Returns the root allocator for the Drillbit.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/work/filter/RuntimeFilterWritable.html" title="class in org.apache.drill.exec.work.filter">RuntimeFilterWritable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getRuntimeFilter-long-">getRuntimeFilter</a></span>(long&nbsp;rfIdentifier)</code>&nbsp;</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/work/filter/RuntimeFilterWritable.html" title="class in org.apache.drill.exec.work.filter">RuntimeFilterWritable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getRuntimeFilter-long-long-java.util.concurrent.TimeUnit-">getRuntimeFilter</a></span>(long&nbsp;rfIdentifier,
long&nbsp;maxWaitTime,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;timeUnit)</code>
<div class="block">Get the RuntimeFilter with a blocking wait, if the waiting option is enabled.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getScanDecodeExecutor--">getScanDecodeExecutor</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getScanExecutor--">getScanExecutor</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/ops/QueryContext.SqlStatementType.html" title="enum in org.apache.drill.exec.ops">QueryContext.SqlStatementType</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getSQLStatementType--">getSQLStatementType</a></span>()</code>
<div class="block">Returns the statement type (e.g.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/ops/FragmentStats.html" title="class in org.apache.drill.exec.ops">FragmentStats</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getStats--">getStats</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a>&lt;<a href="../../../../../org/apache/drill/exec/rpc/user/UserServer.BitToUserConnection.html" title="class in org.apache.drill.exec.rpc.user">UserServer.BitToUserConnection</a>,<a href="../../../../../org/apache/drill/exec/rpc/user/UserServer.BitToUserConnectionConfig.html" title="class in org.apache.drill.exec.rpc.user">UserServer.BitToUserConnectionConfig</a>&gt;&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getUserConnections--">getUserConnections</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/ops/AccountingUserConnection.html" title="class in org.apache.drill.exec.ops">AccountingUserConnection</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getUserDataTunnel--">getUserDataTunnel</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i42" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/rpc/control/WorkEventBus.html" title="class in org.apache.drill.exec.rpc.control">WorkEventBus</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#getWorkEventBus--">getWorkEventBus</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i43" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#isBuffersDone--">isBuffersDone</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i44" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#isImpersonationEnabled--">isImpersonationEnabled</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i45" class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#isOverMemoryLimit--">isOverMemoryLimit</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i46" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#isUserAuthenticationEnabled--">isUserAuthenticationEnabled</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i47" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/ops/OperatorContext.html" title="interface in org.apache.drill.exec.ops">OperatorContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#newOperatorContext-org.apache.drill.exec.physical.base.PhysicalOperator-">newOperatorContext</a></span>(<a href="../../../../../org/apache/drill/exec/physical/base/PhysicalOperator.html" title="interface in org.apache.drill.exec.physical.base">PhysicalOperator</a>&nbsp;popConfig)</code>&nbsp;</td>
</tr>
<tr id="i48" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/drill/exec/ops/OperatorContext.html" title="interface in org.apache.drill.exec.ops">OperatorContext</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#newOperatorContext-org.apache.drill.exec.physical.base.PhysicalOperator-org.apache.drill.exec.ops.OperatorStats-">newOperatorContext</a></span>(<a href="../../../../../org/apache/drill/exec/physical/base/PhysicalOperator.html" title="interface in org.apache.drill.exec.physical.base">PhysicalOperator</a>&nbsp;popConfig,
<a href="../../../../../org/apache/drill/exec/ops/OperatorStats.html" title="class in org.apache.drill.exec.ops">OperatorStats</a>&nbsp;stats)</code>&nbsp;</td>
</tr>
<tr id="i49" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#requestMemory-org.apache.drill.exec.record.RecordBatch-">requestMemory</a></span>(<a href="../../../../../org/apache/drill/exec/record/RecordBatch.html" title="interface in org.apache.drill.exec.record">RecordBatch</a>&nbsp;requestor)</code>
<div class="block">An operator is experiencing memory pressure.</div>
</td>
</tr>
<tr id="i50" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#setBuffers-org.apache.drill.exec.work.batch.IncomingBuffers-">setBuffers</a></span>(<a href="../../../../../org/apache/drill/exec/work/batch/IncomingBuffers.html" title="class in org.apache.drill.exec.work.batch">IncomingBuffers</a>&nbsp;buffers)</code>&nbsp;</td>
</tr>
<tr id="i51" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#setExecutorState-org.apache.drill.exec.ops.FragmentContext.ExecutorState-">setExecutorState</a></span>(<a href="../../../../../org/apache/drill/exec/ops/FragmentContext.ExecutorState.html" title="interface in org.apache.drill.exec.ops">FragmentContext.ExecutorState</a>&nbsp;executorState)</code>&nbsp;</td>
</tr>
<tr id="i52" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/drill/exec/ops/FragmentContextImpl.html#waitForSendComplete--">waitForSendComplete</a></span>()</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.drill.exec.ops.BaseFragmentContext">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.drill.exec.ops.<a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html" title="class in org.apache.drill.exec.ops">BaseFragmentContext</a></h3>
<code><a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getFunctionRegistry--">getFunctionRegistry</a>, <a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getImplementationClass-org.apache.drill.exec.expr.ClassGenerator-">getImplementationClass</a>, <a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getImplementationClass-org.apache.drill.exec.expr.ClassGenerator-int-">getImplementationClass</a>, <a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getImplementationClass-org.apache.drill.exec.expr.CodeGenerator-">getImplementationClass</a>, <a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getImplementationClass-org.apache.drill.exec.expr.CodeGenerator-int-">getImplementationClass</a>, <a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getManagedBuffer--">getManagedBuffer</a>, <a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getManagedBuffer-int-">getManagedBuffer</a>, <a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getManagedBufferManager--">getManagedBufferManager</a>, <a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#replace-io.netty.buffer.DrillBuf-int-">replace</a></code></li>
</ul>
<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>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.drill.exec.ops.FragmentContext">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.drill.exec.ops.<a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></h3>
<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getFunctionRegistry--">getFunctionRegistry</a>, <a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getImplementationClass-org.apache.drill.exec.expr.ClassGenerator-">getImplementationClass</a>, <a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getImplementationClass-org.apache.drill.exec.expr.ClassGenerator-int-">getImplementationClass</a>, <a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getImplementationClass-org.apache.drill.exec.expr.CodeGenerator-">getImplementationClass</a>, <a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getImplementationClass-org.apache.drill.exec.expr.CodeGenerator-int-">getImplementationClass</a>, <a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getManagedBuffer--">getManagedBuffer</a>, <a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getManagedBuffer-int-">getManagedBuffer</a>, <a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getManagedBufferManager--">getManagedBufferManager</a>, <a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#replace-io.netty.buffer.DrillBuf-int-">replace</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="FragmentContextImpl-org.apache.drill.exec.server.DrillbitContext-org.apache.drill.exec.proto.BitControl.PlanFragment-org.apache.drill.exec.expr.fn.FunctionImplementationRegistry-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FragmentContextImpl</h4>
<pre>public&nbsp;FragmentContextImpl(<a href="../../../../../org/apache/drill/exec/server/DrillbitContext.html" title="class in org.apache.drill.exec.server">DrillbitContext</a>&nbsp;dbContext,
<a href="../../../../../org/apache/drill/exec/proto/BitControl.PlanFragment.html" title="class in org.apache.drill.exec.proto">BitControl.PlanFragment</a>&nbsp;fragment,
<a href="../../../../../org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.html" title="class in org.apache.drill.exec.expr.fn">FunctionImplementationRegistry</a>&nbsp;funcRegistry)
throws <a href="../../../../../org/apache/drill/common/exceptions/ExecutionSetupException.html" title="class in org.apache.drill.common.exceptions">ExecutionSetupException</a></pre>
<div class="block">Create a FragmentContext instance for non-root fragment.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dbContext</code> - DrillbitContext</dd>
<dd><code>fragment</code> - Fragment implementation</dd>
<dd><code>funcRegistry</code> - FunctionImplementationRegistry</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/common/exceptions/ExecutionSetupException.html" title="class in org.apache.drill.common.exceptions">ExecutionSetupException</a></code> - when unable to init fragment context</dd>
</dl>
</li>
</ul>
<a name="FragmentContextImpl-org.apache.drill.exec.server.DrillbitContext-org.apache.drill.exec.proto.BitControl.PlanFragment-org.apache.drill.exec.ops.QueryContext-org.apache.drill.exec.rpc.UserClientConnection-org.apache.drill.exec.expr.fn.FunctionImplementationRegistry-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>FragmentContextImpl</h4>
<pre>public&nbsp;FragmentContextImpl(<a href="../../../../../org/apache/drill/exec/server/DrillbitContext.html" title="class in org.apache.drill.exec.server">DrillbitContext</a>&nbsp;dbContext,
<a href="../../../../../org/apache/drill/exec/proto/BitControl.PlanFragment.html" title="class in org.apache.drill.exec.proto">BitControl.PlanFragment</a>&nbsp;fragment,
<a href="../../../../../org/apache/drill/exec/ops/QueryContext.html" title="class in org.apache.drill.exec.ops">QueryContext</a>&nbsp;queryContext,
<a href="../../../../../org/apache/drill/exec/rpc/UserClientConnection.html" title="interface in org.apache.drill.exec.rpc">UserClientConnection</a>&nbsp;connection,
<a href="../../../../../org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.html" title="class in org.apache.drill.exec.expr.fn">FunctionImplementationRegistry</a>&nbsp;funcRegistry)
throws <a href="../../../../../org/apache/drill/common/exceptions/ExecutionSetupException.html" title="class in org.apache.drill.common.exceptions">ExecutionSetupException</a></pre>
<div class="block">Create a FragmentContext instance for root fragment.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>dbContext</code> - DrillbitContext</dd>
<dd><code>fragment</code> - Fragment implementation</dd>
<dd><code>queryContext</code> - QueryContext</dd>
<dd><code>connection</code> - UserClientConnection</dd>
<dd><code>funcRegistry</code> - FunctionImplementationRegistry</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/common/exceptions/ExecutionSetupException.html" title="class in org.apache.drill.common.exceptions">ExecutionSetupException</a></code> - when unable to init fragment context</dd>
</dl>
</li>
</ul>
<a name="FragmentContextImpl-org.apache.drill.exec.server.DrillbitContext-org.apache.drill.exec.proto.BitControl.PlanFragment-org.apache.drill.exec.rpc.UserClientConnection-org.apache.drill.exec.expr.fn.FunctionImplementationRegistry-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>FragmentContextImpl</h4>
<pre>public&nbsp;FragmentContextImpl(<a href="../../../../../org/apache/drill/exec/server/DrillbitContext.html" title="class in org.apache.drill.exec.server">DrillbitContext</a>&nbsp;dbContext,
<a href="../../../../../org/apache/drill/exec/proto/BitControl.PlanFragment.html" title="class in org.apache.drill.exec.proto">BitControl.PlanFragment</a>&nbsp;fragment,
<a href="../../../../../org/apache/drill/exec/rpc/UserClientConnection.html" title="interface in org.apache.drill.exec.rpc">UserClientConnection</a>&nbsp;connection,
<a href="../../../../../org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.html" title="class in org.apache.drill.exec.expr.fn">FunctionImplementationRegistry</a>&nbsp;funcRegistry)
throws <a href="../../../../../org/apache/drill/common/exceptions/ExecutionSetupException.html" title="class in org.apache.drill.common.exceptions">ExecutionSetupException</a></pre>
<div class="block">TODO: Remove this constructor when removing the SimpleRootExec (DRILL-2097). This is kept only to avoid modifying
the long list of test files.</div>
<dl>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/common/exceptions/ExecutionSetupException.html" title="class in org.apache.drill.common.exceptions">ExecutionSetupException</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="getOptions--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOptions</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/server/options/OptionManager.html" title="interface in org.apache.drill.exec.server.options">OptionManager</a>&nbsp;getOptions()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getOptions--">FragmentContext</a></code></span></div>
<div class="block">Returns a read-only version of the session options.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getOptions--">getOptions</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the session options</dd>
</dl>
</li>
</ul>
<a name="getPlanReader--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPlanReader</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/planner/PhysicalPlanReader.html" title="class in org.apache.drill.exec.planner">PhysicalPlanReader</a>&nbsp;getPlanReader()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#getPlanReader--">getPlanReader</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getClusterCoordinator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClusterCoordinator</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/coord/ClusterCoordinator.html" title="class in org.apache.drill.exec.coord">ClusterCoordinator</a>&nbsp;getClusterCoordinator()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#getClusterCoordinator--">getClusterCoordinator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="setBuffers-org.apache.drill.exec.work.batch.IncomingBuffers-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBuffers</h4>
<pre>public&nbsp;void&nbsp;setBuffers(<a href="../../../../../org/apache/drill/exec/work/batch/IncomingBuffers.html" title="class in org.apache.drill.exec.work.batch">IncomingBuffers</a>&nbsp;buffers)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#setBuffers-org.apache.drill.exec.work.batch.IncomingBuffers-">setBuffers</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getProfileStoreContext--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getProfileStoreContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/server/QueryProfileStoreContext.html" title="class in org.apache.drill.exec.server">QueryProfileStoreContext</a>&nbsp;getProfileStoreContext()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#getProfileStoreContext--">getProfileStoreContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getUserConnections--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserConnections</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a>&lt;<a href="../../../../../org/apache/drill/exec/rpc/user/UserServer.BitToUserConnection.html" title="class in org.apache.drill.exec.rpc.user">UserServer.BitToUserConnection</a>,<a href="../../../../../org/apache/drill/exec/rpc/user/UserServer.BitToUserConnectionConfig.html" title="class in org.apache.drill.exec.rpc.user">UserServer.BitToUserConnectionConfig</a>&gt;&gt;&nbsp;getUserConnections()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#getUserConnections--">getUserConnections</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="setExecutorState-org.apache.drill.exec.ops.FragmentContext.ExecutorState-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setExecutorState</h4>
<pre>public&nbsp;void&nbsp;setExecutorState(<a href="../../../../../org/apache/drill/exec/ops/FragmentContext.ExecutorState.html" title="interface in org.apache.drill.exec.ops">FragmentContext.ExecutorState</a>&nbsp;executorState)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/RootFragmentContext.html#setExecutorState-org.apache.drill.exec.ops.FragmentContext.ExecutorState-">setExecutorState</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/RootFragmentContext.html" title="interface in org.apache.drill.exec.ops">RootFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="fail-java.lang.Throwable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fail</h4>
<pre>public&nbsp;void&nbsp;fail(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>&nbsp;cause)</pre>
</li>
</ul>
<a name="getFullRootSchema--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFullRootSchema</h4>
<pre>public&nbsp;org.apache.calcite.schema.SchemaPlus&nbsp;getFullRootSchema()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getFullRootSchema--">getFullRootSchema</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getStats--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStats</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/ops/FragmentStats.html" title="class in org.apache.drill.exec.ops">FragmentStats</a>&nbsp;getStats()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/RootFragmentContext.html#getStats--">getStats</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/RootFragmentContext.html" title="interface in org.apache.drill.exec.ops">RootFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getBits--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBits</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a>&lt;<a href="../../../../../org/apache/drill/exec/proto/CoordinationProtos.DrillbitEndpoint.html" title="class in org.apache.drill.exec.proto">CoordinationProtos.DrillbitEndpoint</a>&gt;&nbsp;getBits()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#getBits--">getBits</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getContextInformation--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getContextInformation</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/ops/ContextInformation.html" title="class in org.apache.drill.exec.ops">ContextInformation</a>&nbsp;getContextInformation()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/UdfUtilities.html#getContextInformation--">UdfUtilities</a></code></span></div>
<div class="block">Get the context information such as:
- query start time
- root fragment timezone
- query userName
- system userName
- default schema name in current session at the time of query.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/UdfUtilities.html#getContextInformation--">getContextInformation</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/UdfUtilities.html" title="interface in org.apache.drill.exec.ops">UdfUtilities</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>- ContextInformation</dd>
</dl>
</li>
</ul>
<a name="getForemanEndpoint--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getForemanEndpoint</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/proto/CoordinationProtos.DrillbitEndpoint.html" title="class in org.apache.drill.exec.proto">CoordinationProtos.DrillbitEndpoint</a>&nbsp;getForemanEndpoint()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#getForemanEndpoint--">getForemanEndpoint</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getEndpoint--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEndpoint</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/proto/CoordinationProtos.DrillbitEndpoint.html" title="class in org.apache.drill.exec.proto">CoordinationProtos.DrillbitEndpoint</a>&nbsp;getEndpoint()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#getEndpoint--">getEndpoint</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getController--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getController</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/rpc/control/Controller.html" title="interface in org.apache.drill.exec.rpc.control">Controller</a>&nbsp;getController()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExchangeFragmentContext.html#getController--">getController</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExchangeFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExchangeFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getOperatorCreatorRegistry--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOperatorCreatorRegistry</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/physical/impl/OperatorCreatorRegistry.html" title="class in org.apache.drill.exec.physical.impl">OperatorCreatorRegistry</a>&nbsp;getOperatorCreatorRegistry()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#getOperatorCreatorRegistry--">getOperatorCreatorRegistry</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getScanDecodeExecutor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScanDecodeExecutor</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a>&nbsp;getScanDecodeExecutor()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getScanDecodeExecutor--">getScanDecodeExecutor</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getScanExecutor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScanExecutor</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a>&nbsp;getScanExecutor()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getScanExecutor--">getScanExecutor</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getHandle--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHandle</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/proto/ExecProtos.FragmentHandle.html" title="class in org.apache.drill.exec.proto">ExecProtos.FragmentHandle</a>&nbsp;getHandle()</pre>
<div class="block">The FragmentHandle for this Fragment</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getHandle--">getHandle</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>FragmentHandle</dd>
</dl>
</li>
</ul>
<a name="getFragIdString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFragIdString</h4>
<pre>public&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>&nbsp;getFragIdString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getFragIdString--">getFragIdString</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="isUserAuthenticationEnabled--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isUserAuthenticationEnabled</h4>
<pre>public&nbsp;boolean&nbsp;isUserAuthenticationEnabled()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#isUserAuthenticationEnabled--">isUserAuthenticationEnabled</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="addRuntimeFilter-org.apache.drill.exec.work.filter.RuntimeFilterWritable-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addRuntimeFilter</h4>
<pre>public&nbsp;void&nbsp;addRuntimeFilter(<a href="../../../../../org/apache/drill/exec/work/filter/RuntimeFilterWritable.html" title="class in org.apache.drill.exec.work.filter">RuntimeFilterWritable</a>&nbsp;runtimeFilter)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#addRuntimeFilter-org.apache.drill.exec.work.filter.RuntimeFilterWritable-">FragmentContext</a></code></span></div>
<div class="block">Add a RuntimeFilter when the RuntimeFilter receiver belongs to the same MinorFragment.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#addRuntimeFilter-org.apache.drill.exec.work.filter.RuntimeFilterWritable-">addRuntimeFilter</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>runtimeFilter</code> - runtime filter</dd>
</dl>
</li>
</ul>
<a name="getRuntimeFilter-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRuntimeFilter</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/work/filter/RuntimeFilterWritable.html" title="class in org.apache.drill.exec.work.filter">RuntimeFilterWritable</a>&nbsp;getRuntimeFilter(long&nbsp;rfIdentifier)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getRuntimeFilter-long-">getRuntimeFilter</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getRuntimeFilter-long-long-java.util.concurrent.TimeUnit-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRuntimeFilter</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/work/filter/RuntimeFilterWritable.html" title="class in org.apache.drill.exec.work.filter">RuntimeFilterWritable</a>&nbsp;getRuntimeFilter(long&nbsp;rfIdentifier,
long&nbsp;maxWaitTime,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/TimeUnit.html?is-external=true" title="class or interface in java.util.concurrent">TimeUnit</a>&nbsp;timeUnit)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getRuntimeFilter-long-long-java.util.concurrent.TimeUnit-">FragmentContext</a></code></span></div>
<div class="block">Get the RuntimeFilter with a blocking wait, if the waiting option is enabled.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getRuntimeFilter-long-long-java.util.concurrent.TimeUnit-">getRuntimeFilter</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rfIdentifier</code> - runtime filter identifier</dd>
<dd><code>maxWaitTime</code> - max wait time</dd>
<dd><code>timeUnit</code> - time unit</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the RFW or null</dd>
</dl>
</li>
</ul>
<a name="getAllocator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllocator</h4>
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
public&nbsp;<a href="../../../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a>&nbsp;getAllocator()</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;</div>
<div class="block">Get this fragment's allocator.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getAllocator--">getAllocator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the allocator</dd>
</dl>
</li>
</ul>
<a name="getRootAllocator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRootAllocator</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a>&nbsp;getRootAllocator()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#getRootAllocator--">ExecutorFragmentContext</a></code></span></div>
<div class="block">Returns the root allocator for the Drillbit.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#getRootAllocator--">getRootAllocator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getNewChildAllocator-java.lang.String-int-long-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNewChildAllocator</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a>&nbsp;getNewChildAllocator(<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;operatorName,
int&nbsp;operatorId,
long&nbsp;initialReservation,
long&nbsp;maximumReservation)
throws <a href="../../../../../org/apache/drill/exec/exception/OutOfMemoryException.html" title="class in org.apache.drill.exec.exception">OutOfMemoryException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getNewChildAllocator-java.lang.String-int-long-long-">getNewChildAllocator</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/exception/OutOfMemoryException.html" title="class in org.apache.drill.exec.exception">OutOfMemoryException</a></code></dd>
</dl>
</li>
</ul>
<a name="isOverMemoryLimit--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isOverMemoryLimit</h4>
<pre>public&nbsp;boolean&nbsp;isOverMemoryLimit()</pre>
</li>
</ul>
<a name="getCompiler--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCompiler</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/compile/CodeCompiler.html" title="class in org.apache.drill.exec.compile">CodeCompiler</a>&nbsp;getCompiler()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getCompiler--">getCompiler</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getUserDataTunnel--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUserDataTunnel</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/ops/AccountingUserConnection.html" title="class in org.apache.drill.exec.ops">AccountingUserConnection</a>&nbsp;getUserDataTunnel()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExchangeFragmentContext.html#getUserDataTunnel--">getUserDataTunnel</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExchangeFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExchangeFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getDataTunnel-org.apache.drill.exec.proto.CoordinationProtos.DrillbitEndpoint-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDataTunnel</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/ops/AccountingDataTunnel.html" title="class in org.apache.drill.exec.ops">AccountingDataTunnel</a>&nbsp;getDataTunnel(<a href="../../../../../org/apache/drill/exec/proto/CoordinationProtos.DrillbitEndpoint.html" title="class in org.apache.drill.exec.proto">CoordinationProtos.DrillbitEndpoint</a>&nbsp;endpoint)</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExchangeFragmentContext.html#getDataTunnel-org.apache.drill.exec.proto.CoordinationProtos.DrillbitEndpoint-">getDataTunnel</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExchangeFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExchangeFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getBuffers--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBuffers</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/work/batch/IncomingBuffers.html" title="class in org.apache.drill.exec.work.batch">IncomingBuffers</a>&nbsp;getBuffers()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExchangeFragmentContext.html#getBuffers--">getBuffers</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExchangeFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExchangeFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="newOperatorContext-org.apache.drill.exec.physical.base.PhysicalOperator-org.apache.drill.exec.ops.OperatorStats-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newOperatorContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/ops/OperatorContext.html" title="interface in org.apache.drill.exec.ops">OperatorContext</a>&nbsp;newOperatorContext(<a href="../../../../../org/apache/drill/exec/physical/base/PhysicalOperator.html" title="interface in org.apache.drill.exec.physical.base">PhysicalOperator</a>&nbsp;popConfig,
<a href="../../../../../org/apache/drill/exec/ops/OperatorStats.html" title="class in org.apache.drill.exec.ops">OperatorStats</a>&nbsp;stats)
throws <a href="../../../../../org/apache/drill/exec/exception/OutOfMemoryException.html" title="class in org.apache.drill.exec.exception">OutOfMemoryException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#newOperatorContext-org.apache.drill.exec.physical.base.PhysicalOperator-org.apache.drill.exec.ops.OperatorStats-">newOperatorContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/exception/OutOfMemoryException.html" title="class in org.apache.drill.exec.exception">OutOfMemoryException</a></code></dd>
</dl>
</li>
</ul>
<a name="newOperatorContext-org.apache.drill.exec.physical.base.PhysicalOperator-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newOperatorContext</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/ops/OperatorContext.html" title="interface in org.apache.drill.exec.ops">OperatorContext</a>&nbsp;newOperatorContext(<a href="../../../../../org/apache/drill/exec/physical/base/PhysicalOperator.html" title="interface in org.apache.drill.exec.physical.base">PhysicalOperator</a>&nbsp;popConfig)
throws <a href="../../../../../org/apache/drill/exec/exception/OutOfMemoryException.html" title="class in org.apache.drill.exec.exception">OutOfMemoryException</a></pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#newOperatorContext-org.apache.drill.exec.physical.base.PhysicalOperator-">newOperatorContext</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/exception/OutOfMemoryException.html" title="class in org.apache.drill.exec.exception">OutOfMemoryException</a></code></dd>
</dl>
</li>
</ul>
<a name="getConfig--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConfig</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;getConfig()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getConfig--">FragmentContext</a></code></span></div>
<div class="block">Returns the Drill configuration for this run. Note that the config is
global and immutable.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getConfig--">getConfig</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the Drill configuration</dd>
</dl>
</li>
</ul>
<a name="getExecutorState--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExecutorState</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/ops/FragmentContext.ExecutorState.html" title="interface in org.apache.drill.exec.ops">FragmentContext.ExecutorState</a>&nbsp;getExecutorState()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getExecutorState--">getExecutorState</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getExecutionControls--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExecutionControls</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/testing/ExecutionControls.html" title="class in org.apache.drill.exec.testing">ExecutionControls</a>&nbsp;getExecutionControls()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getExecutionControls--">FragmentContext</a></code></span></div>
<div class="block">Return the set of execution controls used to inject faults into running
code for testing.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getExecutionControls--">getExecutionControls</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the execution controls</dd>
</dl>
</li>
</ul>
<a name="getQueryUserName--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQueryUserName</h4>
<pre>public&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>&nbsp;getQueryUserName()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getQueryUserName--">getQueryUserName</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getQueryUserName--">getQueryUserName</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html" title="class in org.apache.drill.exec.ops">BaseFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getQueryId--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQueryId</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/proto/UserBitShared.QueryId.html" title="class in org.apache.drill.exec.proto">UserBitShared.QueryId</a>&nbsp;getQueryId()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getQueryId--">getQueryId</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getQueryId--">getQueryId</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html" title="class in org.apache.drill.exec.ops">BaseFragmentContext</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>ID <a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util"><code>UUID</code></a> of the current query</dd>
</dl>
</li>
</ul>
<a name="getQueryIdString--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQueryIdString</h4>
<pre>public&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>&nbsp;getQueryIdString()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getQueryIdString--">getQueryIdString</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getQueryIdString--">getQueryIdString</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html" title="class in org.apache.drill.exec.ops">BaseFragmentContext</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The string representation of the ID <a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util"><code>UUID</code></a> of the current query</dd>
</dl>
</li>
</ul>
<a name="isImpersonationEnabled--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isImpersonationEnabled</h4>
<pre>public&nbsp;boolean&nbsp;isImpersonationEnabled()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#isImpersonationEnabled--">isImpersonationEnabled</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="close--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()</pre>
<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>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#close--">close</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getPartitionExplorer--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPartitionExplorer</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/store/PartitionExplorer.html" title="interface in org.apache.drill.exec.store">PartitionExplorer</a>&nbsp;getPartitionExplorer()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/UdfUtilities.html#getPartitionExplorer--">UdfUtilities</a></code></span></div>
<div class="block">A partition explorer allows UDFs to view the sub-partitions below a
particular partition. This allows for the implementation of UDFs to
query against the partition information, without having to read
the actual data contained in the partition. This interface is designed
for UDFs that take only constant inputs, as this interface will only
be useful if we can evaluate the constant UDF at planning time.
Any function defined to use this interface that is not evaluated
at planning time by the constant folding rule will be querying
the storage plugin for meta-data for each record processed.
Be sure to check the query plans to see that this expression has already
been evaluated during planning if you write UDFs against this interface.
See <code>DirectoryExplorers</code> for
example usages of this interface.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/UdfUtilities.html#getPartitionExplorer--">getPartitionExplorer</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/UdfUtilities.html" title="interface in org.apache.drill.exec.ops">UdfUtilities</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>- an object for exploring partitions of all available schemas</dd>
</dl>
</li>
</ul>
<a name="getConstantValueHolder-java.lang.String-org.apache.drill.common.types.TypeProtos.MinorType-org.apache.drill.shaded.guava.com.google.common.base.Function-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConstantValueHolder</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/expr/holders/ValueHolder.html" title="interface in org.apache.drill.exec.expr.holders">ValueHolder</a>&nbsp;getConstantValueHolder(<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;value,
<a href="../../../../../org/apache/drill/common/types/TypeProtos.MinorType.html" title="enum in org.apache.drill.common.types">TypeProtos.MinorType</a>&nbsp;type,
org.apache.drill.shaded.guava.com.google.common.base.Function&lt;<a href="../../../../../io/netty/buffer/DrillBuf.html" title="class in io.netty.buffer">DrillBuf</a>,<a href="../../../../../org/apache/drill/exec/expr/holders/ValueHolder.html" title="interface in org.apache.drill.exec.expr.holders">ValueHolder</a>&gt;&nbsp;holderInitializer)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/UdfUtilities.html#getConstantValueHolder-java.lang.String-org.apache.drill.common.types.TypeProtos.MinorType-org.apache.drill.shaded.guava.com.google.common.base.Function-">UdfUtilities</a></code></span></div>
<div class="block">Works with value holders cache which holds constant value and its wrapper by type.
If value is absent uses holderInitializer to create holder and adds it to cache.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/UdfUtilities.html#getConstantValueHolder-java.lang.String-org.apache.drill.common.types.TypeProtos.MinorType-org.apache.drill.shaded.guava.com.google.common.base.Function-">getConstantValueHolder</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/UdfUtilities.html" title="interface in org.apache.drill.exec.ops">UdfUtilities</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>- a wrapper object for an constant value.</dd>
</dl>
</li>
</ul>
<a name="getExecutor--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getExecutor</h4>
<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a>&nbsp;getExecutor()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getExecutor--">getExecutor</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="waitForSendComplete--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>waitForSendComplete</h4>
<pre>public&nbsp;void&nbsp;waitForSendComplete()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExchangeFragmentContext.html#waitForSendComplete--">waitForSendComplete</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExchangeFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExchangeFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getWorkEventBus--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWorkEventBus</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/rpc/control/WorkEventBus.html" title="class in org.apache.drill.exec.rpc.control">WorkEventBus</a>&nbsp;getWorkEventBus()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html#getWorkEventBus--">getWorkEventBus</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/ExecutorFragmentContext.html" title="interface in org.apache.drill.exec.ops">ExecutorFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="isBuffersDone--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isBuffersDone</h4>
<pre>public&nbsp;boolean&nbsp;isBuffersDone()</pre>
</li>
</ul>
<a name="getBufferManager--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBufferManager</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/drill/exec/ops/BufferManager.html" title="interface in org.apache.drill.exec.ops">BufferManager</a>&nbsp;getBufferManager()</pre>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getBufferManager--">getBufferManager</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html" title="class in org.apache.drill.exec.ops">BaseFragmentContext</a></code></dd>
</dl>
</li>
</ul>
<a name="getSQLStatementType--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSQLStatementType</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/ops/QueryContext.SqlStatementType.html" title="enum in org.apache.drill.exec.ops">QueryContext.SqlStatementType</a>&nbsp;getSQLStatementType()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getSQLStatementType--">FragmentContext</a></code></span></div>
<div class="block">Returns the statement type (e.g. SELECT, CTAS, ANALYZE) from the query context.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getSQLStatementType--">getSQLStatementType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getSQLStatementType--">getSQLStatementType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/BaseFragmentContext.html" title="class in org.apache.drill.exec.ops">BaseFragmentContext</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>query statement type <a href="../../../../../org/apache/drill/exec/ops/QueryContext.SqlStatementType.html" title="enum in org.apache.drill.exec.ops"><code>QueryContext.SqlStatementType</code></a>, if known.</dd>
</dl>
</li>
</ul>
<a name="getMetastoreRegistry--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMetastoreRegistry</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/metastore/MetastoreRegistry.html" title="class in org.apache.drill.metastore">MetastoreRegistry</a>&nbsp;getMetastoreRegistry()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getMetastoreRegistry--">FragmentContext</a></code></span></div>
<div class="block">Get instance of Metastore registry to obtain Metastore instance if needed.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getMetastoreRegistry--">getMetastoreRegistry</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Metastore registry</dd>
</dl>
</li>
</ul>
<a name="getAliasRegistryProvider--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAliasRegistryProvider</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/drill/exec/alias/AliasRegistryProvider.html" title="class in org.apache.drill.exec.alias">AliasRegistryProvider</a>&nbsp;getAliasRegistryProvider()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getAliasRegistryProvider--">FragmentContext</a></code></span></div>
<div class="block">Get an instance of alias registry provider for obtaining aliases.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#getAliasRegistryProvider--">getAliasRegistryProvider</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a></code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>alias registry provider</dd>
</dl>
</li>
</ul>
<a name="requestMemory-org.apache.drill.exec.record.RecordBatch-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>requestMemory</h4>
<pre>public&nbsp;void&nbsp;requestMemory(<a href="../../../../../org/apache/drill/exec/record/RecordBatch.html" title="interface in org.apache.drill.exec.record">RecordBatch</a>&nbsp;requestor)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#requestMemory-org.apache.drill.exec.record.RecordBatch-">FragmentContext</a></code></span></div>
<div class="block">An operator is experiencing memory pressure. Asks the fragment
executor to poll all operators to release an optional memory
(such as by spilling.) The request is advisory. The caller should
again try to allocate memory, and if the second request fails,
throw an <code>OutOfMemoryException</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html#requestMemory-org.apache.drill.exec.record.RecordBatch-">requestMemory</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/drill/exec/ops/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</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/FragmentContextImpl.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/ops/FragmentContext.ExecutorState.html" title="interface in org.apache.drill.exec.ops"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/drill/exec/ops/FragmentContextInterface.html" title="interface in org.apache.drill.exec.ops"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/drill/exec/ops/FragmentContextImpl.html" target="_top">Frames</a></li>
<li><a href="FragmentContextImpl.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>Field&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>Field&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; 2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>