@PublicEvolving
public static interface SqlGatewayEndpointFactory.Context
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,String> |
getEndpointOptions()
Returns the options with which the endpoint is created.
|
org.apache.flink.configuration.ReadableConfig |
getFlinkConfiguration()
Gives read-only access to the configuration of the current session.
|
SqlGatewayService |
getSqlGatewayService()
Get the service to execute the request.
|
SqlGatewayService getSqlGatewayService()
org.apache.flink.configuration.ReadableConfig getFlinkConfiguration()
Map<String,String> getEndpointOptions()
All the keys in the endpoint options are pruned with the prefix. For example, the
option sql-gateway.endpoint.rest.host's key is host in the map.
An implementation should perform validation of these options.
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.