@PublicEvolving public class SqlGatewayEndpointFactoryUtils extends Object
SqlGatewayEndpoint.| Modifier and Type | Class and Description |
|---|---|
static class |
SqlGatewayEndpointFactoryUtils.DefaultEndpointFactoryContext
The default context of
SqlGatewayEndpointFactory. |
static class |
SqlGatewayEndpointFactoryUtils.EndpointFactoryHelper
Helper utility for validating all options for a
SqlGatewayEndpointFactory. |
| Modifier and Type | Field and Description |
|---|---|
static String |
GATEWAY_ENDPOINT_PREFIX |
| Constructor and Description |
|---|
SqlGatewayEndpointFactoryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static SqlGatewayEndpointFactoryUtils.EndpointFactoryHelper |
createEndpointFactoryHelper(SqlGatewayEndpointFactory endpointFactory,
SqlGatewayEndpointFactory.Context context)
Creates a utility that helps to validate options for a
SqlGatewayEndpointFactory. |
static List<SqlGatewayEndpoint> |
createSqlGatewayEndpoint(SqlGatewayService service,
org.apache.flink.configuration.Configuration configuration)
Attempts to discover the appropriate endpoint factory and creates the instance of the
endpoints.
|
static Map<String,String> |
getEndpointConfig(org.apache.flink.configuration.Configuration flinkConf,
String identifier) |
static String |
getSqlGatewayOptionPrefix(String identifier) |
public static final String GATEWAY_ENDPOINT_PREFIX
public static List<SqlGatewayEndpoint> createSqlGatewayEndpoint(SqlGatewayService service, org.apache.flink.configuration.Configuration configuration)
public static Map<String,String> getEndpointConfig(org.apache.flink.configuration.Configuration flinkConf, String identifier)
public static SqlGatewayEndpointFactoryUtils.EndpointFactoryHelper createEndpointFactoryHelper(SqlGatewayEndpointFactory endpointFactory, SqlGatewayEndpointFactory.Context context)
SqlGatewayEndpointFactory.
Note: This utility checks for left-over options in the final step.
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.