Package org.apache.drill.exec.compile
Class ClassTransformer
java.lang.Object
org.apache.drill.exec.compile.ClassTransformer
Compiles generated code, merges the resulting class with the
template class, and performs byte-code cleanup on the resulting
byte codes. The most important transform is scalar replacement
which replaces occurrences of non-escaping objects with a
collection of member variables.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getImplementationClass
(QueryClassLoader classLoader, TemplateClassDefinition<?> templateDefinition, String entireClass, String materializedClassName) Class<?>
-
Constructor Details
-
ClassTransformer
-
-
Method Details
-
getImplementationClass
- Throws:
ClassTransformationException
-
getImplementationClass
public Class<?> getImplementationClass(QueryClassLoader classLoader, TemplateClassDefinition<?> templateDefinition, String entireClass, String materializedClassName) throws ClassTransformationException - Throws:
ClassTransformationException
-