Class Ingres9Database

java.lang.Object
liquibase.database.AbstractJdbcDatabase
liquibase.database.core.Ingres9Database
All Implemented Interfaces:
AutoCloseable, Database, PrioritizedService

public class Ingres9Database extends AbstractJdbcDatabase
Created by martoccia.i on 19/10/2016.
  • Field Details

  • Constructor Details

    • Ingres9Database

      public Ingres9Database()
  • Method Details

    • isCorrectDatabaseImplementation

      public boolean isCorrectDatabaseImplementation(DatabaseConnection databaseConnection) throws DatabaseException
      Description copied from interface: Database
      Is this AbstractDatabase subclass the correct one to use for the given connection.
      Throws:
      DatabaseException
    • getConnectionSchemaName

      protected String getConnectionSchemaName()
      Description copied from class: AbstractJdbcDatabase
      Overwrite this method to get the default schema name for the connection. If you only need to change the statement that obtains the current schema then override
      Overrides:
      getConnectionSchemaName in class AbstractJdbcDatabase
      See Also:
    • getViewDefinition

      public String getViewDefinition(CatalogAndSchema schema, String viewName) throws DatabaseException
      Specified by:
      getViewDefinition in interface Database
      Overrides:
      getViewDefinition in class AbstractJdbcDatabase
      Throws:
      DatabaseException
    • getDefaultDriver

      public String getDefaultDriver(String url)
      Description copied from interface: Database
      If this database understands the given url, return the default driver class name. Otherwise return null.
    • getShortName

      public String getShortName()
      Description copied from interface: Database
      Returns an all-lower-case short name of the product. Used for end-user selecting of database type such as the DBMS precondition.
    • getDefaultPort

      public Integer getDefaultPort()
    • supportsInitiallyDeferrableColumns

      public boolean supportsInitiallyDeferrableColumns()
      Description copied from interface: Database
      Returns whether this database support initially deferrable columns.
    • supportsTablespaces

      public boolean supportsTablespaces()
    • getDefaultDatabaseProductName

      protected String getDefaultDatabaseProductName()
      Specified by:
      getDefaultDatabaseProductName in class AbstractJdbcDatabase
    • getPriority

      public int getPriority()
    • isSystemObject

      public boolean isSystemObject(DatabaseObject example)
      Specified by:
      isSystemObject in interface Database
      Overrides:
      isSystemObject in class AbstractJdbcDatabase
    • supports

      public boolean supports(Class<? extends DatabaseObject> object)
      Description copied from interface: Database
      Whether this database supports the specified object type. It is invoking the deprecated methods to ensure that extensions are not broken, but once those are removed it will return only true
      Parameters:
      object - the object type to check
      Returns:
      true if the database supports the object type, false otherwise
    • supportsSequences

      public boolean supportsSequences()
      Description copied from class: AbstractJdbcDatabase
      Does the database type support sequence.
      Specified by:
      supportsSequences in interface Database
      Overrides:
      supportsSequences in class AbstractJdbcDatabase
    • supportsCreateIfNotExists

      public boolean supportsCreateIfNotExists(Class<? extends DatabaseObject> type)
      Description copied from interface: Database
      Does the database support the "if not exits" syntax?
      Parameters:
      type - the DatabaseObject type to be checked.
      Returns:
      true if the "if not exists" syntax is supported, false otherwise.