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 Classes Modifier and Type Interface Description static class
SQLJobClientMode.EmbeddedSqlClient
Use the Sql Client embedded mode to submit jobs.static class
SQLJobClientMode.GatewayClientMode
The base gateway mode to submit jobs.static class
SQLJobClientMode.GatewaySqlClient
Uses the Sql Client gateway mode to submit jobs.static class
SQLJobClientMode.HiveJDBC
Uses the Hive JDBC to submit jobs.static class
SQLJobClientMode.RestClient
Uses a REST Client to submit jobs.
-
Method Summary
Static Methods Modifier and Type Method Description static SQLJobClientMode.EmbeddedSqlClient
getEmbeddedSqlClient()
static SQLJobClientMode.GatewaySqlClient
getGatewaySqlClient(String host, int port)
static SQLJobClientMode.HiveJDBC
getHiveJDBC(String host, int port)
static SQLJobClientMode.RestClient
getRestClient(String host, int port, String getRestEndpointVersion)
-
-
-
Method Detail
-
getEmbeddedSqlClient
static SQLJobClientMode.EmbeddedSqlClient getEmbeddedSqlClient()
-
getGatewaySqlClient
static SQLJobClientMode.GatewaySqlClient getGatewaySqlClient(String host, int port)
-
getHiveJDBC
static SQLJobClientMode.HiveJDBC getHiveJDBC(String host, int port)
-
getRestClient
static SQLJobClientMode.RestClient getRestClient(String host, int port, String getRestEndpointVersion)
-
-