Class IndexMigrator.Result

  • Enclosing class:
    IndexMigrator

    public static class IndexMigrator.Result
    extends java.lang.Object
    Migration result.
    • Constructor Summary

      Constructors 
      Constructor Description
      Result​(java.lang.String dropSql, java.lang.String createSql)
      Creates the migration result.
    • Constructor Detail

      • Result

        public Result​(java.lang.String dropSql,
                      java.lang.String createSql)
        Creates the migration result.
        Parameters:
        dropSql - the sql code to drop indexes
        createSql - the sql code to create indexes
    • Method Detail

      • getDropSql

        public java.lang.String getDropSql()
        Gets the sql code to drop indexex.
        Returns:
        the sql code, empty string if nothing to migrate
      • getCreateSql

        public java.lang.String getCreateSql()
        Gets the sql code to create indexes.
        Returns:
        the sql code, empty string if nothing to migrate