Class JdbcExecutor

java.lang.Object
org.flywaydb.nc.executors.JdbcExecutor
All Implemented Interfaces:
Comparable<org.flywaydb.core.extensibility.Plugin>, org.flywaydb.core.extensibility.Plugin, org.flywaydb.core.internal.nc.Executor<org.flywaydb.core.internal.sqlscript.SqlStatement,NativeConnectorsJdbc>

public class JdbcExecutor extends Object implements org.flywaydb.core.internal.nc.Executor<org.flywaydb.core.internal.sqlscript.SqlStatement,NativeConnectorsJdbc>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    appendErrorMessage(org.flywaydb.core.internal.sqlscript.SqlStatement executionUnit, StringBuilder messageBuilder, boolean isDebugEnabled)
     
    boolean
    canExecute(org.flywaydb.core.internal.nc.ConnectionType connectionType)
     
    void
    execute(NativeConnectorsJdbc experimentalDatabase, org.flywaydb.core.internal.sqlscript.SqlStatement executionUnit, org.flywaydb.core.api.configuration.Configuration configuration)
     
    void
    finishExecution(NativeConnectorsJdbc experimentalDatabase, org.flywaydb.core.api.configuration.Configuration configuration)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.flywaydb.core.extensibility.Plugin

    compareTo, copy, getName, getPluginVersion, getPriority, isEnabled, isLicensed
  • Constructor Details

    • JdbcExecutor

      public JdbcExecutor()
  • Method Details

    • execute

      public void execute(NativeConnectorsJdbc experimentalDatabase, org.flywaydb.core.internal.sqlscript.SqlStatement executionUnit, org.flywaydb.core.api.configuration.Configuration configuration)
      Specified by:
      execute in interface org.flywaydb.core.internal.nc.Executor<org.flywaydb.core.internal.sqlscript.SqlStatement,NativeConnectorsJdbc>
    • finishExecution

      public void finishExecution(NativeConnectorsJdbc experimentalDatabase, org.flywaydb.core.api.configuration.Configuration configuration)
      Specified by:
      finishExecution in interface org.flywaydb.core.internal.nc.Executor<org.flywaydb.core.internal.sqlscript.SqlStatement,NativeConnectorsJdbc>
    • canExecute

      public boolean canExecute(org.flywaydb.core.internal.nc.ConnectionType connectionType)
      Specified by:
      canExecute in interface org.flywaydb.core.internal.nc.Executor<org.flywaydb.core.internal.sqlscript.SqlStatement,NativeConnectorsJdbc>
    • appendErrorMessage

      public void appendErrorMessage(org.flywaydb.core.internal.sqlscript.SqlStatement executionUnit, StringBuilder messageBuilder, boolean isDebugEnabled)
      Specified by:
      appendErrorMessage in interface org.flywaydb.core.internal.nc.Executor<org.flywaydb.core.internal.sqlscript.SqlStatement,NativeConnectorsJdbc>