| <!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>org.apache.drill.exec.compile (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="org.apache.drill.exec.compile (Drill : 1.20.0 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.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/client/package-summary.html">Prev Package</a></li> |
| <li><a href="../../../../../org/apache/drill/exec/compile/bytecode/package-summary.html">Next Package</a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/drill/exec/compile/package-summary.html" target="_top">Frames</a></li> |
| <li><a href="package-summary.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="header"> |
| <h1 title="Package" class="title">Package org.apache.drill.exec.compile</h1> |
| <div class="docSummary"> |
| <div class="block">Runtime code-generation, compilation and bytecode-manipulation utilities.</div> |
| </div> |
| <p>See: <a href="#package.description">Description</a></p> |
| </div> |
| <div class="contentContainer"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation"> |
| <caption><span>Interface Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Interface</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/ExampleExternalInterface.html" title="interface in org.apache.drill.exec.compile">ExampleExternalInterface</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/ExampleInner.html" title="interface in org.apache.drill.exec.compile">ExampleInner</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> |
| <caption><span>Class Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/AbstractClassCompiler.html" title="class in org.apache.drill.exec.compile">AbstractClassCompiler</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/AsmUtil.html" title="class in org.apache.drill.exec.compile">AsmUtil</a></td> |
| <td class="colLast"> |
| <div class="block">Utilities commonly used with ASM.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/CachedClassLoader.html" title="class in org.apache.drill.exec.compile">CachedClassLoader</a></td> |
| <td class="colLast"> |
| <div class="block">Class loader for "plain-old Java" generated classes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/CheckClassVisitorFsm.html" title="class in org.apache.drill.exec.compile">CheckClassVisitorFsm</a></td> |
| <td class="colLast"> |
| <div class="block">A ClassVisitor that verifies the required call sequence described in |
| http://asm.ow2.org/asm50/javadoc/user/org/objectweb/asm/ClassVisitor.html .</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/CheckMethodVisitorFsm.html" title="class in org.apache.drill.exec.compile">CheckMethodVisitorFsm</a></td> |
| <td class="colLast"> |
| <div class="block">A MethodVisitor that verifies the required call sequence according to |
| http://asm.ow2.org/asm50/javadoc/user/org/objectweb/asm/MethodVisitor.html .</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/ClassBodyBuilder.html" title="class in org.apache.drill.exec.compile">ClassBodyBuilder</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/ClassBuilder.html" title="class in org.apache.drill.exec.compile">ClassBuilder</a></td> |
| <td class="colLast"> |
| <div class="block">Implements the "plain Java" method of code generation and |
| compilation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/ClassCompilerSelector.html" title="class in org.apache.drill.exec.compile">ClassCompilerSelector</a></td> |
| <td class="colLast"> |
| <div class="block">Selects between the two supported Java compilers: Janino and |
| the build-in Java compiler.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/ClassTransformer.html" title="class in org.apache.drill.exec.compile">ClassTransformer</a></td> |
| <td class="colLast"> |
| <div class="block">Compiles generated code, merges the resulting class with the |
| template class, and performs byte-code cleanup on the resulting |
| byte codes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/ClassTransformer.ClassNames.html" title="class in org.apache.drill.exec.compile">ClassTransformer.ClassNames</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/ClassTransformer.ClassSet.html" title="class in org.apache.drill.exec.compile">ClassTransformer.ClassSet</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/CodeCompiler.html" title="class in org.apache.drill.exec.compile">CodeCompiler</a></td> |
| <td class="colLast"> |
| <div class="block">Global code compiler mechanism shared by all threads and operators.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/CodeCompiler.CodeGenCompiler.html" title="class in org.apache.drill.exec.compile">CodeCompiler.CodeGenCompiler</a></td> |
| <td class="colLast"> |
| <div class="block">Abstracts out the details of compiling code using the two available |
| mechanisms.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/CodeCompilerTestFactory.html" title="class in org.apache.drill.exec.compile">CodeCompilerTestFactory</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/CompilationConfig.html" title="class in org.apache.drill.exec.compile">CompilationConfig</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/DrillCheckClassAdapter.html" title="class in org.apache.drill.exec.compile">DrillCheckClassAdapter</a></td> |
| <td class="colLast"> |
| <div class="block">There's a bug in ASM's CheckClassAdapter.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/DrillInitMethodVisitor.html" title="class in org.apache.drill.exec.compile">DrillInitMethodVisitor</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/ExampleTemplate.html" title="class in org.apache.drill.exec.compile">ExampleTemplate</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/ExampleTemplateWithInner.html" title="class in org.apache.drill.exec.compile">ExampleTemplateWithInner</a></td> |
| <td class="colLast"> |
| <div class="block">Test case that also illustrates the proper construction of templates |
| with nested classes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/FsmCursor.html" title="class in org.apache.drill.exec.compile">FsmCursor</a></td> |
| <td class="colLast"> |
| <div class="block">Maintains state while traversing a finite state machine described by |
| an FsmDescriptor.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/FsmDescriptor.html" title="class in org.apache.drill.exec.compile">FsmDescriptor</a></td> |
| <td class="colLast"> |
| <div class="block">Describes a finite state machine in terms of a mapping of tokens to |
| characters, a regular expression describing the valid transitions |
| using the characters, and an end state.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/InnerClassAccessStripper.html" title="class in org.apache.drill.exec.compile">InnerClassAccessStripper</a></td> |
| <td class="colLast"> |
| <div class="block">An ASM ClassVisitor that strips class the access bits that are only possible |
| on inner classes (ACC_PROTECTED, ACC_PRIVATE, and ACC_FINAL).</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/LogWriter.html" title="class in org.apache.drill.exec.compile">LogWriter</a></td> |
| <td class="colLast"> |
| <div class="block">A simple Writer that will forward whole lines (lines ending with a newline) to |
| a Logger.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/QueryClassLoader.html" title="class in org.apache.drill.exec.compile">QueryClassLoader</a></td> |
| <td class="colLast"> |
| <div class="block">Per-compilation unit class loader that holds both caching and compilation |
| steps.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/RetargetableClassVisitor.html" title="class in org.apache.drill.exec.compile">RetargetableClassVisitor</a></td> |
| <td class="colLast"> |
| <div class="block">An ASM ClassVisitor that allows for a late-bound delegate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/TemplateClassDefinition.html" title="class in org.apache.drill.exec.compile">TemplateClassDefinition</a><T></td> |
| <td class="colLast"> |
| <div class="block">Defines a code generation "template" which consist of: |
| |
| An interface that defines the generated class. |
| A template class which implements the interface to provide |
| "generic" methods that need not be generated. |
| A signature that lists the methods and vector holders used |
| by the template. |
| </div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/TestClassCompilationTypes.html" title="class in org.apache.drill.exec.compile">TestClassCompilationTypes</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/TestClassTransformation.html" title="class in org.apache.drill.exec.compile">TestClassTransformation</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/TestEvaluationVisitor.html" title="class in org.apache.drill.exec.compile">TestEvaluationVisitor</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/TestLargeFileCompilation.html" title="class in org.apache.drill.exec.compile">TestLargeFileCompilation</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| <li class="blockList"> |
| <table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation"> |
| <caption><span>Enum Summary</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Enum</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tbody> |
| <tr class="altColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/ClassCompilerSelector.CompilerPolicy.html" title="enum in org.apache.drill.exec.compile">ClassCompilerSelector.CompilerPolicy</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><a href="../../../../../org/apache/drill/exec/compile/ClassTransformer.ScalarReplacementOption.html" title="enum in org.apache.drill.exec.compile">ClassTransformer.ScalarReplacementOption</a></td> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </li> |
| </ul> |
| <a name="package.description"> |
| <!-- --> |
| </a> |
| <h2 title="Package org.apache.drill.exec.compile Description">Package org.apache.drill.exec.compile Description</h2> |
| <div class="block">Runtime code-generation, compilation and bytecode-manipulation utilities. |
| |
| To achieve optimal performance in a dynamic schema environment, Drill |
| includes a complete code generation system for generating type-specific Java |
| code for most of its physical operators. This generated code is used for |
| scalar expression evaluation as well as value transfers between record |
| batches. As a new schema arrives at an operator, the schema change will be |
| detected and prompt runtime code generation. This runtime-generated code will |
| evaluate the expressions needed for the operator to process the incoming |
| data. As the same code will often be run on a number of nodes in the cluster, |
| compiled classes are stored in the distributed cache to avoid the need to re- |
| compile and JIT-optimize the same code on every machine.</div> |
| </div> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../overview-summary.html">Overview</a></li> |
| <li class="navBarCell1Rev">Package</li> |
| <li>Class</li> |
| <li><a href="package-use.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/client/package-summary.html">Prev Package</a></li> |
| <li><a href="../../../../../org/apache/drill/exec/compile/bytecode/package-summary.html">Next Package</a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../index.html?org/apache/drill/exec/compile/package-summary.html" target="_top">Frames</a></li> |
| <li><a href="package-summary.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2022 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </body> |
| </html> |