Uses of Class
org.apache.drill.exec.expr.CodeGenerator
Package
Description
Runtime code-generation, compilation and bytecode-manipulation utilities.
Drill expression materialization and evaluation facilities.
-
Uses of CodeGenerator in org.apache.drill.exec.compile
Modifier and TypeMethodDescriptionClass<?>
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) -
Uses of CodeGenerator in org.apache.drill.exec.expr
Modifier and TypeMethodDescriptionstatic <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) ClassGenerator.getCodeGenerator()
-
Uses of CodeGenerator in org.apache.drill.exec.ops
Modifier and TypeMethodDescription<T> T
BaseFragmentContext.getImplementationClass
(CodeGenerator<T> cg) <T> List<T>
BaseFragmentContext.getImplementationClass
(CodeGenerator<T> cg, int instanceCount) <T> T
FragmentContext.getImplementationClass
(CodeGenerator<T> cg) Generates code for a class given aCodeGenerator
, and returns a single instance of the generated class.<T> List<T>
FragmentContext.getImplementationClass
(CodeGenerator<T> cg, int instanceCount) Get this node's identity.<T> T
FragmentContextInterface.getImplementationClass
(CodeGenerator<T> cg) Generates code for a class given aCodeGenerator
, and returns a single instance of the generated class.<T> List<T>
FragmentContextInterface.getImplementationClass
(CodeGenerator<T> cg, int instanceCount) Generates code for a class given aCodeGenerator
, and returns the specified number of instances of the generated class. -
Uses of CodeGenerator in org.apache.drill.exec.physical.impl.xsort
Modifier and TypeMethodDescriptionprotected <T> T
BaseWrapper.getInstance
(CodeGenerator<T> cg, org.slf4j.Logger logger)