Class OperatorUidPathParameter
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.MessageParameter<X>
-
- org.apache.flink.runtime.rest.messages.MessagePathParameter<String>
-
- org.apache.flink.runtime.rest.messages.OperatorUidPathParameter
-
public class OperatorUidPathParameter extends MessagePathParameter<String>
Path parameter identifying operators.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.runtime.rest.messages.MessageParameter
MessageParameter.MessageParameterRequisiteness
-
-
Constructor Summary
Constructors Constructor Description OperatorUidPathParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
convertFromString(String value)
Converts the given string to a valid value of this parameter.protected String
convertToString(String value)
Converts the given value to its string representation.String
getDescription()
Returns a description for REST API HTML documentation.-
Methods inherited from class org.apache.flink.runtime.rest.messages.MessageParameter
getKey, getValue, isMandatory, isResolved, resolve, resolveFromString
-
-
-
-
Field Detail
-
KEY
public static final String KEY
This id must be defined to identify an operator on the client side before submit jobs. Otherwise, the query cannot be executed correctly. Note that we use operatorUid instead of operatorID because the latter is an internal runtime concept that cannot be recognized by the client.- See Also:
- Constant Field Values
-
-
Method Detail
-
convertFromString
protected String convertFromString(String value) throws ConversionException
Description copied from class:MessageParameter
Converts the given string to a valid value of this parameter.- Specified by:
convertFromString
in classMessageParameter<String>
- Parameters:
value
- string representation of parameter value- Returns:
- parameter value
- Throws:
ConversionException
-
convertToString
protected String convertToString(String value)
Description copied from class:MessageParameter
Converts the given value to its string representation.- Specified by:
convertToString
in classMessageParameter<String>
- Parameters:
value
- parameter value- Returns:
- string representation of typed value
-
getDescription
public String getDescription()
Description copied from class:MessageParameter
Returns a description for REST API HTML documentation.- Specified by:
getDescription
in classMessageParameter<String>
- Returns:
- escaped HTML string
-
-