Uses of Class
org.apache.drill.exec.expr.CodeGenerator
Packages that use 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
Methods in org.apache.drill.exec.compile with parameters of type CodeGeneratorModifier and TypeMethodDescriptionClass<?> CodeCompiler.CodeGenCompiler.compile(CodeGenerator<?> cg) Compile the code already generated by the code generator.<T> TCodeCompiler.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
Methods in org.apache.drill.exec.expr that return CodeGeneratorModifier 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
Methods in org.apache.drill.exec.ops with parameters of type CodeGeneratorModifier and TypeMethodDescription<T> TBaseFragmentContext.getImplementationClass(CodeGenerator<T> cg) <T> List<T> BaseFragmentContext.getImplementationClass(CodeGenerator<T> cg, int instanceCount) <T> TFragmentContext.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> TFragmentContextInterface.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
Methods in org.apache.drill.exec.physical.impl.xsort with parameters of type CodeGeneratorModifier and TypeMethodDescriptionprotected <T> TBaseWrapper.getInstance(CodeGenerator<T> cg, org.slf4j.Logger logger)