Class UniqueKey

    • Constructor Detail

      • UniqueKey

        public UniqueKey()
    • Method Detail

      • sqlConstraintString

        public java.lang.String sqlConstraintString​(Dialect dialect,
                                                    java.lang.String constraintName,
                                                    java.lang.String defaultCatalog,
                                                    java.lang.String defaultSchema)
        Specified by:
        sqlConstraintString in class Constraint
      • addColumn

        public void addColumn​(Column column,
                              java.lang.String order)
      • getColumnOrderMap

        public java.util.Map<Column,​java.lang.String> getColumnOrderMap()
      • generatedConstraintNamePrefix

        public java.lang.String generatedConstraintNamePrefix()
        Specified by:
        generatedConstraintNamePrefix in class Constraint
        String The prefix to use in generated constraint names. Examples: "UK_", "FK_", and "PK_".
      • 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.
        The exporting identifier.