Modifier and Type | Method and Description |
---|---|
ParameterTool |
RequiredParameters.applyTo(ParameterTool parameterTool)
Check for all required parameters defined:
- has a value been passed
- if not, does the parameter have an associated default value
- does the type of the parameter match the one defined in RequiredParameters
- does the value provided in the parameterTool adhere to the choices defined in the option.
|
static ParameterTool |
ParameterTool.fromArgs(String[] args)
Returns
ParameterTool for the given arguments. |
static ParameterTool |
ParameterTool.fromMap(Map<String,String> map)
Returns
ParameterTool for the given map. |
static ParameterTool |
ParameterTool.fromPropertiesFile(File file)
Returns
ParameterTool for the given Properties file. |
static ParameterTool |
ParameterTool.fromPropertiesFile(InputStream inputStream)
Returns
ParameterTool for the given InputStream from Properties file. |
static ParameterTool |
ParameterTool.fromPropertiesFile(String path)
Returns
ParameterTool for the given Properties file. |
static ParameterTool |
ParameterTool.fromSystemProperties()
Returns
ParameterTool from the system properties. |
ParameterTool |
ParameterTool.mergeWith(ParameterTool other)
Merges two
ParameterTool . |
Modifier and Type | Method and Description |
---|---|
ParameterTool |
RequiredParameters.applyTo(ParameterTool parameterTool)
Check for all required parameters defined:
- has a value been passed
- if not, does the parameter have an associated default value
- does the type of the parameter match the one defined in RequiredParameters
- does the value provided in the parameterTool adhere to the choices defined in the option.
|
ParameterTool |
ParameterTool.mergeWith(ParameterTool other)
Merges two
ParameterTool . |
Modifier and Type | Method and Description |
---|---|
void |
GridGraph.configure(ParameterTool parameterTool) |
void |
CirculantGraph.configure(ParameterTool parameterTool) |
Modifier and Type | Method and Description |
---|---|
void |
Simplify.configure(ParameterTool parameterTool) |
void |
Parameterized.configure(ParameterTool parameterTool)
Read parameter values from the command-line arguments.
|
void |
ChoiceParameter.configure(ParameterTool parameterTool) |
void |
DoubleParameter.configure(ParameterTool parameterTool) |
void |
ParameterizedBase.configure(ParameterTool parameterTool) |
void |
Parameter.configure(ParameterTool parameterTool)
Read and parse the parameter value from command-line arguments.
|
void |
LongParameter.configure(ParameterTool parameterTool) |
void |
BooleanParameter.configure(ParameterTool parameterTool) |
void |
IterationConvergence.configure(ParameterTool parameterTool) |
void |
StringParameter.configure(ParameterTool parameterTool) |
Modifier and Type | Method and Description |
---|---|
static ParameterTool |
HadoopUtils.paramsFromGenericOptionsParser(String[] args)
Returns
ParameterTool for the arguments parsed by GenericOptionsParser . |
Modifier and Type | Method and Description |
---|---|
static StreamExecutionEnvironment |
KafkaExampleUtil.prepareExecutionEnv(ParameterTool parameterTool) |
Modifier and Type | Method and Description |
---|---|
static void |
DataStreamAllroundTestJobFactory.setupEnvironment(StreamExecutionEnvironment env,
ParameterTool pt) |
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.