Package | Description |
---|---|
org.apache.drill.exec.compile |
Runtime code-generation, compilation and bytecode-manipulation utilities.
|
org.apache.drill.exec.expr |
Drill expression materialization and evaluation facilities.
|
org.apache.drill.exec.ops | |
org.apache.drill.exec.physical.impl.xsort.managed |
Modifier and Type | Method and Description |
---|---|
Class<?> |
CodeCompiler.CodeGenCompiler.compile(CodeGenerator<?> cg)
Compile the code already generated by the code generator.
|
<T> T |
CodeCompiler.createInstance(CodeGenerator<?> cg)
Create a single instance of the generated class.
|
<T> List<T> |
CodeCompiler.createInstances(CodeGenerator<?> cg,
int count)
Create multiple instances of the generated class.
|
Class<?> |
CodeCompiler.CodeGenCompiler.generateAndCompile(CodeGenerator<?> cg)
Generate code for the code generator, then compile it.
|
Class<?> |
ClassBuilder.getImplementationClass(CodeGenerator<?> cg)
Given a code generator which has already generated plain Java
code, compile the code, create a class loader, and return the
resulting Java class.
|
Class<?> |
ClassTransformer.getImplementationClass(CodeGenerator<?> cg) |
Modifier and Type | Method and Description |
---|---|
static <T> CodeGenerator<T> |
CodeGenerator.get(MappingSet mappingSet,
TemplateClassDefinition<T> definition,
OptionSet optionManager) |
static <T> CodeGenerator<T> |
CodeGenerator.get(TemplateClassDefinition<T> definition) |
static <T> CodeGenerator<T> |
CodeGenerator.get(TemplateClassDefinition<T> definition,
OptionSet optionManager) |
CodeGenerator<T> |
ClassGenerator.getCodeGenerator() |
Modifier and Type | Method and Description |
---|---|
<T> T |
BaseFragmentContext.getImplementationClass(CodeGenerator<T> cg) |
<T> T |
FragmentContext.getImplementationClass(CodeGenerator<T> cg)
Generates code for a class given a
CodeGenerator ,
and returns a single instance of the generated class. |
<T> T |
FragmentContextInterface.getImplementationClass(CodeGenerator<T> cg)
Generates code for a class given a
CodeGenerator ,
and returns a single instance of the generated class. |
<T> List<T> |
BaseFragmentContext.getImplementationClass(CodeGenerator<T> cg,
int instanceCount) |
<T> List<T> |
FragmentContext.getImplementationClass(CodeGenerator<T> cg,
int instanceCount)
Generates code for a class given a
CodeGenerator , and returns the
specified number of instances of the generated class. |
<T> List<T> |
FragmentContextInterface.getImplementationClass(CodeGenerator<T> cg,
int instanceCount)
Generates code for a class given a
CodeGenerator , and returns the
specified number of instances of the generated class. |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
BaseWrapper.getInstance(CodeGenerator<T> cg,
org.slf4j.Logger logger) |
Copyright © 2018 The Apache Software Foundation. All rights reserved.