Class MetricsAggregationParameter
java.lang.Object
org.apache.flink.runtime.rest.messages.MessageParameter<List<X>>
org.apache.flink.runtime.rest.messages.MessageQueryParameter<MetricsAggregationParameter.AggregationMode>
org.apache.flink.runtime.rest.messages.job.metrics.MetricsAggregationParameter
public class MetricsAggregationParameter
extends MessageQueryParameter<MetricsAggregationParameter.AggregationMode>
TODO: add javadoc.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe available aggregations.Nested classes/interfaces inherited from class org.apache.flink.runtime.rest.messages.MessageParameter
MessageParameter.MessageParameterRequisiteness -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertStringToValue(String value) Converts the given string to a valid value of this parameter.Converts the given value to its string representation.Returns a description for REST API HTML documentation.Methods inherited from class org.apache.flink.runtime.rest.messages.MessageQueryParameter
convertFromString, convertToStringMethods inherited from class org.apache.flink.runtime.rest.messages.MessageParameter
getKey, getValue, isMandatory, isResolved, resolve, resolveFromString
-
Constructor Details
-
MetricsAggregationParameter
protected MetricsAggregationParameter()
-
-
Method Details
-
convertStringToValue
public MetricsAggregationParameter.AggregationMode convertStringToValue(String value) throws ConversionException Description copied from class:MessageQueryParameterConverts the given string to a valid value of this parameter.- Specified by:
convertStringToValuein classMessageQueryParameter<MetricsAggregationParameter.AggregationMode>- Parameters:
value- string representation of parameter value- Returns:
- parameter value
- Throws:
ConversionException
-
convertValueToString
Description copied from class:MessageQueryParameterConverts the given value to its string representation.- Specified by:
convertValueToStringin classMessageQueryParameter<MetricsAggregationParameter.AggregationMode>- Parameters:
value- parameter value- Returns:
- string representation of typed value
-
getDescription
Description copied from class:MessageParameterReturns a description for REST API HTML documentation.- Specified by:
getDescriptionin classMessageParameter<List<MetricsAggregationParameter.AggregationMode>>- Returns:
- escaped HTML string
-