类 SimpleBatchStatementExecutor
- java.lang.Object
-
- org.apache.seatunnel.connectors.seatunnel.jdbc.internal.executor.SimpleBatchStatementExecutor
-
- 所有已实现的接口:
JdbcBatchStatementExecutor<org.apache.seatunnel.api.table.type.SeaTunnelRow>
public class SimpleBatchStatementExecutor extends Object implements JdbcBatchStatementExecutor<org.apache.seatunnel.api.table.type.SeaTunnelRow>
-
-
构造器概要
构造器 构造器 说明 SimpleBatchStatementExecutor()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidaddToBatch(org.apache.seatunnel.api.table.type.SeaTunnelRow record)voidcloseStatements()Close JDBC related statements.voidexecuteBatch()Submits a batch of commands to the database for execution.voidprepareStatements(Connection connection)Create statements from connection.
-
-
-
方法详细资料
-
prepareStatements
public void prepareStatements(Connection connection) throws SQLException
从接口复制的说明:JdbcBatchStatementExecutorCreate statements from connection.- 指定者:
prepareStatements在接口中JdbcBatchStatementExecutor<org.apache.seatunnel.api.table.type.SeaTunnelRow>- 抛出:
SQLException
-
addToBatch
public void addToBatch(org.apache.seatunnel.api.table.type.SeaTunnelRow record) throws SQLException- 指定者:
addToBatch在接口中JdbcBatchStatementExecutor<org.apache.seatunnel.api.table.type.SeaTunnelRow>- 抛出:
SQLException
-
executeBatch
public void executeBatch() throws SQLException从接口复制的说明:JdbcBatchStatementExecutorSubmits a batch of commands to the database for execution.- 指定者:
executeBatch在接口中JdbcBatchStatementExecutor<org.apache.seatunnel.api.table.type.SeaTunnelRow>- 抛出:
SQLException
-
closeStatements
public void closeStatements() throws SQLException从接口复制的说明:JdbcBatchStatementExecutorClose JDBC related statements.- 指定者:
closeStatements在接口中JdbcBatchStatementExecutor<org.apache.seatunnel.api.table.type.SeaTunnelRow>- 抛出:
SQLException
-
-