| Modifier and Type | Class and Description |
|---|---|
| private static record |
| Modifier and Type | Field and Description |
|---|---|
| private final DSLContext | |
| private final Meta | |
| private final List |
| Access | Constructor and Description |
|---|---|
| private | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final Version | apply(String newId, Query... migration)
Implements org. |
| public final Version | apply(String newId, Collection<? extends Query> migration)
Implements org. |
| public final Version | apply(String newId, String migration)
Implements org. |
| public final Version | apply(String newId, Queries migration)
Implements org. |
| public final Version | commit(String newId, String... newMeta)
Implements org. Meta representation to the version graph.
|
| public final Version | commit(String newId, Source... newMeta)
Implements org. Meta representation to the version graph.
|
| public final Version | commit(String newId, Meta newMeta)
Implements org. Meta representation to the version graph.
|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| private final boolean | |
| public int | |
| private static final Meta | |
| public final Version | |
| public final Meta | |
| public final Queries | migrateTo(Version version)
Implements org. |
| private final Queries | |
| public final List | |
| private final VersionImpl | |
| public String | |
| private static List |
| ctx | back to summary |
|---|---|
| private final DSLContext ctx | |
| meta | back to summary |
|---|---|
| private final Meta meta | |
| parents | back to summary |
|---|---|
| private final List<VersionImpl. | |
| VersionImpl | back to summary |
|---|---|
| private VersionImpl(DSLContext ctx, String id, Meta meta, List<VersionImpl. | |
| VersionImpl | back to summary |
|---|---|
| pack-priv VersionImpl(DSLContext ctx, String id, Meta meta, Version parent, Queries queries) | |
| VersionImpl | back to summary |
|---|---|
| pack-priv VersionImpl(DSLContext ctx, String id, Meta meta, Version[] parents) | |
| apply | back to summary |
|---|---|
| public final Version apply(String newId, Query... migration) Implements org. Doc from org. Apply a migration to produce a new version.
| |
| apply | back to summary |
|---|---|
| public final Version apply(String newId, Collection<? extends Query> migration) Implements org. Doc from org. Apply a migration to produce a new version.
| |
| apply | back to summary |
|---|---|
| public final Version apply(String newId, String migration) Implements org. Doc from org. Apply a migration to produce a new version.
| |
| apply | back to summary |
|---|---|
| public final Version apply(String newId, Queries migration) Implements org. Doc from org. Apply a migration to produce a new version.
| |
| commit | back to summary |
|---|---|
| public final Version commit(String newId, String... newMeta) Implements org. Doc from org. Commit a new
| |
| commit | back to summary |
|---|---|
| public final Version commit(String newId, Source... newMeta) Implements org. Doc from org. Commit a new
| |
| commit | back to summary |
|---|---|
| public final Version commit(String newId, Meta newMeta) Implements org. Doc from org. Commit a new
This calculates a migration path using
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| forceApply | back to summary |
|---|---|
| private final boolean forceApply() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| init | back to summary |
|---|---|
| private static final Meta init(DSLContext ctx) | |
| merge | back to summary |
|---|---|
| public final Version merge(String newId, Version with) Implements org. Doc from org. Merge versions.
| |
| meta | back to summary |
|---|---|
| public final Meta meta() Implements org. Doc from org. The version's
| |
| migrateTo | back to summary |
|---|---|
| public final Queries migrateTo(Version version) Implements org. Doc from org. Produce a migration to a new version.
In jOOQ's commercial distributions, this method allows for migrating
between versions in any direction, regardless of which version was
"first" in a version graph, or if the two versions are on different
branches. The resulting queries are potentially destructive in such a
case. Such destructive queries ("UNDO" migrations) are prevented by
default, and can be turned on using
In jOOQ's Open Source Edition, this method only allows for migrating "forward".
| |
| migrateTo | back to summary |
|---|---|
| private final Queries migrateTo(VersionImpl target, Queries result) | |
| parents | back to summary |
|---|---|
| public final List Implements org. Doc from org. The parents of this node.
| |
| subgraphTo | back to summary |
|---|---|
| private final VersionImpl subgraphTo(VersionImpl ancestor) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| wrap | back to summary |
|---|---|
| private static List | |
| Modifier and Type | Field and Description |
|---|---|
| private final Queries | |
| private final VersionImpl |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object
the reference object with which to compare. o)Implements abstract java. |
| public final int | |
| public Queries | |
| public String | toString()
Implements abstract java. |
| public VersionImpl |
| queries | back to summary |
|---|---|
| private final Queries queries Record Component accessed by queries(). | |
| version | back to summary |
|---|---|
| private final VersionImpl version Record Component accessed by version(). | |
| Parent | back to summary |
|---|---|
| private Parent(VersionImpl version, Queries queries) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of
| |
| queries | back to summary |
|---|---|
| public Queries queries() Record Component getter of queries. | |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| version | back to summary |
|---|---|
| public VersionImpl version() Record Component getter of version. | |