Class SimpleAuxiliaryDatabaseObject

    • Constructor Detail

      • SimpleAuxiliaryDatabaseObject

        public SimpleAuxiliaryDatabaseObject​(Namespace namespace,
                                             java.lang.String createString,
                                             java.lang.String dropString,
                                             java.util.Set<java.lang.String> dialectScopes)
      • SimpleAuxiliaryDatabaseObject

        public SimpleAuxiliaryDatabaseObject​(Namespace namespace,
                                             java.lang.String[] createStrings,
                                             java.lang.String[] dropStrings,
                                             java.util.Set<java.lang.String> dialectScopes)
      • SimpleAuxiliaryDatabaseObject

        public SimpleAuxiliaryDatabaseObject​(java.util.Set<java.lang.String> dialectScopes,
                                             java.lang.String catalogName,
                                             java.lang.String schemaName,
                                             java.lang.String[] createStrings,
                                             java.lang.String[] dropStrings)
    • Method Detail

      • sqlCreateStrings

        @Deprecated
        public java.lang.String[] sqlCreateStrings​(Dialect dialect)
        Deprecated.
        Description copied from interface: AuxiliaryDatabaseObject
        Gets the SQL strings for creating the database object.
        Parameters:
        dialect - The dialect for which to generate the SQL creation strings
        Returns:
        the SQL strings for creating the database object.
      • sqlCreateStrings

        public java.lang.String[] sqlCreateStrings​(SqlStringGenerationContext context)
        Description copied from interface: AuxiliaryDatabaseObject
        Gets the SQL strings for creating the database object.
        Parameters:
        context - A context to help generate the SQL creation strings
        Returns:
        the SQL strings for creating the database object.
      • sqlDropStrings

        @Deprecated
        public java.lang.String[] sqlDropStrings​(Dialect dialect)
        Deprecated.
        Description copied from interface: AuxiliaryDatabaseObject
        Gets the SQL strings for dropping the database object.
        Parameters:
        dialect - The dialect for which to generate the SQL drop strings
        Returns:
        the SQL strings for dropping the database object.
      • sqlDropStrings

        public java.lang.String[] sqlDropStrings​(SqlStringGenerationContext context)
        Description copied from interface: AuxiliaryDatabaseObject
        Gets the SQL strings for dropping the database object.
        Parameters:
        context - A context to help generate the SQL drop strings
        Returns:
        the SQL strings for dropping the database object.
      • getCatalogName

        protected java.lang.String getCatalogName()
      • getSchemaName

        protected java.lang.String getSchemaName()