Class AbstractAuxiliaryDatabaseObject

    • Constructor Detail

      • AbstractAuxiliaryDatabaseObject

        protected AbstractAuxiliaryDatabaseObject()
      • AbstractAuxiliaryDatabaseObject

        public AbstractAuxiliaryDatabaseObject​(boolean beforeTables)
      • AbstractAuxiliaryDatabaseObject

        protected AbstractAuxiliaryDatabaseObject​(java.util.Set<java.lang.String> dialectScopes)
      • AbstractAuxiliaryDatabaseObject

        protected AbstractAuxiliaryDatabaseObject​(boolean beforeTables,
                                                  java.util.Set<java.lang.String> dialectScopes)
    • Method Detail

      • getExportIdentifier

        public java.lang.String getExportIdentifier()
        Description copied from interface: Exportable
        Get a unique identifier to make sure we are not exporting the same database structure multiple times.
        Specified by:
        getExportIdentifier in interface Exportable
        Returns:
        The exporting identifier.
      • getDialectScopes

        public java.util.Set getDialectScopes()
      • appliesToDialect

        public boolean appliesToDialect​(Dialect dialect)
        Description copied from interface: AuxiliaryDatabaseObject
        Does this database object apply to the given dialect?
        Specified by:
        appliesToDialect in interface AuxiliaryDatabaseObject
        Parameters:
        dialect - The dialect to check against.
        Returns:
        True if this database object does apply to the given dialect.
      • beforeTablesOnCreation

        public boolean beforeTablesOnCreation()
        Description copied from interface: AuxiliaryDatabaseObject
        Defines a simple precedence. Should creation of this auxiliary object happen before creation of tables? If true, the auxiliary object creation will happen after any explicit schema creations but before table/sequence creations; if false, the auxiliary object creation will happen after explicit schema creations and after table/sequence creations. This precedence is automatically inverted for dropping.
        Specified by:
        beforeTablesOnCreation in interface AuxiliaryDatabaseObject
        Returns:
        true indicates this object should be created before tables; false indicates it should be created after.