Class OperationHandleIdPathParameter
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.MessageParameter<X>
-
- org.apache.flink.runtime.rest.messages.MessagePathParameter<OperationHandle>
-
- org.apache.flink.table.gateway.rest.message.operation.OperationHandleIdPathParameter
-
public class OperationHandleIdPathParameter extends MessagePathParameter<OperationHandle>
MessagePathParameter
that parses theOperationHandle
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.runtime.rest.messages.MessageParameter
MessageParameter.MessageParameterRequisiteness
-
-
Constructor Summary
Constructors Constructor Description OperationHandleIdPathParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OperationHandle
convertFromString(String operationHandleId)
Converts the given string to a valid value of this parameter.protected String
convertToString(OperationHandle operationHandle)
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
- See Also:
- Constant Field Values
-
-
Method Detail
-
convertFromString
protected OperationHandle convertFromString(String operationHandleId)
Description copied from class:MessageParameter
Converts the given string to a valid value of this parameter.- Specified by:
convertFromString
in classMessageParameter<OperationHandle>
- Parameters:
operationHandleId
- string representation of parameter value- Returns:
- parameter value
-
convertToString
protected String convertToString(OperationHandle operationHandle)
Description copied from class:MessageParameter
Converts the given value to its string representation.- Specified by:
convertToString
in classMessageParameter<OperationHandle>
- Parameters:
operationHandle
- 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<OperationHandle>
- Returns:
- escaped HTML string
-
-