Package org.apache.drill.exec.expr.fn
Class ImportGrabber
java.lang.Object
org.apache.drill.exec.expr.fn.ImportGrabber
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetImports
(org.codehaus.janino.Java.CompilationUnit compilationUnit) Creates list of imports that are present in compilation unit.
-
Method Details
-
getImports
Creates list of imports that are present in compilation unit. For example: [import io.netty.buffer.DrillBuf;, import org.apache.drill.exec.expr.DrillSimpleFunc;]- Parameters:
compilationUnit
- compilation unit- Returns:
- list of imports
-