Package | Description |
---|---|
org.apache.flink.ml.api.misc.param |
Modifier and Type | Method and Description |
---|---|
static <V> ParamInfoFactory.ParamInfoBuilder<V> |
ParamInfoFactory.createParamInfo(String name,
Class<V> valueClass)
Returns a ParamInfoBuilder to configure and build a new ParamInfo.
|
ParamInfoFactory.ParamInfoBuilder<V> |
ParamInfoFactory.ParamInfoBuilder.setAlias(String[] alias)
Sets the aliases of the parameter.
|
ParamInfoFactory.ParamInfoBuilder<V> |
ParamInfoFactory.ParamInfoBuilder.setDescription(String description)
Sets the description of the parameter.
|
ParamInfoFactory.ParamInfoBuilder<V> |
ParamInfoFactory.ParamInfoBuilder.setHasDefaultValue(V defaultValue)
Sets the flag indicating the parameter has default value, and sets the default value.
|
ParamInfoFactory.ParamInfoBuilder<V> |
ParamInfoFactory.ParamInfoBuilder.setOptional()
Sets the flag indicating the parameter is optional.
|
ParamInfoFactory.ParamInfoBuilder<V> |
ParamInfoFactory.ParamInfoBuilder.setRequired()
Sets the flag indicating the parameter is required.
|
ParamInfoFactory.ParamInfoBuilder<V> |
ParamInfoFactory.ParamInfoBuilder.setValidator(ParamValidator<V> validator)
Sets the validator to validate the parameter value set by users.
|
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.