Module org.jooq
Package org.jooq.impl

Class DefaultCommitProvider

java.lang.Object
org.jooq.impl.DefaultCommitProvider
All Implemented Interfaces:
CommitProvider

@Internal public class DefaultCommitProvider extends Object implements CommitProvider
A default implementation of the CommitProvider SPI, which provides a materialisation of the currently available database version graph.

It is based

Author:
Lukas Eder
  • Constructor Details

  • Method Details

    • provide

      public Commits provide()
      Description copied from interface: CommitProvider
      Provide a set of commits relevant to a migration.

      This can include the entire set of known versions, or a subset thereof. There is no requirement to provide a fully connected graph, although Version.migrateTo(Version) and other operations are undefined if two versions do not have a common ancestor.

      Specified by:
      provide in interface CommitProvider