public interface JDBCWriter extends Serializable
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addRecord(org.apache.flink.api.java.tuple.Tuple2<Boolean,org.apache.flink.types.Row> record)
Add record to writer, the writer may cache the data.
|
void |
close()
Close JDBC related statements and other classes.
|
void |
executeBatch()
Submits a batch of commands to the database for execution.
|
void |
open(Connection connection)
Open the writer by JDBC Connection.
|
void open(Connection connection) throws SQLException
SQLExceptionvoid addRecord(org.apache.flink.api.java.tuple.Tuple2<Boolean,org.apache.flink.types.Row> record)
void executeBatch()
throws SQLException
SQLExceptionvoid close()
throws SQLException
SQLExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.