blob: 7d1d30fdd89577cb2a729a2bb3903f7c51f2e4e4 [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>OperatorFixture.MockFragmentContext (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="OperatorFixture.MockFragmentContext (Drill : 1.20.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</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/OperatorFixture.MockFragmentContext.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/test/OperatorFixture.MockExecutorState.html" title="class in org.apache.drill.test"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/drill/test/OperatorFixture.MockOperatorContext.html" title="class in org.apache.drill.test"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/drill/test/OperatorFixture.MockFragmentContext.html" target="_top">Frames</a></li>
<li><a href="OperatorFixture.MockFragmentContext.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.test</div>
<h2 title="Class OperatorFixture.MockFragmentContext" class="title">Class OperatorFixture.MockFragmentContext</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.test.OperatorFixture.MockFragmentContext</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/FragmentContext.html" title="interface in org.apache.drill.exec.ops">FragmentContext</a>, <a href="../../../../org/apache/drill/exec/ops/UdfUtilities.html" title="interface in org.apache.drill.exec.ops">UdfUtilities</a></dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../org/apache/drill/test/PhysicalOpUnitTestBase.MockExecutorFragmentContext.html" title="class in org.apache.drill.test">PhysicalOpUnitTestBase.MockExecutorFragmentContext</a></dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../../org/apache/drill/test/OperatorFixture.html" title="class in org.apache.drill.test">OperatorFixture</a></dd>
</dl>
<hr>
<br>
<pre>public static class <span class="typeNameLabel">OperatorFixture.MockFragmentContext</span>
extends <a href="../../../../org/apache/drill/exec/ops/BaseFragmentContext.html" title="class in org.apache.drill.exec.ops">BaseFragmentContext</a></pre>
<div class="block">Provide a simplified test-time code generation context that
uses the same code generation mechanism as the full Drill, but
provide test-specific versions of various other services.</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/test/OperatorFixture.MockFragmentContext.html#MockFragmentContext-org.apache.drill.common.config.DrillConfig-org.apache.drill.exec.server.options.OptionManager-org.apache.drill.exec.memory.BufferAllocator-java.util.concurrent.ExecutorService-java.util.concurrent.ExecutorService-">MockFragmentContext</a></span>(<a href="../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../org/apache/drill/exec/server/options/OptionManager.html" title="interface in org.apache.drill.exec.server.options">OptionManager</a>&nbsp;options,
<a href="../../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a>&nbsp;allocator,
<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;scanExecutorService,
<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;scanDecodeExecutorService)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/drill/test/OperatorFixture.MockFragmentContext.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/test/OperatorFixture.MockFragmentContext.html#close--">close</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i2" class="altColor">
<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/test/OperatorFixture.MockFragmentContext.html#getAliasRegistryProvider--">getAliasRegistryProvider</a></span>()</code>
<div class="block">Get an instance of alias registry provider for obtaining aliases.</div>
</td>
</tr>
<tr id="i3" 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/test/OperatorFixture.MockFragmentContext.html#getAllocator--">getAllocator</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i4" 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/test/OperatorFixture.MockFragmentContext.html#getBufferManager--">getBufferManager</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i5" 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/test/OperatorFixture.MockFragmentContext.html#getCompiler--">getCompiler</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i6" 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/test/OperatorFixture.MockFragmentContext.html#getConfig--">getConfig</a></span>()</code>
<div class="block">Returns the Drill configuration for this run.</div>
</td>
</tr>
<tr id="i7" 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/test/OperatorFixture.MockFragmentContext.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="i8" 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/test/OperatorFixture.MockFragmentContext.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="i9" class="rowColor">
<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/test/OperatorFixture.MockFragmentContext.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="i10" 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/test/OperatorFixture.MockFragmentContext.html#getExecutor--">getExecutor</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i11" class="rowColor">
<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/test/OperatorFixture.MockFragmentContext.html#getExecutorState--">getExecutorState</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i12" 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/test/OperatorFixture.MockFragmentContext.html#getFragIdString--">getFragIdString</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i13" 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/test/OperatorFixture.MockFragmentContext.html#getFullRootSchema--">getFullRootSchema</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i14" 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/test/OperatorFixture.MockFragmentContext.html#getHandle--">getHandle</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i15" 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/test/OperatorFixture.MockFragmentContext.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="i16" 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/test/OperatorFixture.MockFragmentContext.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="i17" class="rowColor">
<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/test/OperatorFixture.MockFragmentContext.html#getOptions--">getOptions</a></span>()</code>
<div class="block">Returns a read-only version of the session options.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<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/test/OperatorFixture.MockFragmentContext.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="i19" 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/test/OperatorFixture.MockFragmentContext.html#getQueryUserName--">getQueryUserName</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i20" 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/test/OperatorFixture.MockFragmentContext.html#getRuntimeFilter-long-">getRuntimeFilter</a></span>(long&nbsp;rfIdentifier)</code>&nbsp;</td>
</tr>
<tr id="i21" 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/test/OperatorFixture.MockFragmentContext.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="i22" 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/test/OperatorFixture.MockFragmentContext.html#getScanDecodeExecutor--">getScanDecodeExecutor</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i23" 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/test/OperatorFixture.MockFragmentContext.html#getScanExecutor--">getScanExecutor</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/drill/test/OperatorFixture.MockFragmentContext.html#isImpersonationEnabled--">isImpersonationEnabled</a></span>()</code>&nbsp;</td>
</tr>
<tr id="i25" 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/test/OperatorFixture.MockFragmentContext.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="i26" 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/test/OperatorFixture.MockFragmentContext.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="i27" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/drill/test/OperatorFixture.MockFragmentContext.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>
</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#getQueryId--">getQueryId</a>, <a href="../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getQueryIdString--">getQueryIdString</a>, <a href="../../../../org/apache/drill/exec/ops/BaseFragmentContext.html#getSQLStatementType--">getSQLStatementType</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>
</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="MockFragmentContext-org.apache.drill.common.config.DrillConfig-org.apache.drill.exec.server.options.OptionManager-org.apache.drill.exec.memory.BufferAllocator-java.util.concurrent.ExecutorService-java.util.concurrent.ExecutorService-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>MockFragmentContext</h4>
<pre>public&nbsp;MockFragmentContext(<a href="../../../../org/apache/drill/common/config/DrillConfig.html" title="class in org.apache.drill.common.config">DrillConfig</a>&nbsp;config,
<a href="../../../../org/apache/drill/exec/server/options/OptionManager.html" title="interface in org.apache.drill.exec.server.options">OptionManager</a>&nbsp;options,
<a href="../../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a>&nbsp;allocator,
<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;scanExecutorService,
<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;scanDecodeExecutorService)</pre>
</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="returnLabel">Returns:</span></dt>
<dd>the session options</dd>
</dl>
</li>
</ul>
<a name="isImpersonationEnabled--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isImpersonationEnabled</h4>
<pre>public&nbsp;boolean&nbsp;isImpersonationEnabled()</pre>
</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="returnLabel">Returns:</span></dt>
<dd>the execution controls</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="returnLabel">Returns:</span></dt>
<dd>the Drill configuration</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>
</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>
</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>
</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>
</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)</pre>
</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>
</li>
</ul>
<a name="getAllocator--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllocator</h4>
<pre>public&nbsp;<a href="../../../../org/apache/drill/exec/memory/BufferAllocator.html" title="interface in org.apache.drill.exec.memory">BufferAllocator</a>&nbsp;getAllocator()</pre>
</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="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="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="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="getFullRootSchema--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFullRootSchema</h4>
<pre>public&nbsp;org.apache.calcite.schema.SchemaPlus&nbsp;getFullRootSchema()</pre>
</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>
</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>
</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="close--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public&nbsp;void&nbsp;close()</pre>
</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="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>
</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="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="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="returnLabel">Returns:</span></dt>
<dd>- ContextInformation</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="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="returnLabel">Returns:</span></dt>
<dd>- a wrapper object for an constant value.</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="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="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>
</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/OperatorFixture.MockFragmentContext.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/test/OperatorFixture.MockExecutorState.html" title="class in org.apache.drill.test"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/drill/test/OperatorFixture.MockOperatorContext.html" title="class in org.apache.drill.test"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/drill/test/OperatorFixture.MockFragmentContext.html" target="_top">Frames</a></li>
<li><a href="OperatorFixture.MockFragmentContext.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>