Class TableDependency


  • public class TableDependency
    extends java.lang.Object
    Utility class will arrange tables in the creation order.
    • Constructor Detail

      • TableDependency

        public TableDependency​(EntityIterable entities,
                               boolean useInlineForeignKeys)
      • TableDependency

        public TableDependency​(java.util.List<Table> tables,
                               boolean useInlineForeignKeys)
      • TableDependency

        public TableDependency​(java.util.List<Table> tables,
                               boolean useInlineForeignKeys,
                               boolean considerVirtualFks)
    • Method Detail

      • getTablesInCreationOrder

        public java.util.List<Table> getTablesInCreationOrder()
      • getTablesInCyclicLoop

        public java.util.List<Table> getTablesInCyclicLoop()
      • getInlineForeignKeys

        public java.util.List<ForeignKey> getInlineForeignKeys()
      • compareCreateIndex

        public int compareCreateIndex​(Table table1,
                                      Table table2)
      • getForeignKeyToExcludeForSolvingCyclicForeignKeys

        public ForeignKey getForeignKeyToExcludeForSolvingCyclicForeignKeys()