public abstract class AbstractJDBCOutputFormat<T>
extends org.apache.flink.api.common.io.RichOutputFormat<T>
Row,
DriverManager,
序列化表格| 限定符和类型 | 字段和说明 |
|---|---|
protected Connection |
connection |
protected String |
dbURL |
| 构造器和说明 |
|---|
AbstractJDBCOutputFormat(String username,
String password,
String drivername,
String dbURL) |
protected final String dbURL
protected transient Connection connection
public void configure(org.apache.flink.configuration.Configuration parameters)
protected void establishConnection()
throws SQLException,
ClassNotFoundException
protected void closeDbConnection()
throws IOException
IOExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.