Class CollationMismatchProblem


  • public final class CollationMismatchProblem
    extends Object
    A found problem with collation in the database.

    This class is just an immutable data object; it does nothing.

    Since:
    8.1
    Author:
    Leonid Bushuev from JetBrains
    See Also:
    CollationVerifier
    • Constructor Detail

      • CollationMismatchProblem

        public CollationMismatchProblem​(@NotNull
                                        DatabaseType databaseType,
                                        @NotNull
                                        String databaseCollation,
                                        @NotNull
                                        Map<String,​String> wrongColumns)
    • Method Detail

      • isMySQL

        public boolean isMySQL()
      • getDatabaseCollation

        @NotNull
        public String getDatabaseCollation()
      • getWrongColumns

        @NotNull
        public com.google.common.collect.ImmutableMap<String,​String> getWrongColumns()
      • getWrongColumnsCount

        public int getWrongColumnsCount()
      • getAsText

        public String getAsText()