| Package | Description |
|---|---|
| org.apache.drill.exec.compile |
Runtime code-generation, compilation and bytecode-manipulation utilities.
|
| org.apache.drill.exec.expr.fn.impl | |
| org.apache.drill.exec.ops | |
| org.apache.drill.exec.physical.impl.common |
| Modifier and Type | Method and Description |
|---|---|
Map<String,byte[]> |
ClassCompilerSelector.compile(ClassTransformer.ClassNames className,
String sourceCode) |
<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.
|
protected abstract byte[][] |
AbstractClassCompiler.getByteCode(ClassTransformer.ClassNames className,
String sourcecode) |
byte[][] |
AbstractClassCompiler.getClassByteCode(ClassTransformer.ClassNames className,
String sourceCode) |
byte[][] |
QueryClassLoader.getClassByteCode(ClassTransformer.ClassNames className,
String sourceCode) |
static Class<?> |
ClassBuilder.getCompiledClass(String code,
String className,
DrillConfig config,
OptionSet options) |
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) |
Class<?> |
ClassTransformer.getImplementationClass(QueryClassLoader classLoader,
TemplateClassDefinition<?> templateDefinition,
String entireClass,
String materializedClassName) |
void |
TestClassTransformation.testCompilationNoDebug() |
| Modifier and Type | Method and Description |
|---|---|
ValueVectorHashHelper.Hash64 |
ValueVectorHashHelper.getHash64(LogicalExpression[] hashFieldsExp,
TypedFieldId[] hashFieldIds) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
FragmentContextInterface.getImplementationClass(ClassGenerator<T> cg)
Generates code for a class given a
ClassGenerator,
and returns a single instance of the generated class. |
<T> List<T> |
FragmentContextInterface.getImplementationClass(ClassGenerator<T> cg,
int instanceCount)
Generates code for a class given a
ClassGenerator, and returns the
specified number of instances 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> |
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 |
|---|---|
HashTable |
ChainedHashTable.createAndSetupHashTable(TypedFieldId[] outKeyFieldIds) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.