Modifier and Type | Method and Description |
---|---|
static ParameterTool |
ParameterTool.fromArgs(String[] args)
Returns
ParameterTool for the given arguments. |
static ParameterTool |
ParameterTool.fromGenericOptionsParser(String[] args)
Deprecated.
Please use
HadoopUtils.paramsFromGenericOptionsParser(String[])
from project flink-hadoop-compatibility |
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 |
---|---|
void |
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
If any check fails, a RequiredParametersException is thrown
|
ParameterTool |
ParameterTool.mergeWith(ParameterTool other)
Merges two
ParameterTool |
Modifier and Type | Method and Description |
---|---|
DataSet<KMeans.Centroid> |
KMeans$.getCentroidDataSet(ParameterTool params,
ExecutionEnvironment env) |
static DataSet<KMeans.Centroid> |
KMeans.getCentroidDataSet(ParameterTool params,
ExecutionEnvironment env) |
DataSet<KMeans.Point> |
KMeans$.getPointDataSet(ParameterTool params,
ExecutionEnvironment env) |
static DataSet<KMeans.Point> |
KMeans.getPointDataSet(ParameterTool params,
ExecutionEnvironment env) |
Modifier and Type | Method and Description |
---|---|
void |
GridGraph.configure(ParameterTool parameterTool) |
void |
CirculantGraph.configure(ParameterTool parameterTool) |
Modifier and Type | Method and Description |
---|---|
void |
StringParameter.configure(ParameterTool parameterTool) |
void |
Simplify.configure(ParameterTool parameterTool) |
void |
ParameterizedBase.configure(ParameterTool parameterTool) |
void |
Parameterized.configure(ParameterTool parameterTool)
Read parameter values from the command-line arguments.
|
void |
Parameter.configure(ParameterTool parameterTool)
Read and parse the parameter value from command-line arguments.
|
void |
LongParameter.configure(ParameterTool parameterTool) |
void |
IterationConvergence.configure(ParameterTool parameterTool) |
void |
DoubleParameter.configure(ParameterTool parameterTool) |
void |
ChoiceParameter.configure(ParameterTool parameterTool) |
void |
BooleanParameter.configure(ParameterTool parameterTool) |
Modifier and Type | Method and Description |
---|---|
static ParameterTool |
HadoopUtils.paramsFromGenericOptionsParser(String[] args)
Returns
ParameterTool for the arguments parsed by GenericOptionsParser |
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.