Package org.apache.sysds.conf
Class CompilerConfig
- java.lang.Object
-
- org.apache.sysds.conf.CompilerConfig
-
public class CompilerConfig extends Object
Basic wrapper for all compiler configurations that are configured dynamically on a per script invocation basis. This allows us to provide thread-local compiler configurations to prevent side-effects between multiple scripts running in the same JVM process.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompilerConfig.ConfigType
-
Field Summary
Fields Modifier and Type Field Description static booleanFLAG_DYN_RECOMPILEstatic booleanFLAG_PARREADWRITE_BINARYstatic booleanFLAG_PARREADWRITE_TEXT
-
Constructor Summary
Constructors Constructor Description CompilerConfig()CompilerConfig(CompilerConfig conf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompilerConfigclone()booleangetBool(CompilerConfig.ConfigType key)intgetInt(CompilerConfig.ConfigType key)voidset(CompilerConfig.ConfigType key, boolean value)voidset(CompilerConfig.ConfigType key, int value)
-
-
-
Constructor Detail
-
CompilerConfig
public CompilerConfig()
-
CompilerConfig
public CompilerConfig(CompilerConfig conf)
-
-
Method Detail
-
set
public void set(CompilerConfig.ConfigType key, boolean value)
-
set
public void set(CompilerConfig.ConfigType key, int value)
-
getBool
public boolean getBool(CompilerConfig.ConfigType key)
-
getInt
public int getInt(CompilerConfig.ConfigType key)
-
clone
public CompilerConfig clone()
-
-