MCPcopy Index your code
hub / github.com/jOOQ/jOOQ / migrateTo

Method migrateTo

jOOQ/src/main/java/org/jooq/impl/VersionImpl.java:154–170  ·  view source on GitHub ↗
(Version version)

Source from the content-addressed store, hash-verified

152 }
153
154 @Override
155 public final Queries migrateTo(Version version) {
156 if (equals(version))
157 return ctx.queries();
158
159 VersionImpl subgraph = ((VersionImpl) version).subgraphTo(this);
160
161 if (subgraph == null)
162
163
164
165
166
167 throw new DataDefinitionException("No forward path available between versions " + id() + " and " + version.id() + ". Use Settings.migrationAllowsUndo to enable this feature.");
168
169 return migrateTo(subgraph, ctx.queries());
170 }
171
172 private final VersionImpl subgraphTo(VersionImpl ancestor) {
173 List<Parent> list = null;

Callers

nothing calls this directly

Calls 9

equalsMethod · 0.95
metaMethod · 0.95
subgraphToMethod · 0.80
forceApplyMethod · 0.80
queriesMethod · 0.65
idMethod · 0.65
migrateToMethod · 0.65
metaMethod · 0.65
concatMethod · 0.65

Tested by

no test coverage detected