public class InsertOrUpdateBatchStatementExecutor extends Object implements JdbcBatchStatementExecutor
| 构造器和说明 |
|---|
InsertOrUpdateBatchStatementExecutor(StatementFactory insertStmtFactory,
StatementFactory updateStmtFactory,
JdbcRowConverter rowConverter) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addToBatch(SeaTunnelRow record) |
void |
closeStatements() |
void |
executeBatch() |
void |
prepareStatements(Connection connection) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic InsertOrUpdateBatchStatementExecutor(StatementFactory insertStmtFactory, StatementFactory updateStmtFactory, JdbcRowConverter rowConverter)
public void prepareStatements(Connection connection) throws SQLException
prepareStatements 在接口中 JdbcBatchStatementExecutorSQLExceptionpublic void addToBatch(SeaTunnelRow record) throws SQLException
addToBatch 在接口中 JdbcBatchStatementExecutorSQLExceptionpublic void executeBatch()
throws SQLException
executeBatch 在接口中 JdbcBatchStatementExecutorSQLExceptionpublic void closeStatements()
throws SQLException
closeStatements 在接口中 JdbcBatchStatementExecutorSQLExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.