Class RedshiftConnection

java.lang.Object
org.flywaydb.core.internal.database.base.Connection<RedshiftDatabase>
org.flywaydb.database.redshift.RedshiftConnection
All Implemented Interfaces:
Closeable, AutoCloseable

public class RedshiftConnection extends org.flywaydb.core.internal.database.base.Connection<RedshiftDatabase>
Redshift connection.
  • Method Details

    • getCurrentSchemaNameOrSearchPath

      protected String getCurrentSchemaNameOrSearchPath() throws SQLException
      Specified by:
      getCurrentSchemaNameOrSearchPath in class org.flywaydb.core.internal.database.base.Connection<RedshiftDatabase>
      Throws:
      SQLException
    • changeCurrentSchemaTo

      public void changeCurrentSchemaTo(org.flywaydb.core.internal.database.base.Schema schema)
      Overrides:
      changeCurrentSchemaTo in class org.flywaydb.core.internal.database.base.Connection<RedshiftDatabase>
    • doChangeCurrentSchemaOrSearchPathTo

      public void doChangeCurrentSchemaOrSearchPathTo(String schema) throws SQLException
      Overrides:
      doChangeCurrentSchemaOrSearchPathTo in class org.flywaydb.core.internal.database.base.Connection<RedshiftDatabase>
      Throws:
      SQLException
    • doGetCurrentSchema

      public org.flywaydb.core.internal.database.base.Schema doGetCurrentSchema() throws SQLException
      Overrides:
      doGetCurrentSchema in class org.flywaydb.core.internal.database.base.Connection<RedshiftDatabase>
      Throws:
      SQLException
    • getSchema

      public org.flywaydb.core.internal.database.base.Schema getSchema(String name)
      Specified by:
      getSchema in class org.flywaydb.core.internal.database.base.Connection<RedshiftDatabase>