public class CodegenUtils extends Object
| Constructor and Description |
|---|
CodegenUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearClassCache() |
static void |
clearClassCache(Class<?> cla) |
static Class<?> |
compileClass(String name,
String src) |
static SpoofOperator |
createInstance(Class<?> cla) |
static Class<?> |
getClass(String name) |
static Class<?> |
getClass(String name,
byte[] classBytes) |
static byte[] |
getClassData(String name) |
public static Class<?> compileClass(String name, String src) throws DMLRuntimeException
DMLRuntimeExceptionpublic static Class<?> getClass(String name) throws DMLRuntimeException
DMLRuntimeExceptionpublic static Class<?> getClass(String name, byte[] classBytes) throws DMLRuntimeException
DMLRuntimeExceptionpublic static byte[] getClassData(String name) throws DMLRuntimeException
DMLRuntimeExceptionpublic static void clearClassCache()
public static void clearClassCache(Class<?> cla)
public static SpoofOperator createInstance(Class<?> cla) throws DMLRuntimeException
DMLRuntimeExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.