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
DMLRuntimeException
public static Class<?> getClass(String name) throws DMLRuntimeException
DMLRuntimeException
public static Class<?> getClass(String name, byte[] classBytes) throws DMLRuntimeException
DMLRuntimeException
public static byte[] getClassData(String name) throws DMLRuntimeException
DMLRuntimeException
public static void clearClassCache()
public static void clearClassCache(Class<?> cla)
public static SpoofOperator createInstance(Class<?> cla) throws DMLRuntimeException
DMLRuntimeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.