Class SqlGatewayEndpointFactoryUtils
java.lang.Object
org.apache.flink.table.gateway.api.endpoint.SqlGatewayEndpointFactoryUtils
Util to discover the
SqlGatewayEndpoint.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe default context ofSqlGatewayEndpointFactory.static classHelper utility for validating all options for aSqlGatewayEndpointFactory. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateEndpointFactoryHelper(SqlGatewayEndpointFactory endpointFactory, SqlGatewayEndpointFactory.Context context) Creates a utility that helps to validate options for aSqlGatewayEndpointFactory.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.getEndpointConfig(org.apache.flink.configuration.Configuration flinkConf, String identifier) static StringgetSqlGatewayOptionPrefix(String identifier)
-
Field Details
-
GATEWAY_ENDPOINT_PREFIX
- See Also:
-
-
Constructor Details
-
SqlGatewayEndpointFactoryUtils
public SqlGatewayEndpointFactoryUtils()
-
-
Method Details
-
createSqlGatewayEndpoint
public 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. -
getEndpointConfig
-
getSqlGatewayOptionPrefix
-
createEndpointFactoryHelper
public static SqlGatewayEndpointFactoryUtils.EndpointFactoryHelper createEndpointFactoryHelper(SqlGatewayEndpointFactory endpointFactory, SqlGatewayEndpointFactory.Context context) Creates a utility that helps to validate options for aSqlGatewayEndpointFactory.Note: This utility checks for left-over options in the final step.
-