Class PostgreSQLCopyParsedStatement

java.lang.Object
org.flywaydb.core.internal.sqlscript.ParsedSqlStatement
org.flywaydb.database.postgresql.PostgreSQLCopyParsedStatement
All Implemented Interfaces:
org.flywaydb.core.internal.sqlscript.SqlStatement

public class PostgreSQLCopyParsedStatement extends org.flywaydb.core.internal.sqlscript.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

    Modifier and Type
    Method
    Description
    org.flywaydb.core.internal.jdbc.Results
    execute(org.flywaydb.core.internal.jdbc.JdbcTemplate jdbcTemplate)
     

    Methods inherited from class org.flywaydb.core.internal.sqlscript.ParsedSqlStatement

    canExecuteInTransaction, getCol, getDelimiter, getLine, getLineNumber, getPos, getSql, isBatchable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PostgreSQLCopyParsedStatement

      public PostgreSQLCopyParsedStatement(int pos, int line, int col, String sql, String copyData)
      Creates a new PostgreSQL COPY ... FROM STDIN statement.
  • Method Details

    • execute

      public org.flywaydb.core.internal.jdbc.Results execute(org.flywaydb.core.internal.jdbc.JdbcTemplate jdbcTemplate)
      Specified by:
      execute in interface org.flywaydb.core.internal.sqlscript.SqlStatement
      Overrides:
      execute in class org.flywaydb.core.internal.sqlscript.ParsedSqlStatement