Interface SqlGatewayEndpointFactory.Context
- All Known Implementing Classes:
SqlGatewayEndpointFactoryUtils.DefaultEndpointFactoryContext
- Enclosing interface:
- SqlGatewayEndpointFactory
@PublicEvolving
public static interface SqlGatewayEndpointFactory.Context
Provides information describing the endpoint to be accessed.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the options with which the endpoint is created.org.apache.flink.configuration.ReadableConfigGives read-only access to the configuration of the current session.Get the service to execute the request.
-
Method Details
-
getSqlGatewayService
SqlGatewayService getSqlGatewayService()Get the service to execute the request. -
getFlinkConfiguration
org.apache.flink.configuration.ReadableConfig getFlinkConfiguration()Gives read-only access to the configuration of the current session. -
getEndpointOptions
Returns the options with which the endpoint is created. All options that are prefixed with the endpoint identifier are included in the map.All the keys in the endpoint options are pruned with the prefix. For example, the option
sql-gateway.endpoint.rest.host's key ishostin the map.An implementation should perform validation of these options.
-