Class PostgreSQLCopyParsedStatement
java.lang.Object
migratedb.v1.core.internal.sqlscript.ParsedSqlStatement
migratedb.v1.core.internal.database.postgresql.PostgreSQLCopyParsedStatement
- All Implemented Interfaces:
SqlStatement
A PostgreSQL COPY FROM STDIN statement.
-
Constructor Summary
ConstructorsConstructorDescriptionPostgreSQLCopyParsedStatement(int pos, int line, int col, String sql, String copyData) Creates a new PostgreSQL COPY ... -
Method Summary
Modifier and TypeMethodDescriptionexecute(JdbcTemplate jdbcTemplate) Executes this statement against the database.Methods inherited from class migratedb.v1.core.internal.sqlscript.ParsedSqlStatement
canExecuteInTransaction, getCol, getDelimiter, getLine, getLineNumber, getPos, getSql
-
Constructor Details
-
PostgreSQLCopyParsedStatement
Creates a new PostgreSQL COPY ... FROM STDIN statement.
-
-
Method Details
-
execute
Description copied from interface:SqlStatementExecutes this statement against the database.- Specified by:
executein interfaceSqlStatement- Overrides:
executein classParsedSqlStatement- Parameters:
jdbcTemplate- The jdbcTemplate to use to execute this script.- Returns:
- the result of the execution.
-