Class PostgreSQLCopyParsedStatement
- java.lang.Object
-
- migratedb.v1.core.internal.sqlscript.ParsedSqlStatement
-
- migratedb.v1.core.internal.database.postgresql.PostgreSQLCopyParsedStatement
-
- All Implemented Interfaces:
SqlStatement
public class PostgreSQLCopyParsedStatement extends ParsedSqlStatement
A PostgreSQL COPY FROM STDIN statement.
-
-
Constructor Summary
Constructors Constructor Description PostgreSQLCopyParsedStatement(int pos, int line, int col, String sql, String copyData)Creates a new PostgreSQL COPY ...
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resultsexecute(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
-
-
-
-
Method Detail
-
execute
public Results execute(JdbcTemplate jdbcTemplate)
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.
-
-