public class JdbcOperator extends AbstractOperator<Jdbc>
SCRIPT_ENGINE_MANAGER, type| 构造器和说明 |
|---|
JdbcOperator() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> T |
execute(Connection con,
String sql,
List<Object> params,
SQLExecutor<T> sqlExecuter)
执行一个SQL语句
|
Object |
execute(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env,
Jdbc jdbc,
Map<String,Object> params)
执行操作
|
executepublic Object execute(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env, Jdbc jdbc, Map<String,Object> params) throws Exception
AbstractOperatorexecute 在类中 AbstractOperator<Jdbc>env - 流运行环境jdbc - 操作配置对象params - 参数查找表Exception - 发生异常public static <T> T execute(Connection con, String sql, List<Object> params, SQLExecutor<T> sqlExecuter) throws SQLException
con - 连接对象sql - SQL语句params - 参数sqlExecuter - SQL执行器SQLException - SQL异常Copyright © 2024 10MG. All rights reserved.