Package org.apache.flink.test.util
Interface SQLJobClientMode
- All Known Implementing Classes:
SQLJobClientMode.EmbeddedSqlClient,SQLJobClientMode.GatewayClientMode,SQLJobClientMode.GatewaySqlClient,SQLJobClientMode.HiveJDBC,SQLJobClientMode.RestClient
public interface SQLJobClientMode
Use which client to submit job.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classUse the Sql Client embedded mode to submit jobs.static classThe base gateway mode to submit jobs.static classUses the Sql Client gateway mode to submit jobs.static classUses the Hive JDBC to submit jobs.static classUses a REST Client to submit jobs. -
Method Summary
Static MethodsModifier and TypeMethodDescriptiongetGatewaySqlClient(String host, int port) static SQLJobClientMode.HiveJDBCgetHiveJDBC(String host, int port) static SQLJobClientMode.RestClientgetRestClient(String host, int port, String getRestEndpointVersion)
-
Method Details
-
getEmbeddedSqlClient
-
getGatewaySqlClient
-
getHiveJDBC
-
getRestClient
static SQLJobClientMode.RestClient getRestClient(String host, int port, String getRestEndpointVersion)
-