public class DMLOptions extends Object
MLContext
The values have been initialized with the default values
Despite there being a DML and PyDML, this class is named DMLOptions
to keep it consistent with DMLOptions
and DMLOptions
Modifier and Type | Field and Description |
---|---|
Map<String,String> |
argVals |
boolean |
checkPrivacy |
boolean |
clean |
String |
configFile |
boolean |
debug |
static DMLOptions |
defaultOptions |
Types.ExecMode |
execMode |
Explain.ExplainType |
explainType |
boolean |
fedStats |
int |
fedStatsCount |
boolean |
fedWorker |
int |
fedWorkerPort |
String |
filePath |
boolean |
forceGPU |
boolean |
gpu |
boolean |
help |
LineageCacheConfig.LineageCachePolicy |
linCachePolicy |
boolean |
lineage |
boolean |
lineage_debugger |
boolean |
lineage_dedup |
boolean |
lineage_estimate |
LineageCacheConfig.ReuseCacheType |
linReuseType |
boolean |
memStats |
org.apache.commons.cli.Options |
options |
String |
script |
boolean |
stats |
int |
statsCount |
Constructor and Description |
---|
DMLOptions(org.apache.commons.cli.Options opts) |
Modifier and Type | Method and Description |
---|---|
static DMLOptions |
parseCLArguments(String[] args)
Parses command line arguments to create a
DMLOptions instance with the correct options |
String |
toString() |
public final org.apache.commons.cli.Options options
public String configFile
public boolean clean
public boolean stats
public int statsCount
public boolean fedStats
public int fedStatsCount
public boolean memStats
public Explain.ExplainType explainType
public Types.ExecMode execMode
public boolean gpu
public boolean forceGPU
public boolean debug
public String filePath
public String script
public boolean help
public boolean lineage
public boolean lineage_dedup
public LineageCacheConfig.ReuseCacheType linReuseType
public LineageCacheConfig.LineageCachePolicy linCachePolicy
public boolean lineage_estimate
public boolean lineage_debugger
public boolean fedWorker
public int fedWorkerPort
public boolean checkPrivacy
public static final DMLOptions defaultOptions
public static DMLOptions parseCLArguments(String[] args) throws org.apache.commons.cli.ParseException
DMLOptions
instance with the correct optionsargs
- arguments from the command lineDMLOptions
that contain the correct Option
s.org.apache.commons.cli.ParseException
- if there is an incorrect option specified in the CLICopyright © 2021 The Apache Software Foundation. All rights reserved.