Interface SqlGatewayEndpointFactory.Context
-
- All Known Implementing Classes:
SqlGatewayEndpointFactoryUtils.DefaultEndpointFactoryContext
- Enclosing interface:
- SqlGatewayEndpointFactory
@PublicEvolving public static interface SqlGatewayEndpointFactory.ContextProvides information describing the endpoint to be accessed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>getEndpointOptions()Returns the options with which the endpoint is created.org.apache.flink.configuration.ReadableConfiggetFlinkConfiguration()Gives read-only access to the configuration of the current session.SqlGatewayServicegetSqlGatewayService()Get the service to execute the request.
-
-
-
Method Detail
-
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
Map<String,String> 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.
-
-