public static class CodeCompiler.CodeGenCompiler extends Object
Constructor and Description |
---|
CodeGenCompiler(DrillConfig config,
OptionSet optionManager) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
compile(CodeGenerator<?> cg)
Compile the code already generated by the code generator.
|
Class<?> |
generateAndCompile(CodeGenerator<?> cg)
Generate code for the code generator, then compile it.
|
public CodeGenCompiler(DrillConfig config, OptionSet optionManager)
public Class<?> compile(CodeGenerator<?> cg) throws Exception
cg
- the code generator for the classException
- if anything goes wrongpublic Class<?> generateAndCompile(CodeGenerator<?> cg) throws Exception
cg
- the code generator for the classException
- if anything goes wrongCopyright © 1970 The Apache Software Foundation. All rights reserved.