Package | Description |
---|---|
org.apache.flink.api.java.utils | |
org.apache.flink.examples.scala.clustering | |
org.apache.flink.hadoopcompatibility |
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(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 |
---|---|
static DataSet<KMeans.Centroid> |
KMeans.getCentroidDataSet(ParameterTool params,
ExecutionEnvironment env) |
DataSet<KMeans.Centroid> |
KMeans$.getCentroidDataSet(ParameterTool params,
ExecutionEnvironment env) |
static DataSet<KMeans.Point> |
KMeans.getPointDataSet(ParameterTool params,
ExecutionEnvironment env) |
DataSet<KMeans.Point> |
KMeans$.getPointDataSet(ParameterTool params,
ExecutionEnvironment env) |
Modifier and Type | Method and Description |
---|---|
static ParameterTool |
HadoopUtils.paramsFromGenericOptionsParser(String[] args)
Returns
ParameterTool for the arguments parsed by GenericOptionsParser |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.